-
Notifications
You must be signed in to change notification settings - Fork 437
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
[CH] Support json_tuple function #1135
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/oap-project/gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
val expressTransformers = new Array[ExpressionTransformer](j.children.length) | ||
for ( i <- j.children.indices) { | ||
val t = replaceWithExpressionTransformer(j.children(i), attributeSeq) | ||
expressTransformers(i) = t | ||
} |
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.
change:
val children = j.children.map(child =>
replaceWithExpressionTransformer(child, attributeSeq))
please add some ut for this function, btw, it may need to support this function in ch backend? |
ok, I will add some ut. and I have support this function in ch backend in pr : ClickHouse/ClickHouse#47343 but I think this also can archive by JsonExtract function, i will open the pr to see whether it can be accpeted by clickhouse |
699edc0
to
ad37fec
Compare
ut added done. @zzcclp |
Can one of the admins verify this patch? |
bf83190
to
0643fc6
Compare
98ed105
to
09f31ee
Compare
Run Gluten Clickhouse CI |
09f31ee
to
3690ec8
Compare
Run Gluten Clickhouse CI |
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.
LGTM
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.
LGTM
What changes were proposed in this pull request?
Support json_tuple funtion for spark in clickhouse backend, the related pr: Kyligence/ClickHouse#361
How was this patch tested?
test by unit test