Skip to content

Commit

Permalink
port the numba integration prototype from Enterprise to OSS, fixes fe…
Browse files Browse the repository at this point in the history
…ature-523 (#638)

* port the numba integration prototype from Enterprise to OSS, WIP, fixes feature-523

* changes to make python unittest happy

* restore important javadoc comments to the <type>Chunk.java files, fixes #523
  • Loading branch information
jmao-denver authored May 24, 2021
1 parent d236704 commit 5c1da97
Show file tree
Hide file tree
Showing 47 changed files with 1,409 additions and 1,413 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,10 @@ public void testComparison() {

@Test
public void testLoadNumpyTwice() {
Assert.assertNotNull(PyModule.importModule("numba"));
Assert.assertNotNull(PyModule.importModule("deephaven/numba"));
Assert.assertNotNull(PyModule.importModule("numpy"));
Assert.assertNotNull(PyModule.importModule("deephaven.lang.vectorize_simple"));
Assert.assertNotNull(PyModule.importModule("numba"));
Assert.assertNotNull(PyModule.importModule("deephaven/numba"));
Assert.assertNotNull(PyModule.importModule("numpy"));
Assert.assertNotNull(PyModule.importModule("deephaven.lang.vectorize_simple"));
}
Expand Down Expand Up @@ -440,10 +440,4 @@ private Index initCheck(String expression, FormulaParserConfiguration parser) {
return conditionFilter.filter(testDataTable.getIndex().clone(), testDataTable.getIndex(), testDataTable, false);
}

private Index initV3PythonCheck(String expression) {
PythonVectorFilter conditionFilter = new PythonVectorFilter(expression.replaceAll(" = ", " == "));
conditionFilter.init(testDataTable.getDefinition());
return conditionFilter.filter(testDataTable.getIndex().clone(), testDataTable.getIndex(), testDataTable, false);
}

}
278 changes: 0 additions & 278 deletions DB-test/src/test/java/io/deephaven/db/v2/select/TestNumbaFormula.java

This file was deleted.

57 changes: 0 additions & 57 deletions DB-test/src/test/java/io/deephaven/python/ASTHelperTest.java

This file was deleted.

Loading

0 comments on commit 5c1da97

Please sign in to comment.