Skip to content

Conversation

@jmao-denver
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 2025

No docs changes detected for 4d92477

@jmao-denver jmao-denver force-pushed the DH-19489-filters-core-py-client branch from fd18265 to bc3ad0b Compare December 16, 2025 03:23
@jmao-denver jmao-denver marked this pull request as ready for review December 16, 2025 05:19
@jmao-denver jmao-denver requested a review from Copilot December 16, 2025 17:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for structured Filter objects in the Deephaven Core Python client, allowing users to construct type-safe table filters programmatically instead of using only string-based filter expressions.

Key changes:

  • New filters.py module with Filter abstract base class and concrete implementations for comparison, logical, and pattern-matching operations
  • Support for datetime types (Python datetime, numpy datetime64, pandas Timestamp) in filter values
  • Case-sensitivity control for string comparison operations
  • Integration of Filter objects into Table.where() and Query.where() methods

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
py/client/pydeephaven/filters.py New module implementing Filter classes and factory functions for creating structured filters
py/client/tests/test_filters.py Comprehensive unit and integration tests for the filters module
py/client/pydeephaven/_table_ops.py Added FilterOp class to handle structured Filter objects in table operations
py/client/pydeephaven/_table_interface.py Updated where() method to accept both string and Filter objects
py/client/pydeephaven/table.py Updated Table.where() signature to include Filter types
py/client/pydeephaven/query.py Updated Query.where() signature to include Filter types
py/client/setup.py Added pandas as a required dependency
py/client/requirements.txt Added pandas to requirements
Comments suppressed due to low confidence (1)

py/client/pydeephaven/filters.py:1

  • The FilterOp class is defined in filters.py but should be in _table_ops.py based on the diff context. This appears to be a misplaced code block - the FilterOp class definition shown in the diff for _table_ops.py (lines 356-383) is the correct location.
#

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant