Skip to content

Commit 8cffeac

Browse files
committed
AP-23494: Force recompile due to Arrow class-to-interface change
AP-23494 (Use heap instead of off-heap memory in columnar backend)
1 parent 3f8c2d9 commit 8cffeac

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

org.knime.python3.arrow/src/main/java/org/knime/python3/arrow/PythonArrowDataSourceFactory.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,9 @@ private static PythonArrowDataSource convertStoreIntoSource(final ColumnarBatchR
211211
((Flushable)columnarStore).flush();
212212
}
213213
final var baseStore = columnarStore.getDelegateBatchReadStore();
214-
if (baseStore instanceof ArrowBatchReadStore) {
215-
final ArrowBatchReadStore store = (ArrowBatchReadStore)baseStore;
214+
if (baseStore instanceof ArrowBatchReadStore store) {
216215
return PythonArrowDataUtils.createSource(store, columnNames);
217-
} else if (baseStore instanceof ArrowBatchStore) {
218-
final ArrowBatchStore store = (ArrowBatchStore)baseStore;
216+
} else if (baseStore instanceof ArrowBatchStore store) {
219217
return PythonArrowDataUtils.createSource(store, store.numBatches(), columnNames);
220218
} else {
221219
// Any non-Arrow store should already have been copied into an Arrow store further above.

0 commit comments

Comments
 (0)