-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feat](func) any function supports json #50311
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
Conversation
|
run buildall |
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
TPC-H: Total hot run time: 34128 ms |
TPC-DS: Total hot run time: 186283 ms |
ClickBench: Total hot run time: 29.68 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression P0 && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
run external |
|
|
||
| /** For JSON values. Similar to SingleValueDataString but specifically for JSON binary format. | ||
| */ | ||
| struct SingleValueDataJsonb { |
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.
Add BEUT for this class
| AggregateFunctionsSingleValue<Data<SingleValueDataString>>>(argument_types, | ||
| result_is_nullable); | ||
| } | ||
| if (which.idx == TypeIndex::JSONB) { |
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.
min/max is also register by this create_aggregate_function_single_value function,
maybe have error for min/max?
| } | ||
| }; | ||
|
|
||
| /** For JSON values. Similar to SingleValueDataString but specifically for JSON binary format. |
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.
SingleValueDataJsonb code seems is same with SingleValueDataString,
so if use SingleValueDataString for json type,
what problem is report?
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.
you are right
|
run buildall |
TPC-H: Total hot run time: 33889 ms |
TPC-DS: Total hot run time: 185289 ms |
ClickBench: Total hot run time: 29.54 s |
|
run p0 |
|
run buildall |
TPC-H: Total hot run time: 33997 ms |
TPC-DS: Total hot run time: 189739 ms |
ClickBench: Total hot run time: 30.02 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression P0 && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
run cloud_p0 |
|
run p0 |
BE Regression P0 && UT Coverage ReportIncrement line coverage Increment coverage report
|
|
run buildall |
TPC-H: Total hot run time: 34116 ms |
TPC-DS: Total hot run time: 185467 ms |
ClickBench: Total hot run time: 29.32 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression P0 && UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression P0 && UT Coverage ReportIncrement line coverage Increment coverage report
|
What problem does this PR solve?
Problem Summary:
Make any function support json.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)