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

Utf8View and BinaryView (i.e., StringView in Arrow, colloquially German-style strings) support #1403

Open
mbutrovich opened this issue Feb 14, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@mbutrovich
Copy link
Contributor

mbutrovich commented Feb 14, 2025

What is the problem the feature request solves?

With the experimental native scans built on DataFusion's ParquetExec and our update to DataFusion 45, we have the opportunity to start adding support for StringView. I have started scoping out this work and would like to start aggregating findings here.

Describe the potential solution

Project-level:

  • Bump arrow-java version. We're currently on 16.0.0. I believe the view types were added in 17.0.0. I tested bumping to 18.2.0 and so far it doesn't seem too painful.

Java-side:

  • Add support for decoding Utf8View and BinaryView to CometVector. I prototyped this here and here for Utf8View and BinaryView, respectively.

Native-side:

I'm sure there's more than this, and will continue adding as I find stuff broken in my proof-of-concept branch.

Additional context

Related DataFusion blogs:

https://datafusion.apache.org/blog/2024/09/13/string-view-german-style-strings-part-1/
https://datafusion.apache.org/blog/2024/09/13/string-view-german-style-strings-part-2/

@mbutrovich mbutrovich added the enhancement New feature or request label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant