Caused by: org.apache.calcite.sql.parser.impl.ParseException: Encountered "cube" at line 117, column 42.
Was expecting one of:
"ABS" ...
"ARRAY" ...
"AVG" ...
"CARDINALITY" ...
"CASE" ...
"CAST" ...
"CEIL" ...
...
<UNICODE_QUOTED_IDENTIFIER> ...
at org.apache.calcite.sql.parser.impl.SqlParserImpl.generateParseException(SqlParserImpl.java:31029) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.jj_consume_token(SqlParserImpl.java:30846) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.SelectExpression(SqlParserImpl.java:7675) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.SelectItem(SqlParserImpl.java:6900) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.SelectList(SqlParserImpl.java:6887) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.SqlSelect(SqlParserImpl.java:3649) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.LeafQuery(SqlParserImpl.java:590) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.LeafQueryOrExpr(SqlParserImpl.java:13201) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.QueryOrExpr(SqlParserImpl.java:12678) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.OrderedQueryOrExpr(SqlParserImpl.java:464) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.SqlStmt(SqlParserImpl.java:3557) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.SqlStmtEof(SqlParserImpl.java:3595) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.impl.SqlParserImpl.parseSqlStmtEof(SqlParserImpl.java:194) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.SqlParser.parseQuery(SqlParser.java:160) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.sql.parser.SqlParser.parseStmt(SqlParser.java:187) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.prepare.PlannerImpl.parse(PlannerImpl.java:201) ~[calcite-core-1.21.0.jar:1.21.0]
at org.apache.calcite.tools.Planner.parse(Planner.java:50) ~[calcite-core-1.21.0.jar:1.21.0]
at com.complexible.stardog.virtual.vega.calcite.RelSqlParser.parseToRelNode(RelSqlParser.java:33) ~[stardog-virtual-core-7.3.2.jar:?]
at com.complexible.stardog.virtual.vega.rdbms.RdbmsMappings.lambda$parseOrGenerateMappings$1(RdbmsMappings.java:90) ~[stardog-virtual-core-7.3.2.jar:?]
at com.complexible.stardog.virtual.vega.rdbms.RdbmsMappings.buildTriplesMapsFromSms2Mapping(RdbmsMappings.java:190) ~[stardog-virtual-core-7.3.2.jar:?]
... 26 more