dynamobi/dynamobi — Issue #592: [FRG-280] AssertionError while implementing nested rows in VALUES clause
Author: dynamobi-build
Created: 2011-12-30 03:37:22+00:00
State: open
Labels: FRG, Optimization rules

[reporter="jhyde", created="Tue, 10 Jul 2007 17:41:43 -0500 (GMT-05:00)"]
A query containing a row nested within a row gives an AssertionError. For example, the query

VALUES ((1, 2), (3, 4))

gives

java.lang.AssertionError

at org.eigenbase.oj.stmt.OJPreparingStmt.implement(OJPreparingStmt.java:456)

at org.eigenbase.oj.stmt.OJPreparingStmt.prepareSql(OJPreparingStmt.java:334)

at net.sf.farrago.query.FarragoPreparingStmt.prepare(FarragoPreparingStmt.java:297)

at net.sf.farrago.db.FarragoDatabase$2.initializeEntry(FarragoDatabase.java:878)

at net.sf.farrago.util.FarragoObjectCache.pin(FarragoObjectCache.java:162)

at net.sf.farrago.db.FarragoDatabase.prepareStmtImpl(FarragoDatabase.java:896)

at net.sf.farrago.db.FarragoDatabase.prepareStmt(FarragoDatabase.java:754)

at net.sf.farrago.db.FarragoDbSession.prepareImpl(FarragoDbSession.java:1018)

at net.sf.farrago.db.FarragoDbSession.prepare(FarragoDbSession.java:945)

at net.sf.farrago.db.FarragoDbStmtContext.prepare(FarragoDbStmtContext.java:115)

at net.sf.farrago.jdbc.engine.FarragoJdbcEngineStatement.execute(FarragoJdbcEngineStatement.java:113)

at sqlline.SqlLine$Commands.execute(Unknown Source)

at sqlline.SqlLine$Commands.sql(Unknown Source)

at sqlline.SqlLine.dispatch(Unknown Source)

at sqlline.SqlLine.begin(Unknown Source)

at sqlline.SqlLine.mainWithInputRedirection(Unknown Source)

at sqlline.SqlLine.main(Unknown Source)