14302 Commits

Author SHA1 Message Date
Zoltan Haindrich
604910cead cleanup 2024-06-20 14:27:09 +00:00
Zoltan Haindrich
b2be5abdd5 fix md 2024-06-20 14:21:56 +00:00
Zoltan Haindrich
eda48497e2 add kttm tx 2024-06-20 14:20:29 +00:00
Sree Charan Manamala
7ac0862287
Grouping Engine fix when a limit spec with different order by columns is applied (#16534) 2024-06-20 11:35:58 +02:00
Zoltan Haindrich
4bd8039715 fix delegate 2024-06-19 16:49:24 +00:00
Zoltan Haindrich
1a0ab2c3b1 Merge remote-tracking branch 'apache/master' into quidem-record 2024-06-19 12:59:26 +00:00
Rishabh Singh
169a8dbd1a
Disable TestValidateIncompatibleCentralizedDatasourceSchemaConfig (#16627)
* Fix build

* Ignore test
2024-06-18 17:50:46 -07:00
Maytas Monsereenusorn
44268e7fad
Pass requestBufferSize from Config to Proxy servlet (#16611) 2024-06-19 02:42:16 +07:00
Zoltan Haindrich
fdf115940b disable record by default 2024-06-18 16:43:10 +00:00
Zoltan Haindrich
61dd670784 remove not needed 2024-06-18 16:36:41 +00:00
Zoltan Haindrich
dffa331018 updates/etc 2024-06-18 16:33:22 +00:00
Zoltan Haindrich
64a971f893 fix autostart 2024-06-18 16:20:53 +00:00
Zoltan Haindrich
d14b7374ba add 2024-06-18 15:59:29 +00:00
Zoltan Haindrich
74c488679b cleanup 2024-06-18 15:43:48 +00:00
Zoltan Haindrich
475f5b5830 cleanup 2024-06-18 15:43:46 +00:00
Zoltan Haindrich
e725df7110 fix loader 2024-06-18 15:43:35 +00:00
AmatyaAvadhanula
be3593f099
Optimize unused segment query for segment allocation (#16623) 2024-06-18 20:45:04 +05:30
Zoltan Haindrich
9df6f3341a add test-jar ref 2024-06-18 14:29:02 +00:00
Zoltan Haindrich
0366192554 updates 2024-06-18 13:07:48 +00:00
Zoltan Haindrich
75c578ae33 cleanup 2024-06-18 12:41:21 +00:00
Sam Rash
a10310388f
Add Conditional Helpers to DruidException / InvalidInput (#16470)
Adds versions of 

DruidException.defensive(String, Object...)
InvalidInput.exception(String, Object...)
InvalidInput.exception(Throwable, String, Object...)

the versions add a boolean as the first arg and only create and throw
an exception if it's false. It can be used similar to
Preconditions.checkState/checkArgument
2024-06-18 14:05:43 +05:30
Zoltan Haindrich
e81591499c update/etc 2024-06-18 08:18:32 +00:00
AmatyaAvadhanula
4c8932e00e
Fix attempts to publish the same pending segments multiple times (#16605)
* Fix attempts to publish the same pending segments multiple times
2024-06-18 12:02:13 +05:30
Abhishek Radhakrishnan
51b2f6cb45
Fix retry logic in BrokerClient and flakey BrokerClientTest (#16618)
* Fix flakey BrokerClientTest.

The testError() method reliably fails in the IDE. This is because the
the test runner has

<surefire.rerunFailingTestsCount>3</surefire.rerunFailingTestsCount> is set to 3, so maven
retries this "flaky test" multiple times and the test code returns a successful response
in the third attempt.

The exception handling in BrokerClientTest was broken:
- All non-2xx errors were being turned as 5xx errors. Remove that block of
code. If we need to handle retries of more specific 5xx error codes, that should be
hanlded explicitly. Or if there's a source of 4xx class error that needs to be 5xx,
fix that in the source of error.

* Fix CodeQL warning for unused parameter.
2024-06-17 12:48:15 -07:00
Zoltan Haindrich
6dd62fb7c6 updates 2024-06-17 16:25:03 +00:00
Zoltan Haindrich
f5720ce97d u 2024-06-17 16:05:29 +00:00
Zoltan Haindrich
7eccf5b518 add some validation/etc 2024-06-17 15:42:48 +00:00
Zoltan Haindrich
e06e54631e fix style; emitter 2024-06-17 14:26:48 +00:00
Zoltan Haindrich
a9952292f2 cleanup 2024-06-17 13:44:01 +00:00
Zoltan Haindrich
47696a6108 updates 2024-06-17 13:05:11 +00:00
Maytas Monsereenusorn
d6c7d868cd
Fix peon startup with non string property value (#16612) 2024-06-16 07:48:44 +05:30
Jill Osborne
aec1d5ddd6
Link fix (#16596)
* Link fix

* Update docs/operations/auth.md

Co-authored-by: Andreas Maechler <amaechler@gmail.com>

---------

Co-authored-by: Andreas Maechler <amaechler@gmail.com>
2024-06-14 11:40:53 -07:00
Virushade
eb842d3dda
Remove redundant check on optional in BlockingQueueFrameChannel.Writable#isClosed (#16595)
* Remove redundant check on optional in BlockingQueueFrameChannel.Writable#isClosed

* Rollback mistake
2024-06-14 15:21:07 +05:30
Laksh Singla
da1e293a57
Deserialize dimensions in group by queries to their respective types when reading from their serialized format (#16511)
* init

* tests, pair groupable

* framework change

* tests

* update benchmarks

* comments

* add javadoc for the jsonMapper

* remove extra deserialization

* add special serde for map based result rows

* revert unnecessary change

---------

Co-authored-by: asdf2014 <asdf2014@apache.org>
2024-06-14 16:27:47 +08:00
317brian
e1926e2549
docs: fix redirect (#16548)
* doc: cleanup unnecessary redirect

(cherry picked from commit d86aaadbc78cc51345f768ee66c9a8b2cbf13f27)

* restore redirect file entry. delete md file
2024-06-14 09:54:16 +08:00
Alberic Liu
ea2de517b2
Update the youtube link for druid presentations page (#16601)
* Update the link to lambda architectures with Druid

* update the youtube link
2024-06-14 09:47:46 +08:00
Victoria Lim
836cdb48a5
docs: Migration guide for MVDs to arrays (#16516)
Co-authored-by: Clint Wylie <cjwylie@gmail.com>
Co-authored-by: Katya Macedo  <38017980+ektravel@users.noreply.github.com>
Co-authored-by: Benedict Jin <asdf2014@apache.org>
Co-authored-by: Katya Macedo <38017980+ektravel@users.noreply.github.com>
2024-06-13 13:05:58 -07:00
Zoltan Haindrich
ac19b148c2
Upgrade calcite to 1.37.0 (#16504)
* contains Make a full copy of the parser and apply our modifications to it #16503
* some minor api changes pair/entry
* some unnecessary aggregation was removed from a set of queries in `CalciteSubqueryTest`
* `AliasedOperatorConversion` was detecting `CHAR_LENGTH` as not a function ; I've removed the check
  * the field it was using doesn't look maintained that much
  * the `kind` is passed for the created `SqlFunction` so I don't think this check is actually needed
* some decoupled test cases become broken - will be fixed later
* some aggregate related changes: due to the fact that SUM() and COUNT() of no inputs are different
* upgrade avatica to 1.25.0
* `CalciteQueryTest#testExactCountDistinctWithFilter` is now executable

Close apache/druid#16503
2024-06-13 08:47:50 +02:00
George Shiqi Wu
d5a25a94b8
Docs: Clarify that all supervisors can support early handoff (#16588) 2024-06-13 08:43:22 +05:30
YongGang
46dbc74053
Support Dynamic Peon Pod Template Selection in K8s extension (#16510)
* initial commit

* add Javadocs

* refine JSON input config

* more test and fix build

* extract existing behavior as default strategy

* change template mapping fallback

* add docs

* update doc

* fix doc

* address comments

* define Matcher interface

* fix test coverage

* use lower case for endpoint path

* update Json name

* add more tests

* refactoring Selector class
2024-06-12 15:27:10 -07:00
Zoltan Haindrich
f8645de341
Remove incorrect utf8 conversion of ResultCache keys (#16569) 2024-06-12 13:12:05 -07:00
Clint Wylie
fee509df2e
fix NestedDataColumnIndexerV4 to not report cardinality (#16507)
* fix NestedDataColumnIndexerV4 to not report cardinality
changes:
* fix issue similar to #16489 but for NestedDataColumnIndexerV4, which can report STRING type if it only processes a single type of values. this should be less common than the auto indexer problem
* fix some issues with sql benchmarks
2024-06-11 20:58:12 -07:00
zachjsh
3f5f5921e0
Fix sql syntax error user (#16583)
This fixes an issue where in some cases, a SQL syntax error encountered when parsing / planning a query results in an error returned to the user with persona a `admin` when it should instead be `user`.
2024-06-11 18:08:35 -04:00
Andreas Maechler
fec48432d4
docs: Correct some outdated module names (#16584)
* Fix module names

* Better spacing

* Some spacing

* Suggestions from code review

Thanks Abhishek.

* More links

* Roll-up time

* Remove logs

* More spelling
2024-06-11 14:17:40 -07:00
Zoltan Haindrich
7a65938fd6 use druidhook instead Hook 2024-06-11 15:55:55 +00:00
Zoltan Haindrich
6c6053eee0 cleanup 2024-06-11 15:22:52 +00:00
Zoltan Haindrich
002c3056d4 make test indep from java11 2024-06-11 15:14:08 +00:00
Zoltan Haindrich
298a470713 try w/o upgrade guice 2024-06-11 14:18:47 +00:00
Zoltan Haindrich
2fbd7fe47b add 2024-06-11 14:08:36 +00:00
Andreas Maechler
24056b90b5
Bring back missing property in indexer documentation (#16582)
* Bring back druid.peon.taskActionClient.retry.minWait

* Update docs/configuration/index.md

* Consistent italics

Thanks Abhishek.

* Update docs/configuration/index.md

Co-authored-by: Abhishek Radhakrishnan <abhishek.rb19@gmail.com>

* Consistent list style

* Remove extra space

---------

Co-authored-by: Abhishek Radhakrishnan <abhishek.rb19@gmail.com>
2024-06-10 16:52:54 -07:00