Commit Graph

14418 Commits

Author SHA1 Message Date
Vadim Ogievetsky 51c73b5a4e
Web console: show formatted JSON value (#16632)
* show formatted json value

* update snapshot

* window functions

* count star can also have a window

* better edit query context
2024-06-21 18:33:15 -07:00
Rishabh Singh 4eced9b3c9
Fix CentralizedDatasourceSchema group IT failure (#16636)
* Fix build

* Update datasource name in ITSystemTableBatchIndexTaskTest
2024-06-21 15:40:12 -07:00
Suneet Saldanha 4e0ea7823b
Update docs for K8s TaskRunner Dynamic Config (#16600)
* Update docs for K8s TaskRunner Dynamic Config

* touchups

* code review

* npe

* oopsies
2024-06-21 06:01:59 -07:00
Akshat Jain cd438b1918
Emit metrics for S3UploadThreadPool (#16616)
* Emit metrics for S3UploadThreadPool

* Address review comments

* Revert unnecessary formatting change

* Revert unnecessary formatting change in metrics.md file

* Address review comments

* Add metric for task duration

* Minor fix in metrics.md

* Add s3Key and uploadId in the log message

* Address review comments

* Create new instance of ServiceMetricEvent.Builder for thread safety

* Address review comments

* Address review comments
2024-06-21 11:36:47 +05:30
Zoltan Haindrich 9a4d04a818 Revert "Revert "Revert "add kttm tx"""
This reverts commit 26a16fb4fe.
2024-06-20 17:45:08 +00:00
Zoltan Haindrich 0af3b910f1 update readme 2024-06-20 17:45:01 +00:00
Adithya Chakilam 35709de549
CgroupCpuSetMonitor: Initialize the cgroup discoverer (#16621) 2024-06-20 10:23:59 -07:00
Zoltan Haindrich cefdf96a26 prep 2024-06-20 16:45:39 +00:00
Zoltan Haindrich 724212381c close stuff 2024-06-20 16:40:06 +00:00
Andreas Maechler ae70e18bc8
docs: Update Azure extension (#16585)
Co-authored-by: Victoria Lim <vtlim@users.noreply.github.com>
2024-06-20 09:31:29 -07:00
Zoltan Haindrich 26a16fb4fe Revert "Revert "add kttm tx""
This reverts commit 82f24e61f2.
2024-06-20 16:02:09 +00:00
Zoltan Haindrich 82f24e61f2 Revert "add kttm tx"
This reverts commit eda48497e2.
2024-06-20 16:01:53 +00:00
Abhishek Radhakrishnan b20c3dbadf
Fix malformed period throwing `ADMIN` persona error (#16626)
* Turn invalid periods into user-facing exception providing more context.

The current exception is targeting the ADMIN persona. Catch that and turn
it into a USER persona instead. Also, provide more context in the error
message.

* Review comment: pass the wrapping expression and stringify.

* Update processing/src/main/java/org/apache/druid/query/expression/ExprUtils.java

Co-authored-by: Clint Wylie <cjwylie@gmail.com>

---------

Co-authored-by: Clint Wylie <cjwylie@gmail.com>
2024-06-20 08:40:28 -07:00
Zoltan Haindrich d329686d5c fix msq test 2024-06-20 15:37:13 +00:00
Zoltan Haindrich 6e48cb86d5 move annotation 2024-06-20 14:41:45 +00:00
Zoltan Haindrich ebb27cf462 add extension to disabel when not sql compat 2024-06-20 14:40:44 +00:00
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