dynamobi/dynamobi — Issue #614: [FRG-258] LURQL can't handle recursion inside of exists inside of recursion
Author: dynamobi-build
Created: 2011-12-30 03:38:42+00:00
State: open
Labels: FRG, LURQL

[reporter="jvs", created="Mon, 5 Mar 2007 01:34:11 -0500 (GMT-05:00)"]
select *

from class ColumnSet where name='EVENTS' then (

recursively (

follow origin end client then (

follow destination end supplier destination class ColumnSet

where exists x in (

recursively (

follow origin end client then (

follow destination end supplier

)

) then (

follow origin end client then (

follow destination end supplier

destination class ColumnSet as x

where name='CUSTOMERS'

)

)

)

)

)

) gather with parent then (

follow composite backward destination class LocalSchema

);

gives

Caused by: java.lang.AssertionError

at com.lucidera.lurql.LurqlReflectiveExecutor.executeRecursion(LurqlReflectiveExecutor.java:186)

at com.lucidera.lurql.LurqlReflectiveExecutor.executeGraph(LurqlReflectiveExecutor.java:137)

at com.lucidera.lurql.LurqlReflectiveExecutor.execute(LurqlReflectiveExecutor.java:111)

at com.lucidera.lurql.LurqlQueryProcessor$PreparedQuery.execute(LurqlQueryProcessor.java:124)