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

Perform conversion for the columns output from Table.readJSON to other data types using JSONUtils.convertDataTypes() #11618

Draft
wants to merge 11 commits into
base: branch-24.12
Choose a base branch
from

Conversation

ttnghia
Copy link
Collaborator

@ttnghia ttnghia commented Oct 17, 2024

This adopts the new implemented JNI function JSONUtils.convertDataTypes() to convert the columns generated by Table.readJSON to the desired output types as specified in the schema when executing from_json query. By replacing the Scala code by JNI code, we can avoid a lot of overhead and optimize runtime performance.

Contribute to #11560.

@ttnghia ttnghia added feature request New feature or request SQL part of the SQL/Dataframe plugin performance A performance related task/issue P0 Must have for release task Work required that improves the product but is not user facing labels Oct 17, 2024
@ttnghia ttnghia requested a review from revans2 October 17, 2024 03:14
@ttnghia ttnghia self-assigned this Oct 17, 2024
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 P0 Must have for release performance A performance related task/issue SQL part of the SQL/Dataframe plugin task Work required that improves the product but is not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant