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

Convert arrow types to those compatible with Vega when data_encoding_format is set #404

Closed
wants to merge 3 commits into from

Conversation

jonmmease
Copy link
Collaborator

@jonmmease jonmmease commented Oct 6, 2023

The apache-arrow JavaScript library will extract Int64 values as bigint, which aren't compatible with Vega. This PR casts all numeric types to Float64 when data_encoding_format is set.

Even with the type conversion from integer to float, there are some issues with using Arrow tables directly in the Vega JavaScript library. See vega/vl-convert#119. So I'm not sure I want to move forward with this PR right now.

@jonmmease jonmmease marked this pull request as draft October 7, 2023 11:42
@jonmmease jonmmease closed this Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant