-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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
[SPARK-49939][SQL] Codegen Support for json_object_keys (by Invoke & RuntimeReplaceable) #48428
Conversation
…RuntimeReplaceable)
jsonParser.skipChildren(); | ||
} | ||
return new GenericArrayData(arrayBufferOfKeys.toArray()); | ||
} catch (IOException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't you handle JsonProcessingException
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Merging to master. |
@panbingkun Do you plan to add codeGen support for |
Yes! |
cool. If you are not planning for |
I don't think |
sorry for naive question, any reason why |
If we use
|
What changes were proposed in this pull request?
The pr aims to add
Codegen
Support forjson_object_keys
.Why are the changes needed?
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA & Existed UT (eg: JsonFunctionsSuite#
json_object_keys function
)Was this patch authored or co-authored using generative AI tooling?
No.