Check arg type against Py UDF signature at query compile time #13560
Triggered via pull request
March 15, 2024 16:52
jmao-denver
synchronize
#5254
Status
Success
Total duration
19s
Artifacts
–
Annotations
14 errors and 2 warnings
tests/test_udf_numpy_args.py.test_np_typehints_mismatch:
tests/test_udf_numpy_args/UDFNumpyTest#L1
Regex didn't match: 'f: Expect' not found in 'table update operation failed. : java.lang.RuntimeException: Error in Python interpreter:\nTraceback (most recent call last):\n File "/python/deephaven/table.py", line 764, in update\n return Table(j_table=self.j_table.update(*formulas))\nRuntimeError: io.deephaven.engine.exceptions.TableInitializationException: Error while initializing Update([X, Y]): an exception occurred while performing the initial select or update\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1476)\n\tat io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)\n\tat io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)\n\tat io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)\n\tat io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)\ncaused by java.lang.RuntimeException: Error in Python interpreter:\nType: <class \'TypeError\'>\nValue: Argument \'x\': 0 is not compatible with annotation {<class \'float\'>}\nLine: 352\nNamespace: _convert_arg\nFile: /python/deephaven/_udf.py\nTraceback (most recent call last):\n File "/python/deephaven/_udf.py", line 456, in wrapper\n File "/python/deephaven/_udf.py", line 367, in _convert_args\n File "/python/deephaven/_udf.py", line 367, in <listcomp>\n File "/python/deephaven/_udf.py", line 352, in _convert_arg\n\n\tat org.jpy.PyLib.callAndReturnValue(Native Method)\n\tat org.jpy.PyObject.call(PyObject.java:474)\n\tat io.deephaven.engine.table.impl.select.python.FormulaKernelPythonChunkedFunction.applyFormulaChunk(FormulaKernelPythonChunkedFunction.java:147)\n\tat io.deephaven.engine.table.impl.select.FormulaKernelTypedBase$ToTypedMethod.visit(FormulaKernelTypedBase.java:174)\n\tat io.deephaven.chunk.ObjectChunk.walk(ObjectChunk.java:129)\n\tat io.deephaven.engine.table.impl.select.FormulaKernelTypedBase.applyFormulaChunk(FormulaKernelTypedBase.java:42)\n\tat io.deephaven.engine.table.impl.select.formula.FormulaKernelAdapter.fillChunkHelper(FormulaKernelAdapter.java:299)\n\tat io.deephaven.engine.table.impl.select.formula.FormulaKernelAdapter.fillChunk(FormulaKernelAdapter.java:229)\n\tat io.deephaven.engine.table.impl.select.Formula.getChunk(Formula.java:161)\n\tat io.deephaven.engine.table.impl.sources.ViewColumnSource.getChunk(ViewColumnSource.java:204)\n\tat io.deephaven.engine.table.impl.sources.BooleanAsByteColumnSource.fillChunk(BooleanAsByteColumnSource.java:80)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectColumnLayer.doApplyUpdate(SelectColumnLayer.java:412)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectColumnLayer.lambda$doSerialApplyUpdate$2(SelectColumnLayer.java:264)\n\tat io.deephaven.engine.util.systemicmarking.SystemicObjectTracker.executeSystemically(SystemicObjectTracker.java:56)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectColumnLayer.doSerialApplyUpdate(SelectColumnLayer.java:263)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectColumnLayer$1.lambda$onAllRequiredColumnsCompleted$1(SelectColumnLayer.java:212)\n\tat io.deephaven.engine.table.impl.util.ImmediateJobScheduler.lambda$submit$0(ImmediateJobScheduler.java:40)\n\tat io.deephaven.engine.table.impl.util.ImmediateJobScheduler.submit(ImmediateJobScheduler.java:54)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectColumnLayer$1.onAllRequiredColumnsCompleted(SelectColumnLayer.java:210)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer$SelectLayerCompletionHandler.onLayerCompleted(SelectAndViewAnalyzer.java:627)\n\tat io.deephaven.engine.table.impl.select.analyzers.BaseLayer.applyUpdate(BaseLayer.java:76)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectColumnLayer.applyUpdate(SelectColumnLayer.java:151)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectColumnLayer.applyUpdate(SelectColumnLayer.java:151)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1463)\n\t... 7 more\n\n'
|
tests/test_udf_numpy_args.py.test_str_bool_datetime_array [boolean]:
tests/test_udf_numpy_args/UDFNumpyTest#L1
Regex didn't match: 'Java .* array contains Deephaven null values, but numpy .* array does not support ' not found in 'table update operation failed. : f3\nTraceback (most recent call last):\n File "/python/deephaven/table.py", line 764, in update\n return Table(j_table=self.j_table.update(*formulas))\nRuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f3(Y)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)\n\tat io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)\n\tat io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)\n\tat io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)\n\tat io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)\n\tat io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)\ncaused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException: \n\nHaving trouble with the following expression:\nFull expression : f3(Y)\nExpression having trouble : f3.call((java.lang.Object) VectorConversions.nullSafeVectorToArray(Y))\nException type : java.lang.IllegalArgumentException\nException message : f3: Expected 2 arguments, got 1\n\n\tat io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)\n\tat io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)\n\t... 11 more\n\n'
|
tests/test_udf_numpy_args.py.test_str_bool_datetime_scalar [str]:
tests/test_udf_numpy_args/UDFNumpyTest#L1
Regex didn't match: "Argument 'p1': None is not compatible with annotation" not found in 'table update operation failed. : f1\nTraceback (most recent call last):\n File "/python/deephaven/table.py", line 764, in update\n return Table(j_table=self.j_table.update(*formulas))\nRuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f1(Y)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)\n\tat io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)\n\tat io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)\n\tat io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)\n\tat io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)\n\tat io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)\ncaused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException: \n\nHaving trouble with the following expression:\nFull expression : f1(Y)\nExpression having trouble : f1.call(Y)\nException type : java.lang.IllegalArgumentException\nException message : f1: Expected 2 arguments, got 1\n\n\tat io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)\n\tat io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)\n\t... 11 more\n\n'
|
tests/test_udf_numpy_args.py.test_str_bool_datetime_scalar [datetime]:
tests/test_udf_numpy_args/UDFNumpyTest#L1
Regex didn't match: "Argument 'p1': None is not compatible with annotation" not found in 'table update operation failed. : f2\nTraceback (most recent call last):\n File "/python/deephaven/table.py", line 764, in update\n return Table(j_table=self.j_table.update(*formulas))\nRuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f2(Y)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)\n\tat io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)\n\tat io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)\n\tat io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)\n\tat io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)\n\tat io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)\ncaused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException: \n\nHaving trouble with the following expression:\nFull expression : f2(Y)\nExpression having trouble : f2.call(Y)\nException type : java.lang.IllegalArgumentException\nException message : f2: Expected 2 arguments, got 1\n\n\tat io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)\n\tat io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)\n\t... 11 more\n\n'
|
tests/test_udf_numpy_args.py.test_str_bool_datetime_scalar [boolean]:
tests/test_udf_numpy_args/UDFNumpyTest#L1
Regex didn't match: "Argument 'p1': None is not compatible with annotation" not found in 'table update operation failed. : f3\nTraceback (most recent call last):\n File "/python/deephaven/table.py", line 764, in update\n return Table(j_table=self.j_table.update(*formulas))\nRuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f3(Y)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)\n\tat io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)\n\tat io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)\n\tat io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)\n\tat io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)\n\tat io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)\ncaused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException: \n\nHaving trouble with the following expression:\nFull expression : f3(Y)\nExpression having trouble : f3.call(Y)\nException type : java.lang.IllegalArgumentException\nException message : f3: Expected 2 arguments, got 1\n\n\tat io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)\n\tat io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)\n\t... 11 more\n\n'
|
tests/test_udf_numpy_args.py.test_non_np_typehints [np.int16]:
tests/test_udf_numpy_args/UDFNumpyTest#L1
table update operation failed. : f
Traceback (most recent call last):
File "/python/deephaven/table.py", line 764, in update
return Table(j_table=self.j_table.update(*formulas))
RuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f(X)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)
at io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)
at io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)
at io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)
at io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)
at io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)
caused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException:
Having trouble with the following expression:
Full expression : f(X)
Expression having trouble : f.call(X)
Exception type : java.lang.IllegalArgumentException
Exception message : f: Expected argument (x) to be one of [short], got int
at io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:276)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)
at io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
... 11 more
|
tests/test_udf_numpy_args.py.test_non_np_typehints [np.int8]:
tests/test_udf_numpy_args/UDFNumpyTest#L1
table update operation failed. : f
Traceback (most recent call last):
File "/python/deephaven/table.py", line 764, in update
return Table(j_table=self.j_table.update(*formulas))
RuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f(X)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)
at io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)
at io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)
at io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)
at io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)
at io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)
caused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException:
Having trouble with the following expression:
Full expression : f(X)
Expression having trouble : f.call(X)
Exception type : java.lang.IllegalArgumentException
Exception message : f: Expected argument (x) to be one of [byte], got int
at io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:276)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)
at io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
... 11 more
|
tests/test_udf_numpy_args.py.test_str_bool_datetime_array [str]:
tests/test_udf_numpy_args/UDFNumpyTest#L1
table update operation failed. : f1
Traceback (most recent call last):
File "/python/deephaven/table.py", line 764, in update
return Table(j_table=self.j_table.update(*formulas))
RuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f1(Y)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)
at io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)
at io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)
at io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)
at io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)
at io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)
caused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException:
Having trouble with the following expression:
Full expression : f1(Y)
Expression having trouble : f1.call((java.lang.Object) VectorConversions.nullSafeVectorToArray(Y))
Exception type : java.lang.IllegalArgumentException
Exception message : f1: Expected 2 arguments, got 1
at io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)
at io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
... 11 more
|
tests/test_udf_numpy_args.py.test_str_bool_datetime_array [datetime]:
tests/test_udf_numpy_args/UDFNumpyTest#L1
table update operation failed. : f2
Traceback (most recent call last):
File "/python/deephaven/table.py", line 764, in update
return Table(j_table=self.j_table.update(*formulas))
RuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f2(Y)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)
at io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)
at io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)
at io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)
at io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)
at io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)
caused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException:
Having trouble with the following expression:
Full expression : f2(Y)
Expression having trouble : f2.call((java.lang.Object) VectorConversions.nullSafeVectorToArray(Y))
Exception type : java.lang.IllegalArgumentException
Exception message : f2: Expected 2 arguments, got 1
at io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)
at io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
... 11 more
|
tests/test_udf_numpy_args.py.test_weird_cases:
tests/test_udf_numpy_args/UDFNumpyTest#L1
table update operation failed. : f3
Traceback (most recent call last):
File "/python/deephaven/table.py", line 764, in update
return Table(j_table=self.j_table.update(*formulas))
RuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f3(i)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)
at io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)
at io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)
at io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)
at io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)
at io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)
caused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException:
Having trouble with the following expression:
Full expression : f3(i)
Expression having trouble : f3.call(i)
Exception type : java.lang.IllegalArgumentException
Exception message : f3: Expected 2 arguments, got 1
at io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)
at io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
... 11 more
|
tests/test_vectorization.py.test_vectorization_exceptions [parameter number mismatch]:
tests/test_vectorization/VectorizationTestCase#L1
Regex didn't match: '.*count.*mismatch' not found in 'table update operation failed. : vectorized_func\nTraceback (most recent call last):\n File "/python/deephaven/table.py", line 764, in update\n return Table(j_table=self.j_table.update(*formulas))\nRuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: vectorized_func(i)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)\n\tat io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)\n\tat io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)\n\tat io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)\n\tat io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)\n\tat io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)\n\tat io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)\n\tat io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)\n\tat io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)\ncaused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException: \n\nHaving trouble with the following expression:\nFull expression : vectorized_func(i)\nExpression having trouble : vectorized_func.call(i)\nException type : java.lang.IllegalArgumentException\nException message : vectorized_func: Expected 2 arguments, got 1\n\n\tat io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2420)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)\n\tat com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)\n\tat io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)\n\tat io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)\n\tat io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)\n\t... 11 more\n\n'
|
tests/test_vectorization.py.test_1d_str_bool_datetime_array [boolean]:
tests/test_vectorization/VectorizationTestCase#L1
table update operation failed. : f3
Traceback (most recent call last):
File "/python/deephaven/table.py", line 764, in update
return Table(j_table=self.j_table.update(*formulas))
RuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: f3(Y)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)
at io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)
at io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)
at io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)
at io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)
at io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)
caused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException:
Having trouble with the following expression:
Full expression : f3(Y)
Expression having trouble : f3.call(Y)
Exception type : java.lang.IllegalArgumentException
Exception message : f3: Expected argument (p1) to be one of [class [Z], got class [Ljava.lang.Boolean;
at io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:276)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)
at io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
... 11 more
|
tests/test_vectorization.py.test_optional_annotations:
tests/test_vectorization/VectorizationTestCase#L1
table update operation failed. : pyfunc
Traceback (most recent call last):
File "/python/deephaven/table.py", line 764, in update
return Table(j_table=self.j_table.update(*formulas))
RuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: pyfunc(X, ii, 66)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)
at io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)
at io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)
at io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)
at io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)
at io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)
caused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException:
Having trouble with the following expression:
Full expression : pyfunc(X, ii, 66)
Expression having trouble : pyfunc.call(X, ii, 66)
Exception type : java.lang.IllegalArgumentException
Exception message : pyfunc: Expected argument (p2) to be one of [int], got long
at io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:276)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2410)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)
at io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
... 11 more
|
tests/test_vectorization.py.test_varargs_still_work:
tests/test_vectorization/VectorizationTestCase#L1
table update operation failed. : my_sum
Traceback (most recent call last):
File "/python/deephaven/table.py", line 764, in update
return Table(j_table=self.j_table.update(*formulas))
RuntimeError: io.deephaven.engine.table.impl.select.FormulaCompilationException: Formula compilation error for: my_sum(A,B,C,D)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:214)
at io.deephaven.engine.table.impl.select.SwitchColumn.initDef(SwitchColumn.java:56)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:115)
at io.deephaven.engine.table.impl.select.analyzers.SelectAndViewAnalyzer.create(SelectAndViewAnalyzer.java:63)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$29(QueryTable.java:1431)
at io.deephaven.engine.table.impl.perf.QueryPerformanceRecorder.withNugget(QueryPerformanceRecorder.java:369)
at io.deephaven.engine.table.impl.QueryTable.lambda$selectOrUpdate$30(QueryTable.java:1413)
at io.deephaven.engine.table.impl.QueryTable.memoizeResult(QueryTable.java:3490)
at io.deephaven.engine.table.impl.QueryTable.selectOrUpdate(QueryTable.java:1412)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:1390)
at io.deephaven.engine.table.impl.QueryTable.update(QueryTable.java:95)
at io.deephaven.api.TableOperationsDefaults.update(TableOperationsDefaults.java:94)
caused by io.deephaven.engine.table.impl.lang.QueryLanguageParser$QueryLanguageParseException:
Having trouble with the following expression:
Full expression : my_sum(A,B,C,D)
Expression having trouble : my_sum.call(A, B, C, D)
Exception type : java.lang.IllegalArgumentException
Exception message : my_sum: Expected 1 arguments, got 4
at io.deephaven.engine.util.PyCallableWrapperJpyImpl.verifyArguments(PyCallableWrapperJpyImpl.java:268)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.verifyPyCallableArguments(QueryLanguageParser.java:2528)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2501)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:2420)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.visit(QueryLanguageParser.java:131)
at com.github.javaparser.ast.expr.MethodCallExpr.accept(MethodCallExpr.java:116)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:317)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:262)
at io.deephaven.engine.table.impl.lang.QueryLanguageParser.<init>(QueryLanguageParser.java:230)
at io.deephaven.engine.table.impl.select.codegen.FormulaAnalyzer.getCompiledFormula(FormulaAnalyzer.java:140)
at io.deephaven.engine.table.impl.select.DhFormulaColumn.initDef(DhFormulaColumn.java:194)
... 11 more
|
CLAssistant
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: cla-assistant/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
CLAssistant
The following actions uses node12 which is deprecated and will be forced to run on node16: cla-assistant/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|