1134 Commits

Author SHA1 Message Date
Zoltan Haindrich
f9823b0384 Merge branch 'rename-d1-dbl1' into unnest-relfieldtrimmer-unnestfieldtype 2024-11-15 11:23:15 +00:00
Zoltan Haindrich
f89cc82fbb update 2 more tests 2024-11-15 07:58:14 +00:00
Zoltan Haindrich
acc9eb6ef9 Merge branch 'rename-d1-dbl1' into unnest-relfieldtrimmer-unnestfieldtype 2024-11-14 12:03:01 +00:00
Zoltan Haindrich
1e5c37b66f inline const back 2024-11-14 11:57:57 +00:00
Zoltan Haindrich
6ee980e8ce update unnest.iq 2024-11-14 11:56:48 +00:00
Zoltan Haindrich
12373a877e fix one 2024-11-14 11:55:21 +00:00
Zoltan Haindrich
a075cb9c12 removal of some projects 2024-11-14 11:51:43 +00:00
Zoltan Haindrich
23e4dab3df trim-trim 2024-11-14 11:50:17 +00:00
Zoltan Haindrich
dcdd7d4a92 fix final test 2024-11-14 11:44:17 +00:00
Zoltan Haindrich
9afdfb2dcf updates 2024-11-14 10:03:28 +00:00
Zoltan Haindrich
9448ed3825 enable trim for unnest 2024-11-14 09:53:17 +00:00
Zoltan Haindrich
fd564fda72 cleanup/enhance rule order to simplify 2024-11-14 09:07:44 +00:00
Zoltan Haindrich
f4d7ec2695 cleanup/enhance rule order to simplify 2024-11-14 07:51:22 +00:00
Zoltan Haindrich
fbfed8a07f update 2024-11-13 18:09:50 +00:00
Zoltan Haindrich
7d9693bd91 aa 2024-11-13 18:00:52 +00:00
Zoltan Haindrich
96f572e679 updates/etc 2024-11-13 17:03:06 +00:00
Zoltan Haindrich
0d09c18cab undo trials; re-introduce expr if needed (will be trimmed in most cases) 2024-11-13 16:48:31 +00:00
Zoltan Haindrich
8dfd57f922 update test 2024-11-13 16:30:08 +00:00
Zoltan Haindrich
1379c9aa2c Merge branch 'rename-d1-dbl1' into unnest-relfieldtrimmer-unnestfieldtype 2024-11-13 16:24:35 +00:00
Zoltan Haindrich
247ee17f17 fixups after merge 2024-11-13 15:35:00 +00:00
Zoltan Haindrich
a1b9f522fe Merge remote-tracking branch 'apache/master' into rename-d1-dbl1 2024-11-13 15:30:58 +00:00
Zoltan Haindrich
fc31c8a84a update iq files 2024-11-13 14:51:56 +00:00
Zoltan Haindrich
ced72b3ab7 fix nondefault 2024-11-13 14:40:12 +00:00
Zoltan Haindrich
08748436a5 fix some more 2024-11-13 14:20:41 +00:00
Zoltan Haindrich
62664e36e7 fix windowtests 2024-11-13 14:16:48 +00:00
Zoltan Haindrich
88e57f972a fix some more 2024-11-13 14:12:25 +00:00
Zoltan Haindrich
bd72b95777 fix some 2024-11-13 14:01:45 +00:00
Zoltan Haindrich
0d07cf137e dbl1/etc 2024-11-13 13:55:38 +00:00
Zoltan Haindrich
7777e48b77 dbl1/etc 2024-11-13 13:11:10 +00:00
Zoltan Haindrich
d4b4c94a3c Reapply "rename: d1/dbl1"
This reverts commit 0d03cc558781cfd4093c0ff7c87f03c7cc65e027.
2024-11-12 15:04:41 +00:00
Zoltan Haindrich
0d03cc5587 Revert "rename: d1/dbl1"
This reverts commit c49fc2796b5062d5886bc1ddd36ac3e524507c21.
2024-11-12 15:04:14 +00:00
Zoltan Haindrich
c49fc2796b rename: d1/dbl1 2024-11-12 15:04:11 +00:00
Zoltan Haindrich
04ab28f4cd one way 2024-11-12 14:28:25 +00:00
Zoltan Haindrich
e8f06bf90d make helper method 2024-11-12 14:19:29 +00:00
Zoltan Haindrich
322ec81fb0 make some assert function and fail with that 2024-11-12 14:12:30 +00:00
Zoltan Haindrich
d38215fd5a ok-but alon trim should have affected native query - right? 2024-11-12 11:46:30 +00:00
Zoltan Haindrich
f296102f05
ScanQuery should not ignore columnTypes in equals/hashCode (#17463)
* ScanQuery: equals/hashCode/toString
* DruidQuery: changes of Align ScanQuery column order with its desired signature #17457
* ScanQueryTest: add equalsverifer test
2024-11-12 14:26:59 +05:30
Zoltan Haindrich
b45b3ba495 run trimmer 2024-11-11 13:56:06 +00:00
Zoltan Haindrich
e7061ad04a more wood 2024-11-11 13:10:52 +00:00
Zoltan Haindrich
4e0a37a59b more wood 2024-11-11 12:39:30 +00:00
Zoltan Haindrich
2ceefdc079 try-unnestfiled-instead-rowtype
(cherry picked from commit c4eb2cf1b82c7a332d57701e430ac582a986593f)
2024-11-11 11:15:40 +00:00
Zoltan Haindrich
314d3f7a17 some updates 2024-11-11 10:28:11 +00:00
Zoltan Haindrich
00837c56ed clenaup 2024-11-09 16:54:13 +00:00
Zoltan Haindrich
54b057e81d x 2024-11-08 17:53:59 +00:00
Zoltan Haindrich
7021b3f42c working? 2024-11-08 17:33:31 +00:00
Zoltan Haindrich
2eac8318f8
Support Union in Decoupled planning (#17354)
* introduces `UnionQuery`
* some changes to enable a `UnionQuery` to have multiple input datasources
* `UnionQuery` execution is driven by the `QueryLogic` - which could later enable to reduce some complexity in `ClientQuerySegmentWalker`
* to run the subqueries of `UnionQuery` there was a need to access the `conglomerate` from the `Runner`; to enable that some refactors were done
* renamed `UnionQueryRunner` to `UnionDataSourceQueryRunner`
* `QueryRunnerFactoryConglomerate` have taken the place of `QueryToolChestWarehouse` which shaves of some unnecessary things here and there
* small cleanup/refactors
2024-11-05 16:58:57 +01:00
Tom
e4cdbca23c
make planner errors be user persona (#17437)
Change the persona for errors within the planner from Admin to User. The ADMIN persona is meant to be "a persona who is interacting with admin APIs and understands Druid query concepts". This isn't an admin API, it's a query API. Low quality error messages being returned to the correct audience is better than hiding all error messages.

The errors that can be returned back can be user solvable, and other times requires a druid expert. But the errors do not leak information that should only be seen by more expert/privileged personas.

The original ADMIN persona showed some reticence to tag low-quality error messages with a USER persona. but it really does seem user-directed to me so USER to me would make sense.
2024-11-04 10:48:35 -08:00
Akshat Jain
21e7e5cddd
Add benchmark suite for MSQ window functions (#17377)
* Add benchmark suite for MSQ window functions

* Fix inspection checks

* Address review comment: Rename method
2024-10-30 11:32:28 +05:30
Gian Merlino
446a8f466f
Update errorprone, mockito, jacoco, checkerframework. (#17414)
* Update errorprone, mockito, jacoco, checkerframework.

This patch updates various build and test dependencies, to see if they
cause unit tests on JDK 21 to behave more reliably.

* Update licenses, tests.

* Remove assertEquals.

* Repair two tests.

* Update some more tests.
2024-10-28 11:34:03 -07:00
Abhishek Radhakrishnan
43b325b6aa
Add missing @Nullable annotations to SqlQuery (#17398) 2024-10-22 20:34:46 -07:00