Skip to content
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

reverse merge #15

Merged
merged 293 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
293 commits
Select commit Hold shift + click to select a range
61511fb
Add logs indicating the star-tree config diff to understand the rebui…
shounakmk219 Aug 13, 2024
bbe12e5
Bump org.codehaus.mojo:exec-maven-plugin from 3.4.0 to 3.4.1 (#13808)
dependabot[bot] Aug 13, 2024
78ae011
Bump software.amazon.awssdk:bom from 2.27.2 to 2.27.3 (#13810)
dependabot[bot] Aug 13, 2024
d12fda1
Bump com.h2database:h2 from 2.3.230 to 2.3.232 (#13811)
dependabot[bot] Aug 13, 2024
f65ce5d
Handle null values appropriately during segment reload for new derive…
yashmayya Aug 13, 2024
4d2c3f5
Remove ingestion metrics when consuming segment relocates (#13668)
Jackie-Jiang Aug 13, 2024
5fbd079
Fix literal type handling in LiteralValueExtractor (#13715)
yashmayya Aug 14, 2024
68252b7
improve exception assertions in PinotDriverTest (#13813)
sullis Aug 14, 2024
14e51e8
Optimize NullableSingleInputAggregationFunction when entire block is …
yashmayya Aug 14, 2024
141b13c
Make NetUtils.getHostAddress ipv6 compatible (#13805)
real-mj-song Aug 14, 2024
6bbbf0c
Bump kerby.version from 2.0.3 to 2.1.0 (#13819)
dependabot[bot] Aug 14, 2024
df366cc
[Feature] Add the ability to compress and decompress tar archive file…
jackluo923 Aug 14, 2024
2de771a
Bump software.amazon.awssdk:bom from 2.27.3 to 2.27.5 (#13824)
dependabot[bot] Aug 15, 2024
475aa3c
Bump commons-cli:commons-cli from 1.8.0 to 1.9.0 (#13825)
dependabot[bot] Aug 15, 2024
d1827c5
Support madvise for MmapMemory (#13721)
dinoocch Aug 15, 2024
bd32dc9
Ensure upsert deletion consistency when enabled with compaction flow …
tibrewalpratik17 Aug 15, 2024
05068c5
add assertions for AllocationFailureCount (#13698)
sullis Aug 16, 2024
3b9439d
Add more unit test for `AbstractMetricsTest` (#13697)
dttung2905 Aug 16, 2024
ef3caa3
Fix controller port logging in quickstart (#13794)
tibrewalpratik17 Aug 16, 2024
983d356
add metadata ttl field to DedupConfig (#13636)
zhtaoxiang Aug 16, 2024
b241d73
Track segments consistently for consistent upsert view (#13677)
klsince Aug 16, 2024
81194bf
Bump software.amazon.awssdk:bom from 2.27.5 to 2.27.6 (#13828)
dependabot[bot] Aug 16, 2024
fca6bab
Improve error messages when creating star-tree indexes (#13818)
gortiz Aug 17, 2024
8f12fc1
Move pinot-common to plugin root and ensure all the pinot libs refere…
xiangfu0 Aug 17, 2024
3769701
Fix bugs in DynamicBrokerSelector (#13816)
vrajat Aug 17, 2024
0333fe6
Reduce shading (#13834)
Jackie-Jiang Aug 18, 2024
426160a
fixing TLS configuration for http clients (#13477)
mgranderath Aug 18, 2024
cc14cbe
Improve logging in SegmentPreProcessor::needProcess (#13700)
yashmayya Aug 18, 2024
1861158
intellij-language-annotation: add annotation on tests (#13793)
gortiz Aug 18, 2024
6d6a74a
Bump dropwizard-metrics.version from 4.2.26 to 4.2.27 (#13840)
dependabot[bot] Aug 19, 2024
b27d598
Bump surefire.version from 3.3.1 to 3.4.0 (#13841)
dependabot[bot] Aug 19, 2024
a8cd54a
Bump org.jetbrains:annotations from 24.0.1 to 24.1.0 (#13842)
dependabot[bot] Aug 19, 2024
ac8b189
Bump software.amazon.awssdk:bom from 2.27.6 to 2.27.7 (#13843)
dependabot[bot] Aug 19, 2024
89462ab
Handle DUAL SQL Queries without NullPointerException in JDBC (#13846)
vrajat Aug 19, 2024
d0e041c
Support polymorphic scalar comparison functions in the multi-stage qu…
yashmayya Aug 19, 2024
43ddebf
Bump org.apache.commons:commons-compress from 1.27.0 to 1.27.1 (#13851)
dependabot[bot] Aug 20, 2024
8fb3143
Bump software.amazon.awssdk:bom from 2.27.7 to 2.27.8 (#13852)
dependabot[bot] Aug 20, 2024
6615d85
use ThreadLocalRandom in BrokerCache (#13853)
sullis Aug 20, 2024
23b0019
skip encoding the path url for azure fs (#13850)
shounakmk219 Aug 20, 2024
180bc23
use ThreadLocalRandom in PinotQueryResource (#13855)
sullis Aug 20, 2024
7718182
Update doap_Pinot.rdf for 1.2.0 Release (#13856)
ankitsultana Aug 20, 2024
fec34d1
check stale dedup metadata when adding new records/segments (#13848)
klsince Aug 21, 2024
692d78c
Add TablePauseStatus to track the pause details (#13803)
shounakmk219 Aug 21, 2024
35f8082
Log table config and schema updates (#13867)
yashmayya Aug 21, 2024
de3ea87
For non-aggregation group-by query, if select clause is not matching …
tarun11Mavani Aug 21, 2024
579fa8e
use ThreadLocalRandom in RoundRobinURIProvider (#13858)
sullis Aug 21, 2024
547c1f3
use ThreadLocalRandom in DynamicBrokerSelector (#13860)
sullis Aug 21, 2024
8913a07
use ThreadLocalRandom in adaptiveserverselector (#13859)
sullis Aug 21, 2024
38b2ad4
Introduce pinot-fastdev profile, which will make it easier to develop…
rfscholte Aug 21, 2024
87a51c0
Bump software.amazon.awssdk:bom from 2.27.8 to 2.27.9 (#13866)
dependabot[bot] Aug 21, 2024
dc5301a
extend the dedup test cases to cover more hash functions (#13869)
klsince Aug 21, 2024
9fae5b3
Compatibility verification against release 1.2.0 (#13857)
abhioncbr Aug 21, 2024
6d64650
[Dependency] Cleanup unnecessary dependencies and exclusions (#13832)
Jackie-Jiang Aug 21, 2024
966101d
Bump org.apache.commons:commons-compress from 1.27.0 to 1.27.1 (#13875)
dependabot[bot] Aug 23, 2024
8552d3d
Bump software.amazon.awssdk:bom from 2.27.9 to 2.27.10 (#13876)
dependabot[bot] Aug 23, 2024
14b7774
[Dependency] Cleanup maven plugin versions (#13878)
Jackie-Jiang Aug 23, 2024
2daffcf
Bump org.apache.maven.plugins:maven-jxr-plugin from 3.4.0 to 3.5.0 (#…
dependabot[bot] Aug 23, 2024
d72ca02
Bump nl.jqno.equalsverifier:equalsverifier from 3.16.1 to 3.16.2 (#13…
dependabot[bot] Aug 23, 2024
32ed101
Bump software.amazon.awssdk:bom from 2.27.10 to 2.27.11 (#13884)
dependabot[bot] Aug 23, 2024
3a75d4a
Binary Workload Scheduler for constrained execution of a set of queri…
vvivekiyer Aug 24, 2024
86d21b8
Add more observability and metrics to track upsert rate of deletion (…
tibrewalpratik17 Aug 26, 2024
007469c
Bump com.puppycrawl.tools:checkstyle from 10.17.0 to 10.18.0 (#13886)
dependabot[bot] Aug 26, 2024
2724dff
Bump com.microsoft.azure:msal4j from 1.16.2 to 1.17.0 (#13887)
dependabot[bot] Aug 26, 2024
0f128a7
Bump com.github.seancfoley:ipaddress from 5.5.0 to 5.5.1 (#13888)
dependabot[bot] Aug 26, 2024
b77a97c
Bump software.amazon.awssdk:bom from 2.27.11 to 2.27.12 (#13889)
dependabot[bot] Aug 26, 2024
dac1d14
Bump elliptic in /pinot-controller/src/main/resources (#13826)
dependabot[bot] Aug 27, 2024
d8ca448
[Hotfix] init correct upsert manager with _enableDeletedKeysCompactio…
tibrewalpratik17 Aug 27, 2024
ba771ca
Bump software.amazon.awssdk:bom from 2.27.12 to 2.27.13 (#13894)
dependabot[bot] Aug 27, 2024
7d82474
Remove Kafka 0.9 plugin. (#13893)
abhioncbr Aug 27, 2024
64eb323
Upgrade dependencies to fix vulnerabitilites (#13892)
Jackie-Jiang Aug 27, 2024
6323ee9
Honor the column max length property while populating min/max values …
raghavyadav01 Aug 28, 2024
1702ea2
Log nullable columns on creation (#13868)
gortiz Aug 28, 2024
198b6d8
Add missing dependencies to pinot-perf for JMH benchmarks (#13895)
yashmayya Aug 28, 2024
1f838ef
Minor improvements to polymorphic scalar comparison functions for bet…
yashmayya Aug 28, 2024
fb7e081
Bump org.mockito:mockito-core from 5.12.0 to 5.13.0 (#13903)
dependabot[bot] Aug 28, 2024
d3e2598
Bump com.azure:azure-sdk-bom from 1.2.26 to 1.2.27 (#13900)
dependabot[bot] Aug 28, 2024
ca7fafd
Bump software.amazon.awssdk:bom from 2.27.13 to 2.27.14 (#13899)
dependabot[bot] Aug 28, 2024
f8de958
Use argument type to lookup function for literal only query (#13673)
Jackie-Jiang Aug 28, 2024
ae97265
#12117 Support for Server & Controller API to check for Segments relo…
deepthi912 Aug 28, 2024
957a1cc
Enable `noRawDataForTextIndex` for the mutable segment when re-use mu…
itschrispeck Aug 28, 2024
c662e43
UI Load time Improvement API Fixes #13278 (#13296)
deepthi912 Aug 28, 2024
d3eaea6
Improve column null handling (#13839)
gortiz Aug 29, 2024
bb29d93
Bump parquet.version from 1.14.1 to 1.14.2 (#13909)
dependabot[bot] Aug 29, 2024
36b009d
Bump com.github.luben:zstd-jni from 1.5.6-4 to 1.5.6-5 (#13910)
dependabot[bot] Aug 29, 2024
1121b29
Bump software.amazon.awssdk:bom from 2.27.14 to 2.27.15 (#13911)
dependabot[bot] Aug 29, 2024
e9b898d
Bump com.google.errorprone:error_prone_annotations from 2.30.0 to 2.3…
dependabot[bot] Aug 29, 2024
82f315e
Fix race condition in shared literal transform functions (#13916)
Jackie-Jiang Aug 30, 2024
7522d8a
Support ComplexFieldSpec in Schema and column metadata (#13905)
xiangfu0 Aug 30, 2024
e14d887
Remove Hardcoded Swagger Version (#13917)
ankitsultana Aug 30, 2024
fc132c3
Debug endpoints to fetch effective query quotas on broker (#13864)
shounakmk219 Aug 30, 2024
cf52567
Improve null handling performance for nullable single input aggregati…
yashmayya Aug 30, 2024
d43f8aa
Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 (#13918)
dependabot[bot] Aug 30, 2024
09d1560
Bump org.locationtech.jts:jts-core from 1.19.0 to 1.20.0 (#13919)
dependabot[bot] Aug 30, 2024
905dc82
Bump software.amazon.awssdk:bom from 2.27.15 to 2.27.16 (#13920)
dependabot[bot] Aug 30, 2024
a076fce
Introduce pinot-plugin assembly-desciptor as a better alternative tha…
rfscholte Sep 2, 2024
e8f5e9b
Enforce max rows in join limit on joined rows with left input as well…
yashmayya Sep 2, 2024
add121e
Add javadoc and improve usability of FluentQueryTest (#13817)
gortiz Sep 2, 2024
3f324a4
Reduce the overhead of PinotHelixResourceManager.getSegmentsFor() whe…
Jackie-Jiang Sep 3, 2024
d008709
Add OOM Protection Support for Multi-Stage Queries (#13598)
vrajat Sep 3, 2024
78be114
Bump com.microsoft.azure:msal4j from 1.17.0 to 1.17.1 (#13923)
dependabot[bot] Sep 3, 2024
dffdb6b
Bump software.amazon.awssdk:bom from 2.27.16 to 2.27.17 (#13924)
dependabot[bot] Sep 3, 2024
240507b
Bump com.puppycrawl.tools:checkstyle from 10.18.0 to 10.18.1 (#13926)
dependabot[bot] Sep 3, 2024
c323ec1
Bump org.yaml:snakeyaml from 2.2 to 2.3 (#13925)
dependabot[bot] Sep 3, 2024
d9a0c77
Bump org.codehaus.mojo:buildnumber-maven-plugin from 3.2.0 to 3.2.1 (…
dependabot[bot] Sep 3, 2024
f50f321
Expose Get Segments/Table Config Change capture (#13915)
deepthi912 Sep 4, 2024
b66efb8
Move schema related tests to pinot-spi (#13929)
Jackie-Jiang Sep 4, 2024
d411f34
Remove unnecessary plugin version override (#13932)
Jackie-Jiang Sep 4, 2024
04bc16e
Code format fixes for HashJoinOperator (#13933)
yashmayya Sep 4, 2024
4d50174
Allow table names in TableConfigs with or without database name when …
shounakmk219 Sep 4, 2024
c3e3486
CSVRecordReader. Refactor init and line iterator parsing logic (#13913)
suvodeep-pyne Sep 4, 2024
2ac6011
Short circuit the deleteSegments method when segmentNames is empty (#…
xiangfu0 Sep 4, 2024
7089864
Bump software.amazon.awssdk:bom from 2.27.17 to 2.27.18 (#13935)
dependabot[bot] Sep 4, 2024
5761aba
Bump eclipse.jetty.version from 9.4.55.v20240627 to 9.4.56.v20240826 …
dependabot[bot] Sep 4, 2024
71dd921
fix log typo to avoid confusion. (#13942)
aishikbh Sep 5, 2024
f196888
Bump org.checkerframework:checker-qual from 3.46.0 to 3.47.0 (#13938)
dependabot[bot] Sep 5, 2024
2ed75bc
Bump software.amazon.awssdk:bom from 2.27.18 to 2.27.19 (#13939)
dependabot[bot] Sep 5, 2024
bc4e3a3
Bump io.netty:netty-bom from 4.1.112.Final to 4.1.113.Final (#13940)
dependabot[bot] Sep 5, 2024
7ddb7a4
In SchemaConformingTransformer, Flatten array into multiple entries e…
chenboat Sep 5, 2024
50ad070
[Spark Connector] Write support for creating Pinot segments (#13748)
cbalci Sep 5, 2024
6e8333a
Flaky test fix. Query only 1 broker to test quota split (#13771)
shounakmk219 Sep 6, 2024
4fec264
Bump software.amazon.awssdk:bom from 2.27.19 to 2.27.20 (#13945)
dependabot[bot] Sep 6, 2024
50a724f
Bump com.gradle:common-custom-user-data-maven-extension from 2 to 2.0…
dependabot[bot] Sep 6, 2024
fc6e690
Add support for configuring aggregation function parameters in the st…
yashmayya Sep 6, 2024
edb1301
add metric for time retention failing due to end time (#13879)
jadami10 Sep 6, 2024
f5327a5
Acquire IdealStateUpdaterLock for PinotLLCRealtimeSegmentManager Idea…
xiangfu0 Sep 7, 2024
3b0d92d
executor-spi (#13921)
gortiz Sep 9, 2024
a9e4e52
[Backfill] flink based upsert table backfill support (#13837)
rohityadav1993 Sep 9, 2024
d73aa1e
Add Segment Relocator Rebalance Configs to Controller Conf (#13863)
suddendust Sep 9, 2024
f028400
Bump log4j.version from 2.23.1 to 2.24.0 (#13958)
dependabot[bot] Sep 9, 2024
da2c3e3
Bump circe.version from 0.14.9 to 0.14.10 (#13960)
dependabot[bot] Sep 9, 2024
520eb99
Rename dangling occurrences of StageNode to PlanNode (#13962)
yashmayya Sep 9, 2024
05d7fd8
Bump software.amazon.awssdk:bom from 2.27.20 to 2.27.21 (#13961)
dependabot[bot] Sep 9, 2024
f157858
Address comments for Segment Relocator Rebalance Config (#13963)
Jackie-Jiang Sep 9, 2024
b828280
Part-1: Pinot Timeseries Engine SPI (#13885)
ankitsultana Sep 9, 2024
5eb424a
Remove Calcite EnumerableRules because we don't rely on enumerable ca…
Jackie-Jiang Sep 9, 2024
d04e361
Improve dimension table handing (#13967)
Jackie-Jiang Sep 10, 2024
ffc72b1
Add @JsonProperty annotation to LeadControllerEntry & LeadControllerR…
deepthi912 Sep 10, 2024
9c2180b
Bump software.amazon.awssdk:bom from 2.27.21 to 2.27.22 (#13970)
dependabot[bot] Sep 10, 2024
48158c4
Bump com.nimbusds:nimbus-jose-jwt from 9.40 to 9.41 (#13971)
dependabot[bot] Sep 10, 2024
601c5b7
Handling of empty server tags in controller's availability check (#13…
anandheritage Sep 10, 2024
da46319
Bump body-parser and express in /pinot-controller/src/main/resources …
dependabot[bot] Sep 10, 2024
051d927
Add commons-beanutils as dependency (#13973)
Jackie-Jiang Sep 11, 2024
ca7abbf
Bump org.xerial.snappy:snappy-java from 1.1.10.6 to 1.1.10.7 (#13978)
dependabot[bot] Sep 11, 2024
83a71d2
Bump software.amazon.awssdk:bom from 2.27.22 to 2.27.23 (#13979)
dependabot[bot] Sep 11, 2024
604b244
Optimize Adaptive Server Selection (#13952)
praveenc7 Sep 12, 2024
58f2e97
Bump path-to-regexp in /pinot-controller/src/main/resources (#13980)
dependabot[bot] Sep 12, 2024
2670927
Move untar method to BaseTaskExecutor and untar with peerDownload seg…
tibrewalpratik17 Sep 12, 2024
c3fc1b9
[Multi-stage] Only track max joined rows within each block (#13981)
Jackie-Jiang Sep 12, 2024
c25a270
Bump software.amazon.awssdk:bom from 2.27.23 to 2.27.24 (#13985)
dependabot[bot] Sep 12, 2024
35be9a7
Bump org.apache.httpcomponents.core5:httpcore5 from 5.2.5 to 5.3 (#13…
dependabot[bot] Sep 12, 2024
920b7ed
Bump com.nimbusds:nimbus-jose-jwt from 9.41 to 9.41.1 (#13987)
dependabot[bot] Sep 12, 2024
266073e
Bump com.google.errorprone:error_prone_annotations from 2.31.0 to 2.3…
dependabot[bot] Sep 12, 2024
855d3e5
Bump com.google.protobuf:protobuf-bom from 3.25.3 to 3.25.4 (#13988)
dependabot[bot] Sep 12, 2024
de577bc
Add broker config to set default query null handling behavior (#13977)
yashmayya Sep 13, 2024
f546add
[bugfix] Init BrokerQueryEventListener (#13995)
tibrewalpratik17 Sep 13, 2024
ec3d6ed
add support to differentiate null and emptyLists for multi-value colu…
deemoliu Sep 13, 2024
24b16ae
Bump okio.version from 3.9.0 to 3.9.1 (#13996)
dependabot[bot] Sep 13, 2024
eaf037d
Bump software.amazon.awssdk:bom from 2.27.24 to 2.28.0 (#13998)
dependabot[bot] Sep 13, 2024
4b38860
Allow to build index on preserved field in SchemaConformingTransforme…
lnbest0707-uber Sep 14, 2024
717895b
Group commit IdealState updates (#13976)
xiangfu0 Sep 14, 2024
4a26fba
minor: changes as a follow up PR (#14000)
anandheritage Sep 15, 2024
3df697c
Kafka3 support (#13891)
abhioncbr Sep 16, 2024
074fffc
Bump jna.version from 5.14.0 to 5.15.0 (#14004)
dependabot[bot] Sep 16, 2024
f25b3f1
Bump joda-time:joda-time from 2.12.7 to 2.13.0 (#14006)
dependabot[bot] Sep 16, 2024
b47fae9
Bump software.amazon.awssdk:bom from 2.28.0 to 2.28.1 (#14007)
dependabot[bot] Sep 16, 2024
c565a83
Enforce removeSegment flow with _enableDeletedKeysCompactionConsisten…
tibrewalpratik17 Sep 17, 2024
21ff6bf
TLS Configuration Support for QueryServer and Dispatch Client (#13645)
anandheritage Sep 18, 2024
dfc2cd0
RealtimeSegmentConverter was using incorrect schema (#13877)
gortiz Sep 18, 2024
e5df02c
Improve performance of DataBlock serde (#13303)
gortiz Sep 18, 2024
3aab305
Support of classrealms and new plugin structure (#13930)
rfscholte Sep 18, 2024
faddaa1
Move coverage to its own profile
rfscholte Sep 18, 2024
51f0f70
Simple (lazy) check to prevent recompilation of code. (#13969)
rfscholte Sep 18, 2024
e9271f6
Storage Quota imposition on Realtime tables (#13584)
shounakmk219 Sep 18, 2024
23b4635
Bump software.amazon.awssdk:bom from 2.28.1 to 2.28.3 (#14018)
dependabot[bot] Sep 18, 2024
1c17306
Bump com.google.cloud:libraries-bom from 26.44.0 to 26.46.0 (#14020)
dependabot[bot] Sep 18, 2024
011535a
Bump org.roaringbitmap:RoaringBitmap from 1.2.1 to 1.3.0 (#14022)
dependabot[bot] Sep 18, 2024
dbd0f3b
track newly added segments for upsert tables for a more complete upse…
klsince Sep 18, 2024
be674f2
Bump spark3.version from 3.5.2 to 3.5.3 (#14021)
dependabot[bot] Sep 18, 2024
2dd7cca
remove checks introduced in https://github.com/apache/pinot/issues/12…
jasperjiaguo Sep 18, 2024
956b7cf
Increase unit test coverage for AbstractMetrics (#13991)
spanasch Sep 18, 2024
4a7a1cd
Don't replace environment variables and system properties in get tabl…
yashmayya Sep 18, 2024
9c44ef7
Part-2: Add Combine and Segment Level Operators for Time Series (#13999)
ankitsultana Sep 19, 2024
9748dd0
fixing python library in ms-openjdk.dockerfile (#14028)
xiangfu0 Sep 19, 2024
2de61de
Remove `recreateDeletedConsumingSegment` flag from RealtimeSegmentVal…
shounakmk219 Sep 19, 2024
e163668
Bump software.amazon.awssdk:bom from 2.28.3 to 2.28.4 (#14036)
dependabot[bot] Sep 19, 2024
3a16c6b
The apache-jar-resource-bundle was processed twice with different ver…
rfscholte Sep 19, 2024
0f98672
Update README.md to mention new important Maven profiles (#14039)
gortiz Sep 19, 2024
0aa07c2
Bump commons-io:commons-io from 2.16.1 to 2.17.0 (#14033)
dependabot[bot] Sep 19, 2024
3aeaee9
Bump com.google.cloud:libraries-bom from 26.46.0 to 26.47.0 (#14034)
dependabot[bot] Sep 20, 2024
f976cda
remove parent relative path, which was incorrect (#14037)
gortiz Sep 20, 2024
75b7b6f
Improvements to OOM protection for Multi-Stage Engine (#13955)
vrajat Sep 20, 2024
5673f94
Bump software.amazon.awssdk:bom from 2.28.4 to 2.28.5 (#14044)
dependabot[bot] Sep 20, 2024
345896b
Updated stream Ingestion Readme (#14043)
abhioncbr Sep 20, 2024
c59061f
Trying to prevent confusion regarding these jars that are actually te…
rfscholte Sep 23, 2024
687659d
Fix vulnerabilities for msopenjdk 11 pinot-base-runtime image. (#14030)
abhioncbr Sep 23, 2024
4b8672f
Bump com.github.eirslett:frontend-maven-plugin from 1.15.0 to 1.15.1 …
dependabot[bot] Sep 23, 2024
04f4b31
Bump io.github.hakky54:sslcontext-kickstart-for-netty (#14055)
dependabot[bot] Sep 23, 2024
7faa949
Bump com.github.luben:zstd-jni from 1.5.6-5 to 1.5.6-6 (#14057)
dependabot[bot] Sep 23, 2024
944c406
Bump org.jline:jline from 3.26.3 to 3.27.0 (#14058)
dependabot[bot] Sep 23, 2024
be44a69
Bump io.grpc:grpc-bom from 1.66.0 to 1.68.0 (#14060)
dependabot[bot] Sep 23, 2024
9e41388
Bump dnsjava:dnsjava from 3.6.1 to 3.6.2 (#14061)
dependabot[bot] Sep 23, 2024
a706581
Bump software.amazon.awssdk:bom from 2.28.5 to 2.28.6 (#14062)
dependabot[bot] Sep 23, 2024
f618cf3
Improve database handling in multi-stage engine (#14040)
Jackie-Jiang Sep 23, 2024
4bfa6ee
Make Custom Config Optional (#14014)
ashishjayamohan Sep 23, 2024
c395d09
Part-3: Working E2E Quickstart for Time Series Engine (#14048)
ankitsultana Sep 24, 2024
1e771ea
Fix behavior for distinct sum and distinct avg when all values are nu…
yashmayya Sep 24, 2024
c484fef
Multi stage explain (#13733)
gortiz Sep 24, 2024
c80b8fd
[Multi-stage] Clean up unnecessary checks in rules (#14066)
Jackie-Jiang Sep 24, 2024
90e7562
Added support to upload segments in batch mode with METADATA upload t…
rajagopr Sep 24, 2024
49896eb
Fix build after merging #13646 (#14072)
Jackie-Jiang Sep 24, 2024
a5a114e
Bump org.apache.commons:commons-csv from 1.11.0 to 1.12.0 (#14077)
dependabot[bot] Sep 25, 2024
2696a52
Bump nl.jqno.equalsverifier:equalsverifier from 3.16.2 to 3.17 (#14078)
dependabot[bot] Sep 25, 2024
1893d77
Bump org.jetbrains:annotations from 24.1.0 to 25.0.0 (#14079)
dependabot[bot] Sep 25, 2024
ffa6bd0
Bump com.mycila:license-maven-plugin from 4.5 to 4.6 (#14080)
dependabot[bot] Sep 25, 2024
852e4f3
Update list of collaborators (#14086)
yashmayya Sep 26, 2024
4f113a8
test the checking logic of whether segment preloading is enabled for …
klsince Sep 26, 2024
6908bc2
Bump org.wildfly.common:wildfly-common from 2.0.0 to 2.0.1 (#14091)
dependabot[bot] Sep 26, 2024
7668b21
Handling null cases in sum,min,max series builders (#14084)
raghavyadav01 Sep 26, 2024
bba61ee
Make ingestion offset delay metric configurable (#14074)
KKcorps Sep 27, 2024
4709954
Part-4: Remove Unnecessary TimeSeries Materialization + Minor Cleanup…
ankitsultana Sep 27, 2024
3eef306
Adding gauge unit tests for AbstractMetrics (#14064)
shauryachats Sep 27, 2024
fce17d3
Do not allow setting TableConfig in IndexLoadingConfig after construc…
Jackie-Jiang Sep 27, 2024
ad1eda5
fix checks on largest comparison value for upsert ttl and allow to ad…
klsince Sep 28, 2024
591f193
Add broker API to run a query on both query engines and compare resul…
yashmayya Sep 30, 2024
546e8b1
Cleanup PluginManager's incorrect usage of environment variables vs s…
yashmayya Sep 30, 2024
dac174e
Fix license headers in pinot-kafka-3.0 (#14112)
yashmayya Sep 30, 2024
96abef8
Add a server level config for segment server upload to deep store. (#…
raghavyadav01 Sep 30, 2024
b56585b
Bump log4j.version from 2.24.0 to 2.24.1 (#14116)
dependabot[bot] Sep 30, 2024
b3721ac
Bump org.mockito:mockito-core from 5.13.0 to 5.14.1 (#14119)
dependabot[bot] Sep 30, 2024
249d5ce
Bump com.puppycrawl.tools:checkstyle from 10.18.1 to 10.18.2 (#14121)
dependabot[bot] Sep 30, 2024
4ba11e5
Part-5: Fix Offset Handling and Effective Time Filter + Enable Group-…
ankitsultana Sep 30, 2024
f07685d
#14095 update the contribution link (#14096)
engrravijain Sep 30, 2024
3452ef9
Improve Adaptive Server Selection to penalize servers returning serve…
kiruphabalu Sep 30, 2024
19b79f4
Polymorphic binary arithmetic scalar functions (#14089)
yashmayya Sep 30, 2024
56ccbc3
Revert "Make ingestion offset delay metric configurable (#14074)" (#1…
KKcorps Oct 1, 2024
8130f26
Bump testcontainers.version from 1.20.1 to 1.20.2 (#14129)
dependabot[bot] Oct 1, 2024
8a227e0
Bump com.nimbusds:nimbus-jose-jwt from 9.41.1 to 9.41.2 (#14131)
dependabot[bot] Oct 1, 2024
f7521d5
Bump com.azure:azure-sdk-bom from 1.2.27 to 1.2.28 (#14132)
dependabot[bot] Oct 1, 2024
7585bce
Bump com.google.errorprone:error_prone_annotations from 2.32.0 to 2.3…
dependabot[bot] Oct 1, 2024
f64178c
Bump software.amazon.awssdk:bom from 2.28.6 to 2.28.12 (#14130)
dependabot[bot] Oct 1, 2024
50249f3
Refactor ForwardIndexHandlerTest and avoid using setters for IndexLoa…
Jackie-Jiang Oct 1, 2024
deefd08
Bump com.microsoft.azure:msal4j from 1.17.1 to 1.17.2 (#14117)
dependabot[bot] Oct 2, 2024
49126f2
Polymorphic scalar function implementation for BETWEEN (#14113)
yashmayya Oct 2, 2024
e4a9f15
Add watermark for dedup TTL (#14137)
klsince Oct 2, 2024
c1cd47e
Enabling JSON column for groupBy in time series and proper handling f…
raghavyadav01 Oct 2, 2024
ed5554d
Refactor SegmentPreProcessorTest and avoid using setters for IndexLoa…
Jackie-Jiang Oct 2, 2024
e9547f1
Test Classes Cleanup For Setters of IndexLoadingConfig #14106 (#14140)
deepthi912 Oct 2, 2024
9c1ffc5
Bump io.netty:netty-bom from 4.1.113.Final to 4.1.114.Final (#14146)
dependabot[bot] Oct 2, 2024
143ffd7
Upgrade Avro and ORC to the latest compatible version (#14148)
Jackie-Jiang Oct 2, 2024
ea103c1
Support map type in complex schema (#13906)
xiangfu0 Oct 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ github:
rebase: false
collaborators:
- sullis
- shenyu0127
- tibrewalpratik17
- yashmayya
- abhioncbr
- zhtaoxiang
- shounakmk219
- itschrispeck
- zhtaoxiang
- soumitra-st
- swaminathanmanish
- yashmayya
- suddendust
- vrajat
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ updates:
schedule:
interval: "daily"
open-pull-requests-limit: 20
ignore:
- dependency-name: "org.apache.pinot:pinot-dropwizard"
# Locked test resource for pinot-spi/src/test/java/org/apache/pinot/spi/plugin/ClassLoaderTest.java
versions: ["0.10.0"]
- dependency-name: "org.apache.pinot:pinot-yammer"
# Locked test resource for pinot-spi/src/test/java/org/apache/pinot/spi/plugin/ClassLoaderTest.java
versions: ["0.10.0"]
- dependency-name: "commons-io:commons-io"
# Locked test resource for pinot-spi/src/test/java/org/apache/pinot/spi/plugin/ClassLoaderTest.java
versions: ["2.11.0"]
- dependency-name: "com.yammer.metrics:metrics-core"
# Locked test resource for pinot-spi/src/test/java/org/apache/pinot/spi/plugin/ClassLoaderTest.java
versions: ["2.1.5"]

- package-ecosystem: "npm"
directory: "/pinot-controller/src/main/resources"
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/pinot_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ jobs:
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
run: .github/workflows/scripts/pr-tests/.pinot_tests_build.sh
- name: Unit Test
env:
Expand All @@ -140,6 +145,11 @@ jobs:
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
run: .github/workflows/scripts/pr-tests/.pinot_tests_unit.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down Expand Up @@ -267,7 +277,7 @@ jobs:
matrix:
test_suite: [ "compatibility-verifier/sample-test-suite" ]
old_commit: [
"release-1.0.0", "release-1.1.0", "master"
"release-1.0.0", "release-1.2.0", "master"
]
name: Pinot Compatibility Regression Testing against ${{ matrix.old_commit }} on ${{ matrix.test_suite }}
steps:
Expand Down Expand Up @@ -323,7 +333,7 @@ jobs:
matrix:
test_suite: [ "compatibility-verifier/multi-stage-query-engine-test-suite" ]
old_commit: [
"master"
"release-1.2.0", "master"
]
name: Pinot Multi-Stage Query Engine Compatibility Regression Testing against ${{ matrix.old_commit }} on ${{ matrix.test_suite }}
steps:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/scripts/.pinot_vuln_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ docker build \
--tag ${DOCKER_IMAGE_NAME}:${PINOT_SHA} \
.

docker builder prune -a -f

docker image prune -f

docker image ls
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ netstat -i
cd pinot-integration-tests || exit 1
if [ "$RUN_TEST_SET" == "1" ]; then
mvn test \
-P github-actions,custom-cluster-integration-test-suite || exit 1
-P github-actions,codecoverage,custom-cluster-integration-test-suite || exit 1
fi
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ netstat -i
cd pinot-integration-tests || exit 1
if [ "$RUN_TEST_SET" == "1" ]; then
mvn test \
-P github-actions,integration-tests-set-1 && exit 0 || exit 1
-P github-actions,codecoverage,integration-tests-set-1 && exit 0 || exit 1
fi
if [ "$RUN_TEST_SET" == "2" ]; then
mvn test \
-P github-actions,integration-tests-set-2 && exit 0 || exit 1
-P github-actions,codecoverage,integration-tests-set-2 && exit 0 || exit 1
fi
6 changes: 4 additions & 2 deletions .github/workflows/scripts/pr-tests/.pinot_tests_unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if [ "$RUN_TEST_SET" == "1" ]; then
-pl 'pinot-core' \
-pl 'pinot-query-planner' \
-pl 'pinot-query-runtime' \
-P github-actions,no-integration-tests || exit 1
-P github-actions,codecoverage,no-integration-tests || exit 1
fi
if [ "$RUN_TEST_SET" == "2" ]; then
mvn test -T 16 \
Expand All @@ -48,5 +48,7 @@ if [ "$RUN_TEST_SET" == "2" ]; then
-pl '!pinot-query-planner' \
-pl '!pinot-query-runtime' \
-pl '!:pinot-yammer' \
-P github-actions,no-integration-tests || exit 1
-P github-actions,codecoverage,no-integration-tests || exit 1
fi

mvn jacoco:report-aggregate@report -P codecoverage || exit 1
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ yarn-error.log*
quickstart*

#build symlink directory
build*
build
build/*

#helm related files
kubernetes/helm/**/charts/
Expand Down
2 changes: 1 addition & 1 deletion .mvn/extensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
<extension>
<groupId>com.gradle</groupId>
<artifactId>common-custom-user-data-maven-extension</artifactId>
<version>2</version>
<version>2.0.1</version>
</extension>
</extensions>
17 changes: 8 additions & 9 deletions LICENSE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ com.typesafe.netty:netty-reactive-streams:2.0.4
com.typesafe.scala-logging:scala-logging_2.12:3.9.2
com.uber:h3:4.1.1
com.yammer.metrics:metrics-core:2.2.0
com.yscope.clp:clp-ffi:0.4.4
com.yscope.clp:clp-ffi:0.4.5
com.zaxxer:HikariCP-java7:2.4.13
commons-cli:commons-cli:1.8.0
commons-codec:commons-codec:1.17.0
Expand Down Expand Up @@ -361,10 +361,10 @@ io.opencensus:opencensus-proto:0.2.0
io.opentelemetry:opentelemetry-api-incubator:1.37.0-alpha
io.opentelemetry:opentelemetry-api:1.37.0
io.opentelemetry:opentelemetry-context:1.37.0
io.perfmark:perfmark-api:0.27.0
io.perfmark:perfmark-api:0.26.0
io.projectreactor.netty:reactor-netty-core:1.0.45
io.projectreactor.netty:reactor-netty-http:1.0.45
io.projectreactor:reactor-core:3.4.48
io.projectreactor:reactor-core:3.4.38
io.swagger.core.v3:swagger-annotations:2.1.10
io.swagger:swagger-annotations:1.6.14
io.swagger:swagger-core:1.6.14
Expand Down Expand Up @@ -487,8 +487,8 @@ org.apache.yetus:audience-annotations:0.15.0
org.apache.zookeeper:zookeeper-jute:3.9.2
org.apache.zookeeper:zookeeper:3.9.2
org.apiguardian:apiguardian-api:1.1.2
org.asynchttpclient:async-http-client-netty-utils:2.12.3
org.asynchttpclient:async-http-client:2.12.3
org.asynchttpclient:async-http-client-netty-utils:3.0.0
org.asynchttpclient:async-http-client:3.0.0
org.codehaus.groovy:groovy-all:2.4.21
org.conscrypt:conscrypt-openjdk-uber:2.5.2
org.eclipse.jetty.websocket:websocket-api:9.4.54.v20240208
Expand All @@ -503,7 +503,7 @@ org.jetbrains.kotlin:kotlin-stdlib-common:1.9.24
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.24
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.24
org.jetbrains.kotlin:kotlin-stdlib:1.9.24
org.jetbrains:annotations:17.0
org.jetbrains:annotations:17.0.0
org.locationtech.proj4j:proj4j:1.2.2
org.lz4:lz4-java:1.8.0
org.objenesis:objenesis:2.1
Expand Down Expand Up @@ -583,7 +583,6 @@ net.sf.jopt-simple:jopt-simple:5.0.4
net.sourceforge.argparse4j:argparse4j:0.7.0
org.checkerframework:checker-qual:3.44.0
org.codehaus.mojo:animal-sniffer-annotations:1.23
org.projectlombok:lombok:1.18.30
org.reactivestreams:reactive-streams:1.0.4
org.slf4j:slf4j-api:2.0.13
org.slf4j:slf4j-reload4j:1.7.36
Expand Down Expand Up @@ -628,7 +627,7 @@ Common Development and Distribution License (CDDL) 1.0
(see licenses/LICENSE-cddl-1.0.txt)

com.sun.activation:javax.activation:1.2.0
org.glassfish.jersey.containers:jersey-container-servlet-core:2.39
org.glassfish.jersey.containers:jersey-container-servlet-core:2.42


Common Development and Distribution License (CDDL) 1.1
Expand All @@ -637,7 +636,7 @@ Common Development and Distribution License (CDDL) 1.1

com.github.pjfanning:jersey-json:1.20
com.sun.xml.bind:jaxb-impl:2.2.3-1
javax.activation:activation-api:1.2.0
javax.activation:javax.activation-api:1.2.0
javax.annotation:javax.annotation-api:1.3.2
javax.servlet:javax.servlet-api:4.0.1
javax.xml.bind:jaxb-api:2.3.1
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ SELECT sum(clicks), sum(impressions) FROM AdAnalyticsTable
daysSinceEpoch TOP 100
```

## Contributing to Pinot
Please refer to the [Contribution Guide](https://docs.pinot.apache.org/developers/developers-and-contributors/contribution-guidelines) for
more information on how to contribute to Apache Pinot.

Normal Pinot builds are done using the `mvn clean install` command.
However this command can take a long time to run.
For faster builds it is recommended to use `mvn verify -Ppinot-fastdev`, which disables some plugins that are not
actually needed for development.

## Building Pinot
More detailed instructions can be found at [Quick Demo](https://docs.pinot.apache.org/basics/getting-started/quick-start) section in the documentation.
```
Expand All @@ -95,7 +104,9 @@ $ git clone https://github.com/apache/pinot.git
$ cd pinot

# Build Pinot
$ mvn clean install -DskipTests -Pbin-dist
# -Pbin-dist is required to build the binary distribution
# -Pbuild-shaded-jar is required to build the shaded jar, which is necessary for some features like spark connectors
$ mvn clean install -DskipTests -Pbin-dist -Pbuild-shaded-jar

# Run the Quick Demo
$ cd build/
Expand Down
6 changes: 3 additions & 3 deletions doap_Pinot.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ It's perfect for user-facing real-time analytics and other analytical use cases,
<category rdf:resource="https://projects.apache.org/category/big-data" />
<release>
<Version>
<name>1.1.0</name>
<created>2024-03-24</created>
<revision>1.1.0</revision>
<name>1.2.0</name>
<created>2024-08-20</created>
<revision>1.2.0</revision>
</Version>
</release>
<repository>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@
ARG JAVA_VERSION=11
ARG JDK_IMAGE=mcr.microsoft.com/openjdk/jdk

FROM ${JDK_IMAGE}:${JAVA_VERSION}-ubuntu
FROM ${JDK_IMAGE}:${JAVA_VERSION}-ubuntu AS builder

FROM ubuntu:24.10
ARG JAVA_VERSION
ENV LANG=en_US.UTF-8
ENV JAVA_HOME="/usr/lib/jvm/msopenjdk-${JAVA_VERSION}"
ENV PATH="${JAVA_HOME}/bin:${PATH}"
COPY --from=builder $JAVA_HOME $JAVA_HOME

LABEL [email protected]

RUN apt-get update && \
apt-get install -y --no-install-recommends vim less wget curl git python sysstat procps linux-tools-generic libtasn1-6 zstd && \
apt-get install -y --no-install-recommends vim less wget curl git python-is-python3 sysstat procps linux-tools-generic libtasn1-6 zstd ca-certificates && \
rm -rf /var/lib/apt/lists/*

RUN case `uname -m` in \
Expand Down
15 changes: 3 additions & 12 deletions pinot-broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<artifactId>pinot</artifactId>
<groupId>org.apache.pinot</groupId>
<version>1.3.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<artifactId>pinot-broker</artifactId>
<name>Pinot Broker</name>
Expand All @@ -36,34 +35,27 @@
<dependencies>
<dependency>
<groupId>org.apache.pinot</groupId>
<artifactId>pinot-core</artifactId>
<artifactId>pinot-query-runtime</artifactId>
</dependency>
<dependency>
<groupId>org.apache.pinot</groupId>
<artifactId>pinot-query-planner</artifactId>
<artifactId>pinot-timeseries-spi</artifactId>
</dependency>
<dependency>
<groupId>org.apache.pinot</groupId>
<artifactId>pinot-query-runtime</artifactId>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<artifactId>pinot-timeseries-planner</artifactId>
</dependency>

<!-- Test -->
<dependency>
<groupId>org.apache.pinot</groupId>
<artifactId>pinot-common</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.pinot</groupId>
<artifactId>pinot-core</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand All @@ -75,7 +67,6 @@
<dependency>
<groupId>org.apache.pinot</groupId>
<artifactId>pinot-controller</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import javax.ws.rs.core.Response;
import org.apache.commons.lang3.tuple.Pair;
import org.apache.pinot.broker.broker.AccessControlFactory;
import org.apache.pinot.broker.queryquota.QueryQuotaManager;
import org.apache.pinot.broker.routing.BrokerRoutingManager;
import org.apache.pinot.common.request.BrokerRequest;
import org.apache.pinot.common.utils.DatabaseUtils;
Expand Down Expand Up @@ -92,6 +93,9 @@ public class PinotBrokerDebug {
@Inject
private ServerRoutingStatsManager _serverRoutingStatsManager;

@Inject
private QueryQuotaManager _queryQuotaManager;

@Inject
AccessControlFactory _accessControlFactory;

Expand Down Expand Up @@ -295,4 +299,28 @@ public Collection<? extends QueryResourceTracker> getQueryUsage() {
ThreadResourceUsageAccountant threadAccountant = Tracing.getThreadAccountant();
return threadAccountant.getQueryResources().values();
}

@GET
@Path("debug/tables/queryQuota/{tableName}")
@Produces(MediaType.TEXT_PLAIN)
@Authorize(targetType = TargetType.TABLE, paramName = "tableName", action = Actions.Table.GET_TABLE_QUERY_QUOTA)
@ApiOperation(value = "Get the active query quota being imposed on the table", notes = "This is a debug endpoint, "
+ "and won't maintain backward compatibility")
public String getTableQueryQuota(
@ApiParam(value = "Name of the table with type") @PathParam("tableName") String tableName,
@Context HttpHeaders headers) {
tableName = DatabaseUtils.translateTableName(tableName, headers);
return String.valueOf(_queryQuotaManager.getTableQueryQuota(tableName));
}

@GET
@Path("debug/databases/queryQuota/{databaseName}")
@Produces(MediaType.TEXT_PLAIN)
@Authorize(targetType = TargetType.CLUSTER, action = Actions.Cluster.GET_DATABASE_QUERY_QUOTA)
@ApiOperation(value = "Get the active query quota being imposed on the database", notes = "This is a debug endpoint, "
+ "and won't maintain backward compatibility")
public String getDatabaseQueryQuota(
@ApiParam(value = "Name of the database") @PathParam("databaseName") String databaseName) {
return String.valueOf(_queryQuotaManager.getDatabaseQueryQuota(databaseName));
}
}
Loading