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
When executing a filter via the java client, the top-level filters are combined into a single and-filter. This concatenation causes the resulting query to lose the special enigne parsing logic afforded to these top-level filters.
For example, when trying to execute
table.where("Sym in `WM`, `XOM`", "Size > 1")
via the java client, it currently gets mushed into the single query string
((Sym in `WM`, `XOM`) && (Size > 1))
(which is also not a valid engine string), resulting in:
Exception message : Invalid expression ((Sym in "WM", "XOM") && (Size > 1)): [Encountered unexpected token: "\"WM\"" <STRING_LITERAL>
at line 1, column 10.
Was expecting one of:
")"
","
"@"
"["
Problem stacktrace :
com.github.javaparser.GeneratedJavaParser.generateParseException(GeneratedJavaParser.java:13708)
...
com.github.javaparser.JavaParser.parse(JavaParser.java:123)
io.deephaven.engine.table.impl.lang.JavaExpressionParser.parseExpression(JavaExpressionParser.java:27)
io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:265)
io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:224)
io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:198)
io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:133)
io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:68)
io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:110)
io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:59)
io.deephaven.engine.table.impl.QueryTable.validateSelect(QueryTable.java:1441)
io.deephaven.server.table.validation.ColumnExpressionValidator.validateColumnExpressions(ColumnExpressionValidator.java:102)
io.deephaven.server.table.validation.ColumnExpressionValidator.validateSelectFilters(ColumnExpressionValidator.java:91)
io.deephaven.server.table.ops.UnstructuredFilterTableGrpcImpl.create(UnstructuredFilterTableGrpcImpl.java:37)
The text was updated successfully, but these errors were encountered:
When executing a filter via the java client, the top-level filters are combined into a single and-filter. This concatenation causes the resulting query to lose the special enigne parsing logic afforded to these top-level filters.
For example, when trying to execute
via the java client, it currently gets mushed into the single query string
(which is also not a valid engine string), resulting in:
The text was updated successfully, but these errors were encountered: