-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix null partition filter (#1954)
Closes #1867 Tested in Enterprise using steps from DH-16595 - created a partitioned table and set ACL to `nullFilterGenerator()` to get the `null` value in the partition column. Creating a partitioned table with a `null` in the partition column doesn't seem possible with `db.addTablePartition` in Enterprise. ``` t=db.t("LearnDeephaven", "StockTrades").where() db.addPartitionedTableDefinition("<namespace>", "partTable", "Date", t.getDefinition()) test = db.t("<namespace>" , "partTable") // Set Column ACL on `partTable` to `new NullFilterGenerator()` in swing test = db.t("<namespace>" , "partTable") ``` ![Screenshot 2024-04-23 at 5 26 43 PM](https://github.com/deephaven/web-client-ui/assets/2853653/bbd65305-4616-416d-8af3-96dadcc21fa1) Core+ Groovy console: ``` t = emptyTable(1).update("X=(String)null","Y=ii").partitionBy("X") ``` ![Screenshot 2024-04-23 at 5 23 55 PM](https://github.com/deephaven/web-client-ui/assets/2853653/0564a626-97fa-46d9-8920-200eda19c533) --------- Co-authored-by: Mike Bender <mikebender@deephaven.io>
- Loading branch information
Showing
5 changed files
with
45 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters