From ddd848c0188c78fe01c87f5fc958a2fd2d627a8d Mon Sep 17 00:00:00 2001 From: "Charles P. Wright" Date: Wed, 8 Jan 2025 13:48:53 -0500 Subject: [PATCH 1/2] DH-18364: Add Property to Disable Core DataIndex --- .../io/deephaven/engine/table/impl/QueryTable.java | 10 +++++++++- .../engine/table/impl/select/MatchFilter.java | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java index acb8e764e29..e329a85685e 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java @@ -196,6 +196,14 @@ public interface MemoizableOperation {}; + } try (final SafeCloseable ignored = sourceTable.isRefreshing() ? LivenessScopeStack.open() : null) { dataIndex = DataIndexer.getDataIndex(sourceTable, columnName); if (dataIndex != null && dataIndex.isRefreshing()) { From 63bda6382db47aed689a8bea3c8b53d98b0f45a8 Mon Sep 17 00:00:00 2001 From: "Charles P. Wright" Date: Wed, 8 Jan 2025 15:46:50 -0500 Subject: [PATCH 2/2] spotless --- .../main/java/io/deephaven/engine/table/impl/QueryTable.java | 2 +- .../io/deephaven/engine/table/impl/select/MatchFilter.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java b/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java index e329a85685e..a431891f94d 100644 --- a/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java +++ b/engine/table/src/main/java/io/deephaven/engine/table/impl/QueryTable.java @@ -198,7 +198,7 @@ public interface MemoizableOperation {}; + return () -> { + }; } try (final SafeCloseable ignored = sourceTable.isRefreshing() ? LivenessScopeStack.open() : null) { dataIndex = DataIndexer.getDataIndex(sourceTable, columnName);