Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS API support for filtering other supported types #6436

Open
niloc132 opened this issue Nov 26, 2024 · 0 comments
Open

JS API support for filtering other supported types #6436

niloc132 opened this issue Nov 26, 2024 · 0 comments
Labels
feature request New feature or request triage

Comments

@niloc132
Copy link
Member

As a JS API consumer, I want to filter a columns in tables with types that can be deserialized in the client, but cannot yet be referenced in a filter. This includes

  • LocalDate
  • LocalTime
  • BigInteger
  • BigDecimal

In other API calls we tend to encourage using Flight serialization to send arbitrary values back to the server (note that these types are not yet supported there either, see #1041), but filters are not usually built this way. Instead, we have a simplified AST for filters that focuses on composing boolean expressions, and only supports String, long, double (and other numerics that fit in that size), boolean, and instant.

See also #6364 - while considering a more powerful AST for expressions, we should consider expanding literals that we support for filters - or a way to serialize generic data, even if we just send them as strings and support various factory methods (e.g. LocalDate.of(...) or parse(String) calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant