Data Explorer: Add "search_schema" support for polars, add 'match data types' support, introduce "column filter" RPC type, refactor row filters a bit
This adds a match_data_types filter type in the search_schema RPC to support column selection and filtering workflows. This is implemented/tested for both pandas and polars -- no user-visible capabilities in this change.
I also refactored the row filter RPC types a bit to support extensibility and code reuse. We will need to coordinate with Ark when merging this.
Related Ark PR: https://github.com/posit-dev/ark/pull/424
I need to do some debugging on this to get the union to deserialize properly in Python
Let me know if there's anything I can do to help with the Pydantic deserialization stuff.
Turned out I had just missed refactoring some places in TypeScript where the JSON fields weren't being typechecked by the compiler (fixed now)
This can be merged once the next Ark release version bump is imminent
Merging this as we've now bumped ark: https://github.com/posit-dev/positron/pull/3928