You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT DISTINCTTABLE1.COL1AAS"COL1A",
TABLE1.COL1BAS"COL1B",
TABLE2.COL2AAS"COL2A",
TABLE3.COL3AAS"COL3A"FROMSCHEMA1.TABLE1inner joinSCHEMA1.TABLE2onTABLE1.COL1A=TABLE2.COL2Ainner joinSCHEMA1.TABLE3onTABLE2.COL2B=TABLE3.COL3AWHERE (1=1)
ANDTABLE3.COL3A='VAL'GROUP BYTABLE1.COL1A, TABLE1.COL1B, TABLE2.COL2A, TABLE3.COL3AHAVINGTABLE2.COL2A=
(SELECTMAX(T3.COL3A) AS MM FROM TABLE3 AS T3
inner join TABLE1 as t1 ont1.COL1A=T3.COL3Ainner join TABLE2 as t2 ont2.COL2B=t1.COL1BWHEREt1.COL1A=TABLE1.COL1A)
ORDER BY"COL1A"asc;
java.lang.NullPointerException
at ca.nrc.cadc.tap.parser.navigator.FromItemNavigator.visit(FromItemNavigator.java:120)
at ca.nrc.cadc.tap.parser.navigator.ExpressionNavigator.visit(ExpressionNavigator.java:446)
at net.sf.jsqlparser.statement.select.SubSelect.accept(SubSelect.java:51)
at ca.nrc.cadc.tap.parser.navigator.ExpressionNavigator.visit(ExpressionNavigator.java:340)
at net.sf.jsqlparser.expression.operators.relational.EqualsTo.accept(EqualsTo.java:30)
at ca.nrc.cadc.tap.parser.navigator.SelectNavigator.visit(SelectNavigator.java:201)
at net.sf.jsqlparser.statement.select.PlainSelect.accept(PlainSelect.java:105)
at ca.nrc.cadc.tap.parser.StatementNavigator.visit(StatementNavigator.java:105)
at net.sf.jsqlparser.statement.select.Select.accept(Select.java:36)
at ca.nrc.cadc.tap.parser.ParserUtil.parseStatement(ParserUtil.java:118)
at ca.nrc.cadc.tap.AbstractTapQuery.navigateStatement(AbstractTapQuery.java:154)
at ca.nrc.cadc.tap.SqlQuery.doNavigate(SqlQuery.java:164)
The text was updated successfully, but these errors were encountered:
The stack trace is below. The sample query is:
The text was updated successfully, but these errors were encountered: