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

#7714 ignore query options from commented out queries #4

Draft
wants to merge 248 commits into
base: #7714-ignore-query-options-in-commented-out-queries
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
248 commits
Select commit Hold shift + click to select a range
4db918c
[#7714] Update regex to ignore query options from commented out queries
kriti-sc Dec 4, 2021
9a61b49
[#7714] Add regex to ignore query options from commented out queries
kriti-sc Dec 4, 2021
b9892a8
[#7714] Add regex to ignore query options from commented out queries
kriti-sc Dec 4, 2021
57c5c75
[#7714] Additional test cases
kriti-sc Dec 11, 2021
792ff25
Mask credentials in debug endpoint /appconfigs (#7452)
ramabme Sep 18, 2021
1d2e6ed
Offset based realtime consumption status checker (#7267)
sajjad-moradi Sep 20, 2021
cd292d5
Support REGEXP_EXTRACT (#7114)
walterddr Sep 20, 2021
79fe5a5
create pinot-integration-test-base module test-jar (#7399)
walterddr Sep 20, 2021
d074595
exclude healthcheck endpoint from auth (#7455)
apucher Sep 20, 2021
e849a46
Fix classpath with plugins java 8 (#7400)
kkrugler Sep 21, 2021
9b273bf
fix manifest scan which drives /version endpoint (#7456)
richardstartin Sep 21, 2021
d8c61f9
Add additional override in SegmentWriter and SegmentUploader (#7458)
walterddr Sep 21, 2021
e144314
Update some usage of BatchConfig (#7459)
walterddr Sep 21, 2021
a1fc63a
Unify CombineOperator multi-threading logic (#7450)
Jackie-Jiang Sep 21, 2021
368d7b1
add SingleSpaceSeparator rule and fix recent violations (#7467)
richardstartin Sep 22, 2021
5f14999
add causes to stack trace return (#7460)
walterddr Sep 22, 2021
040d5f7
fix auth token injection in SegmentGenerationAndPushTaskExecutor (#7464)
apucher Sep 22, 2021
0bbcbb1
add a linter checker (#7466)
walterddr Sep 23, 2021
16f9801
hotfix for #7459 (#7471)
walterddr Sep 23, 2021
e56942a
Fix missing rate limiter if brokerResourceEV becomes null due to ZK c…
jackjlli Sep 23, 2021
692ec11
add license checker to linter and fail fast (#7475)
walterddr Sep 23, 2021
9fc5249
Replace emptiness checks with `isEmpty()` (#7468)
richardstartin Sep 23, 2021
e9983c1
Fix testNoBrokerResource test (#7478)
jackjlli Sep 23, 2021
5c7204c
Revert back to use BatchIngestionConfig parameter (#7473)
walterddr Sep 23, 2021
fefa028
Fix race conditions between segment merge/roll-up and purge (or conve…
jtao15 Sep 24, 2021
beeec97
define and enforce static import code style (#7483)
richardstartin Sep 24, 2021
d5ca34d
fix segemnt uploader property in auth quickstart (#7479)
apucher Sep 24, 2021
551baf4
do not allow qualification of member variables with this (#7484)
richardstartin Sep 24, 2021
ccbb662
bit-sliced range index for int, long, float, double, dictionarized SV…
richardstartin Sep 24, 2021
df513b8
use MethodHandle to access vectorized unsigned comparison on JDK9+ (#…
richardstartin Sep 27, 2021
7cd4adf
Fix pql double quote checker exception (#7485)
walterddr Sep 28, 2021
e1ae91b
create controller resource packages config key (#7488)
walterddr Sep 29, 2021
e85e973
Add option to limit thread usage per query (#7492)
Jackie-Jiang Sep 29, 2021
a5be1ee
Move acquire/release to right before/after execution call (#7493)
npawar Sep 29, 2021
c7c6dd6
[issue-7495] Fix minion metrics exporter config (#7496)
ddcprg Sep 29, 2021
002b2d7
remove unused dependency (#7498)
richardstartin Sep 29, 2021
d100e0a
fix pinot-controller/broker recent fork timeout (#7490)
walterddr Oct 1, 2021
2c2f351
fix volatile stopped flag (#7508)
walterddr Oct 1, 2021
eaf144c
Follow up to improve restlet API package config key (#7497)
walterddr Oct 1, 2021
0297e9d
remove unnecessary wait during broker test (#7505)
walterddr Oct 1, 2021
cff7ce2
1. Catch timeout exception to wait segments become online for endRepl…
jtao15 Oct 2, 2021
bfc7e22
[7264] Add Exception to Broker Response When Not All Segments Are Ava…
suddendust Oct 2, 2021
30441f9
test xmls are not updated with latest test classes (#7474)
walterddr Oct 4, 2021
3a7d401
Add mergeRollupTask delay metrics (#7368)
Oct 4, 2021
f71134f
Do not allow query to override the execution threads over the instanc…
Jackie-Jiang Oct 4, 2021
d783f0e
Improved range queries (#7513)
richardstartin Oct 5, 2021
4e0f4ef
adding favicon to the pinot controller ui (#7518)
shahsank3t Oct 5, 2021
fb99bbd
Enhance TableCache to support schema name different from table name (…
Jackie-Jiang Oct 6, 2021
aa7a1b6
Faster bitmap scans (#7530)
richardstartin Oct 6, 2021
76889a9
fix segment generation commands (#7527)
richardstartin Oct 7, 2021
a173eee
add validation for realtimeToOffline task (#7523)
walterddr Oct 7, 2021
dd689e7
Fix TableCacheTest by using unique schema and table name (#7538)
Jackie-Jiang Oct 7, 2021
00fd14a
Optimize EmptySegmentPruner to skip pruning when there is no empty se…
Jackie-Jiang Oct 7, 2021
d5fac8f
In TableRebalancer, allow increasing from 1 replica without downtime …
Jackie-Jiang Oct 7, 2021
8c87ea6
Support JSON queries with top-level array path expression. (#7511)
amrishlal Oct 7, 2021
1649711
Fix SegmentGenerationWithTimeColumnTest (#7537)
richardstartin Oct 7, 2021
0a602b6
Introduce MinionConf, move END_REPLACE_SEGMENTS_TIMEOUT_MS to minion …
jtao15 Oct 8, 2021
f41a68a
Cleanup sys out (#7547)
walterddr Oct 8, 2021
c390fe7
Add timezone as argument in toDateTime (#7552)
fritzb Oct 11, 2021
a160562
Add IN function (#7542)
yupeng9 Oct 11, 2021
0fba29d
map bitmaps through a bounded window to avoid excessive disk pressure…
richardstartin Oct 11, 2021
dc58a8c
[Refactor] Remove the index access within the PlanNode constructor (#…
Jackie-Jiang Oct 11, 2021
3910aa1
Return 0 in the response metadata when thread cpu time measurement is…
Jackie-Jiang Oct 11, 2021
28c1493
MergeRollupTaskGenerator enhancement: enable parallel buckets schedul…
jtao15 Oct 12, 2021
d2109b5
Make utility functions in `SegmentAssignmentUtils` public. (#7561)
mayankshriv Oct 12, 2021
897b472
Return non zero from main with exception (#7482)
kkrugler Oct 12, 2021
449e542
Adjust tuner api (#7553)
walterddr Oct 12, 2021
e0d77c5
[Auto Reformat] Reformat TableRebalancer related classes (#7571)
Jackie-Jiang Oct 12, 2021
b82416f
Adding config for metrics library (#7551)
timsants Oct 13, 2021
c773bca
Refactor toDateTime with time zone (#7558)
fritzb Oct 13, 2021
e0d0cc1
fix: Sorting tables by number of segments is broken (#7564)
shahsank3t Oct 13, 2021
b951f6e
Add geo type conversion scalar functions (#7573)
Jackie-Jiang Oct 13, 2021
9b47d93
Enhance TableRebalancer to offload the segments from most loaded inst…
Jackie-Jiang Oct 14, 2021
f90ad0d
Adding generic util method for persisting task metadata in a ZNode (#…
Oct 14, 2021
560c2ec
Improve get tenant API to differentiate offline and realtime tenants …
jackjlli Oct 14, 2021
2e936b2
Need to make abstract methods public since its going to be overriden …
Oct 15, 2021
047edd0
Adding new generic method in ClusterInfoAccessor for getting ZNRecord…
Oct 15, 2021
03b3933
Introduce Native Text Indices (Core Functionality) (#7405)
atris Oct 15, 2021
da3762e
Change FetchContext to have list of index per colum to fetch (#7587)
npawar Oct 15, 2021
4bbdbd8
Fix mergeRollupTaskGenerator metrics and logs. (#7588)
jtao15 Oct 16, 2021
a3f17fe
allow rle compression of bitmaps for smaller file sizes (#7582)
richardstartin Oct 18, 2021
d2d3ba8
add BOOLEAN_ARRAY and TIMESTAMP_ARRAY types (#7581)
richardstartin Oct 18, 2021
2146523
Upgrade localstack utils version (#7598)
KKcorps Oct 19, 2021
1feda09
Refactor query rewriter to interfaces and implementations to allow cu…
xiangfu0 Oct 19, 2021
97de9d0
Ignore shardIterator type when sequence number is available (#7592)
KKcorps Oct 20, 2021
ab3dc76
Adding generic method in ClusterInfoAccessor for setting minion task …
Oct 20, 2021
6928618
In ServiceStartable, apply global cluster config in ZK to instance co…
Jackie-Jiang Oct 20, 2021
d1fe9bf
Refactor QueryOptions into QueryOptionsUtils to avoid redundant parsi…
Jackie-Jiang Oct 20, 2021
bd74935
Make dim tables creation bypass tenant validation (#7559)
deemoliu Oct 20, 2021
e439a2b
use StandardCharsets.UTF_8 which is faster than looking up the charse…
richardstartin Oct 20, 2021
5fc5cbb
Shade parquet class (#7570)
xiangfu0 Oct 21, 2021
c553ceb
Show error message on hover of error status of a segment (#7529)
shahsank3t Oct 21, 2021
c066712
Stringutil cleanup (#7610)
richardstartin Oct 21, 2021
2aafcf9
[Cleanup] Precompute and cache query properties in QueryContext (#7608)
Jackie-Jiang Oct 21, 2021
d4be6dd
Add support for lowest partition id in case partition id 0 is not ava…
KKcorps Oct 22, 2021
0472cbc
Add MV raw forward index and MV `BYTES` data type (#7595)
richardstartin Oct 22, 2021
28c31ea
(fix) Query console doesn't load (#7618)
shahsank3t Oct 22, 2021
f08bb7e
Use maxEndTimeMs for merge/roll-up delay metrics. (#7617)
jtao15 Oct 23, 2021
d027371
Fix star-tree index map when column name contains '.' (#7623)
Jackie-Jiang Oct 24, 2021
519b2dc
accelerate ByteArray.hashCode (#7622)
richardstartin Oct 24, 2021
fcdb4c3
Parsing Support for FILTER Clauses (#7566)
atris Oct 25, 2021
0b89e76
make it possible to specify raw index properties for columns with JSO…
richardstartin Oct 25, 2021
efa371a
clarify expectations of PartitionFunction implementations (#7628)
richardstartin Oct 25, 2021
6003914
Enhance BloomFilter rule to include IN predicate(#7444) (#7624)
GSharayu Oct 25, 2021
8a1c718
avoid repeating column stats work when values are repeated (#7619)
richardstartin Oct 25, 2021
e2c61ea
add extra properties to the tuner, since tuner right now doesn't take…
walterddr Oct 25, 2021
8261b60
implement FixedByteChunkMVForwardIndexReader, address post-review com…
richardstartin Oct 25, 2021
b479ec6
adding trino to pinot readme doc (#7635)
xiangfu0 Oct 25, 2021
c2be8f2
Push metricsRegistry init into synchronized get call (#7636)
npawar Oct 26, 2021
cb149e0
Allow Metadata and Dictionary Based Plans for No Op Filters (#7563)
atris Oct 26, 2021
2ab619b
Add LASTWITHTIME aggregate function support #7315 (#7584)
weixiangsun Oct 26, 2021
e955f5a
URLs need to be encoded in cluster manager as segment name can have %…
shahsank3t Oct 26, 2021
194d554
Remove AggregationFunction.isIntermediateResultComparable() (#7640)
weixiangsun Oct 26, 2021
6f6664a
Adjust field config (#7631)
walterddr Oct 26, 2021
a445024
Reject query with identifiers not in schema (#7590)
xiangfu0 Oct 26, 2021
a7a0ce4
Round Robin IP addresses when retry uploading/downloading segments (#…
mqliang Oct 27, 2021
6eb32db
Support multi-value derived column in offline table reload (#7632)
yupeng9 Oct 28, 2021
37c815a
Support segmentNamePostfix in segment name (#7646)
jackjlli Oct 28, 2021
d2e714d
Add select segments API (#7651)
jackjlli Oct 28, 2021
c223264
introduce `LZ4_WITH_LENGTH` chunk compression type (#7655)
richardstartin Oct 28, 2021
d94eba8
don't toString every multivalue (#7649)
richardstartin Oct 28, 2021
55ee15e
Fix LIKE predicate (#7659)
Jackie-Jiang Oct 28, 2021
1006b7a
Feature. Provide ability to skip multiple value splitting in CSV (#7660)
suvodeep-pyne Oct 29, 2021
123f91e
Enhance ColumnValueSegmentPruner and support bloom filter prefetch (#…
Jackie-Jiang Oct 29, 2021
edb3122
Apply the optimization on dictIds within the segment to DistinctCount…
yupeng9 Oct 29, 2021
3526bbb
Do not log the actual exception when Arrays.compareUnsigned is unavai…
Jackie-Jiang Oct 29, 2021
8df1ebd
Let the controller getTableInstance() call to return the list of live…
chenboat Oct 29, 2021
04413a3
fix fieldConfig nullable fields failed validation (#7648)
walterddr Oct 29, 2021
487c6c0
A quickstart to demo how RealtimeToOfflineConv and MergeRollup minion…
klsince Oct 29, 2021
03f8c55
Move HelixManager initialization to init (#7666)
npawar Oct 30, 2021
f9eab6f
Allow MV Field Support For Raw Columns in Text Indices (#7638)
atris Oct 30, 2021
86468bd
During segment pruning, release the bloom filter after each segment i…
Jackie-Jiang Nov 1, 2021
5dd8d9d
Skip schema check for lookup function (#7670)
xiangfu0 Nov 1, 2021
3ed333e
Allow override distinctCount to segmentPartitionedDistinctCount (#7664)
xiangfu0 Nov 1, 2021
27ffd4e
Add a quick start with both UPSERT and JSON index (#7669)
Jackie-Jiang Nov 1, 2021
95ffb73
Add revertSegmentReplacement API (#7662)
Nov 2, 2021
48fcf86
Add getIndexSegment() to the Operator interface (#7674)
Jackie-Jiang Nov 2, 2021
ea25742
Add table name with type to segment directory configs (#7667)
npawar Nov 2, 2021
5efca58
Allow text index on MV string in table config validation (#7677)
Jackie-Jiang Nov 2, 2021
75eff5d
Clear the reused record in PartitionUpsertMetadataManager (#7676)
Jackie-Jiang Nov 2, 2021
ddbd109
Take acquire/release call to MinMaxValueBasedSelectionOrderByCombineO…
npawar Nov 3, 2021
320f209
When reloading all segments for a table, do not fail on one bad segme…
Jackie-Jiang Nov 3, 2021
f29f338
Expose resource manager via ClusterInfoAccessor for task generator to…
klsince Nov 3, 2021
2eb6845
Fix JSONPath cache inefficient issue (#7409)
Ferrari6 Nov 3, 2021
6ff4207
Cleanup SegmentDirectoryLoader load (#7682)
npawar Nov 3, 2021
39b90d3
allow headers for query runner (#7696)
klsince Nov 3, 2021
230649b
Fix common test (#7699)
walterddr Nov 4, 2021
6364453
replace args4j with picocli for pinot-admin.sh (#7665)
walterddr Nov 4, 2021
174a9d3
Fix verifyHostname issue in FileUploadDownloadClient (#7703)
jackjlli Nov 4, 2021
7ac7842
Add acquire/release for StreamingSelectionOnlyCombineOperator and Gro…
Jackie-Jiang Nov 5, 2021
272b61d
Fix TableCache schema to include the built-in virtual columns (#7706)
Jackie-Jiang Nov 5, 2021
2bddf8e
to handle datetime column consistently (#7645)
klsince Nov 6, 2021
59f4a93
Clean up controller-table related metrics in ControllerPeriodicTask (…
jackjlli Nov 6, 2021
89459be
allow to carry headers with query requests (#7712)
klsince Nov 8, 2021
bdb612b
optimise getUnpaddedString with SWAR padding search (#7708)
richardstartin Nov 8, 2021
836fae2
lighter weight LiteralTransformFunction, avoid excessive array fills …
richardstartin Nov 8, 2021
09583f0
inline binary comparison ops to prevent function call overhead (#7709)
richardstartin Nov 8, 2021
cdce860
Skip pinot.admin.system.exit check for quickstart (#7722)
xiangfu0 Nov 8, 2021
8796dad
Allow adding JSON data type for dimension column types (#7718)
shahsank3t Nov 8, 2021
5e8562a
Remove the AutomatonBasedRegexpPredicateEvaluator and use regular Reg…
Jackie-Jiang Nov 8, 2021
f443a99
Fix the flaky SimpleMinionClusterIntegrationTest (#7723)
Jackie-Jiang Nov 8, 2021
4e36102
follow up with picocli migration (#7705)
walterddr Nov 9, 2021
7a00ae3
memoize literals in query context in order to deduplicate them (#7720)
richardstartin Nov 9, 2021
f65298a
format query parser tests (#7727)
xiangfu0 Nov 9, 2021
210deb2
correct way to send headers via url conn (#7728)
klsince Nov 9, 2021
192d713
Fix SDF pattern in DataPreprocessingHelper (#7721)
jackjlli Nov 9, 2021
4da44b5
Remove the old deprecated SegmentConverter (#7725)
Jackie-Jiang Nov 9, 2021
d3a51d2
Disable RealtimeKinesisIntegrationTest until the Localstack is fixed …
xiangfu0 Nov 10, 2021
6a124c8
Separate SegmentDirectoryLoader and tierBackend concepts (#7737)
npawar Nov 10, 2021
203c2ea
Fixing DISTINCT with AS function (#7678)
xiangfu0 Nov 10, 2021
8a95b85
implement size balanced V4 raw chunk format (#7661)
richardstartin Nov 10, 2021
8e08b7c
remove unused Number2ObjectPair class and auxiliaries (#7736)
richardstartin Nov 10, 2021
c1bb126
bump roaringbitmap version (#7734)
richardstartin Nov 10, 2021
de3d7ac
Handle fields missing in the source in ParquetNativeRecordReader (#7742)
npawar Nov 11, 2021
c84998e
Add TIMESTAMP to datetime column Type (#7746)
shahsank3t Nov 11, 2021
7356cb9
update license and notice (#7750)
xiangfu0 Nov 11, 2021
a56641c
extend a bit on the FileUploadDownloadClient (#7751)
klsince Nov 11, 2021
295b7d4
Handle null segment lineage ZNRecord for getSelectedSegments API (#7752)
jackjlli Nov 11, 2021
6afb552
1. Change TLS to native implementation (https://netty.io/wiki/forked-…
jasperjiaguo Nov 12, 2021
a74f1ee
Add forceCleanup option for 'startReplaceSegments' API (#7744)
Nov 12, 2021
ca2ec07
fixing javadoc to compatible with jdk8 source (#7754)
xiangfu0 Nov 12, 2021
5382a92
Fix controller error response field names (#7757)
mneedham Nov 12, 2021
9cf2ca3
Use oldest offset on newly detected partitions (#7756)
mcvsubbu Nov 12, 2021
dc92c42
Support default null value in data preprocessing job (#7739)
jackjlli Nov 12, 2021
46b0d15
Support Native FST As An Index Subtype for FST Indices (#7729)
atris Nov 12, 2021
c3ef14a
Add link to the ZeroInWord algorithm. (#7764)
mayankshriv Nov 13, 2021
db248df
Add getName() to PartitionFunction interface (#7760)
Jackie-Jiang Nov 13, 2021
31eb342
set default Dockerfile CMD to -help (#7767)
walterddr Nov 15, 2021
8164e36
Add timeColumn, timeUnit and totalDocs to the json segment metadata (…
Jackie-Jiang Nov 15, 2021
b697a3b
Indicate QuickStart types for invalid/missing type (#7768)
mneedham Nov 15, 2021
91ebbc3
Add config for enabling realtime offset based consumption status chec…
sajjad-moradi Nov 15, 2021
3fc66bf
Check interrupt flag in acquire (#7769)
npawar Nov 16, 2021
f4084e1
Fix merge delay metric when there is empty bucket (#7761)
Nov 17, 2021
767e3cc
Update pom to 0.10.0-SNAPSHOT (#7788)
xiangfu0 Nov 18, 2021
f911a5c
Split thread cpu time into three metrics (#7724)
mqliang Nov 18, 2021
5109402
fix obfuscator not capturing secretkey and keytab (#7794)
walterddr Nov 18, 2021
9fa3664
peel off special case for 1 dimensional groupby (#7777)
richardstartin Nov 18, 2021
62cbb6b
adding JAVA_OPTS env var in docker image (#7799)
xiangfu0 Nov 19, 2021
6176b2d
Add getRevertReplaceSegmentRequest method in FileUploadDownloadClient…
jackjlli Nov 19, 2021
64ca42c
Fixing Pinot Admin system exit logic (#7798)
xiangfu0 Nov 19, 2021
f74be96
Simplify the usage of ThreadTimer (#7800)
mqliang Nov 20, 2021
0ac9af2
all getSegmentStatus to handle segments missing in externalview (#7803)
jadami10 Nov 20, 2021
0c54ba0
use `LZ4` as default compression mode (#7797)
richardstartin Nov 20, 2021
1d976be
allow to override how to wait for quick start to finish bootstrap (#7…
klsince Nov 22, 2021
5e1f9c9
Make type case insensitive again (#7807)
mneedham Nov 22, 2021
30432ec
Put thread timer measuring inside of wall clock timer measuring (#7809)
mqliang Nov 22, 2021
3a9de2c
Fix and refactor error handling on Controller endpoints (#7812)
sajjad-moradi Nov 23, 2021
837ce71
Handle table not found in replacing segment APIs (#7810)
jackjlli Nov 23, 2021
259cac2
Proceed to next time window when no segment match for RealtimeToOffli…
Jackie-Jiang Nov 23, 2021
7f13774
change default range index version to v2 (#7815)
richardstartin Nov 23, 2021
63590df
Adding pinot client connection config to allow skip fail on broker re…
xiangfu0 Nov 23, 2021
b7fd066
Fix the broker routing when segment is deleted (#7817)
Jackie-Jiang Nov 24, 2021
c255c94
Pass Pinot Connection properties from JDBC driver (#7822)
xiangfu0 Nov 24, 2021
88081d6
cache JsonPaths to prevent compilation per segment (#7826)
richardstartin Nov 24, 2021
f9dda22
return exception when unavailable segments on empty broker response (…
jadami10 Nov 24, 2021
47c5a29
Fix thread safety issue and add cache to EmptySegmentPruner (#7828)
Jackie-Jiang Nov 29, 2021
0eface2
Make split commit the default commit protocol (#7780)
sajjad-moradi Nov 30, 2021
51d2ef4
Add getPredicate() to PredicateEvaluator (#7840)
Jackie-Jiang Nov 30, 2021
c1f936e
make openjdk image name configurable (#7832)
xiangfu0 Nov 30, 2021
1c166f3
Remove pinot-ingestion-job script (#7825)
xiangfu0 Nov 30, 2021
2fc8e9c
use uppercase format (#7845)
apucher Nov 30, 2021
5a48e00
add ability to comment out queries with cmd + / (#7841)
jadami10 Dec 1, 2021
f1c73b0
added extraEnv, envFrom to statefulset template (#7833)
shucle-devops Dec 1, 2021
b9ab955
Clean up deprecated ZK metadata keys and methods (#7846)
Jackie-Jiang Dec 1, 2021
4431040
EXPLAIN PLAN (#7568)
amrishlal Dec 1, 2021
18cacd3
Make upsert inner segment update atomic (#7844)
Jackie-Jiang Dec 1, 2021
cc2b0fa
Make pinot start components command extensible (#7847)
xiangfu0 Dec 2, 2021
3cfd685
Minor reformat for query schedulers (#7851)
Jackie-Jiang Dec 2, 2021
2d33de2
Use valid bucket end time instead of segment end time for merge/rollu…
jtao15 Dec 2, 2021
4c87d55
replication factor to be obtained from tenant configuration in case o…
Manis99803 Dec 2, 2021
5f7e8fa
Tune local kafka cluster config to be more stable (#7854)
Jackie-Jiang Dec 2, 2021
e9eecf8
Remove deprecated method from StreamMetadataProvider (#7852)
Jackie-Jiang Dec 2, 2021
34128d8
Clean up deprecated fields from segment metadata (#7853)
Jackie-Jiang Dec 2, 2021
4895022
Add Post-Aggregation Gapfilling functionality. (#7781)
weixiangsun Dec 3, 2021
cdd50de
generator.sh - gracefully handle uppercase format (#7858)
apucher Dec 3, 2021
983c658
added logic to handle semicolon in the query (#7861)
Manis99803 Dec 6, 2021
1d89dbe
Benchmark For FST Index Based LIKE Query (#7872)
atris Dec 6, 2021
2f03e96
When upserting new record, index the record before updating the upser…
Jackie-Jiang Dec 6, 2021
2c0abc6
add option to wrap lines in custom code mirror (#7857)
jadami10 Dec 6, 2021
b1e1818
push JSON Path evaluation down to storage layer (#7820)
richardstartin Dec 6, 2021
0f198f9
Pass in Headers when creating PinotConnection. Fix #7773 (#7824)
kautshukla Dec 8, 2021
d09ffb3
support large payload in zk put API (#7364)
galalen Dec 9, 2021
f8ce1c7
Add bootstrap mode for PinotServiceManager to avoid glitch for health…
xiangfu0 Dec 10, 2021
3b451ca
update log4j 2 to avoid CVE-2021-44228 (#7889)
richardstartin Dec 10, 2021
d5b9ec8
README.md of pinot-presto Dockerfile (#7884)
shucle-devops Dec 10, 2021
fed936e
add validator for SDF (#7804)
walterddr Dec 10, 2021
5e7d879
GRPC broker request handler (#7838)
walterddr Dec 11, 2021
d95ea1c
#7714 only ignore options that are specified in the commented query
kriti-sc Dec 12, 2021
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
  •  
  •  
  •  
15 changes: 14 additions & 1 deletion .github/workflows/pinot_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ on:
- "**.md"

jobs:
linter-test:
runs-on: ubuntu-latest
name: Pinot Linter Test Set
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Linter Test
env:
MAVEN_OPTS: -Xmx2G -DskipShade -DfailIfNoTests=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
run: .github/workflows/scripts/.pinot_linter.sh
unit-test:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -101,7 +114,7 @@ jobs:
strategy:
matrix:
test_suite: [ "compatibility-verifier/sample-test-suite" ]
old_commit: [ "release-0.7.1", "master" ]
old_commit: [ "release-0.9.0", "master" ]
name: Pinot Compatibility Regression Testing against ${{ matrix.old_commit }} on ${{ matrix.test_suite }}
steps:
- uses: actions/checkout@v2
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/scripts/.pinot_linter.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash -x
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

# Java version
java -version

# Check network
ifconfig
netstat -i


mvn license:check || exit 1
mvn checkstyle:check || exit 1
mvn spotless:check || exit 1
mvn enforcer:enforce || exit 1

3 changes: 2 additions & 1 deletion .github/workflows/scripts/.pinot_quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ fi
DIST_BIN_DIR=`ls -d pinot-distribution/target/apache-pinot-*/apache-pinot-*`
cd "${DIST_BIN_DIR}"

# Test standalone pinot
# Test standalone pinot. Configure JAVA_OPTS for smaller memory, and don't use System.exit
export JAVA_OPTS="-Xms1G -Dlog4j2.configurationFile=conf/log4j2.xml"
bin/pinot-admin.sh StartZookeeper &
ZK_PID=$!
sleep 10
Expand Down
45 changes: 35 additions & 10 deletions LICENSE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ This project bundles some components that are also licensed under the Apache
License Version 2.0:

com.101tec:zkclient:0.7
com.chuusai:shapeless_2.12:2.3.3
com.clearspring.analytics:stream:2.7.0
com.fasterxml.jackson.core:jackson-annotations:2.10.0
com.fasterxml.jackson.core:jackson-core:2.10.0
Expand All @@ -217,6 +218,8 @@ com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.10.0
com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.10.0
com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.10.0
com.fasterxml.jackson.module:jackson-module-jsonSchema:2.11.1
com.fasterxml.jackson.module:jackson-module-paranamer:2.10.0
com.fasterxml.jackson.module:jackson-module-scala_2.12:2.10.0
com.fasterxml.woodstox:woodstox-core:6.0.1
com.github.ben-manes.caffeine:caffeine:2.6.2
com.google.android:annotations:4.1.1.4
Expand Down Expand Up @@ -260,12 +263,19 @@ commons-io:commons-io:2.4
commons-lang:commons-lang:2.6
commons-logging:commons-logging:1.2
commons-pool:commons-pool:1.6
info.picocli:picocli:4.6.1
io.airlift:aircompressor:0.10
io.circe:circe-core_2.12:0.13.0
io.circe:circe-generic_2.12:0.13.0
io.circe:circe-jawn_2.12:0.13.0
io.circe:circe-numbers_2.12:0.13.0
io.circe:circe-parser_2.12:0.13.0
io.confluent:common-config:5.3.1
io.confluent:common-utils:5.3.1
io.confluent:kafka-avro-serializer:5.3.1
io.confluent:kafka-schema-registry-client:5.3.1
io.dropwizard.metrics:metrics-core:4.1.2
io.dropwizard.metrics:metrics-core:4.2.2
io.dropwizard.metrics:metrics-jmx:4.2.2
io.grpc:grpc-api:1.30.0
io.grpc:grpc-context:1.14.0
io.grpc:grpc-core:1.30.0
Expand Down Expand Up @@ -309,7 +319,6 @@ it.unimi.dsi:fastutil:8.2.3
javax.inject:javax.inject:1
javax.validation:validation-api:2.0.1.Final
joda-time:joda-time:2.10.5
me.lemire.integercompression:JavaFastPFOR:0.0.13
net.minidev:accessors-smart:1.2
net.minidev:json-smart:2.3
org.apache.avro:avro-protobuf:1.9.1
Expand All @@ -336,10 +345,10 @@ org.apache.httpcomponents:httpmime:4.5.3
org.apache.kafka:kafka-clients:2.0.0
org.apache.kafka:kafka_2.10:0.9.0.1
org.apache.kafka:kafka_2.11:2.0.0
org.apache.logging.log4j:log4j-1.2-api:2.11.2
org.apache.logging.log4j:log4j-api:2.11.2
org.apache.logging.log4j:log4j-core:2.11.2
org.apache.logging.log4j:log4j-slf4j-impl:2.11.2
org.apache.logging.log4j:log4j-1.2-api:2.15.0
org.apache.logging.log4j:log4j-api:2.15.0
org.apache.logging.log4j:log4j-core:2.15.0
org.apache.logging.log4j:log4j-slf4j-impl:2.15.0
org.apache.lucene:lucene-analyzers-common:8.2.0
org.apache.lucene:lucene-core:8.2.0
org.apache.lucene:lucene-queries:8.2.0
Expand Down Expand Up @@ -380,8 +389,9 @@ org.eclipse.jetty:jetty-util:9.4.39.v20210325
org.javassist:javassist:3.19.0-GA
org.lz4:lz4-java:1.7.1
org.quartz-scheduler:quartz:2.3.2
org.roaringbitmap:RoaringBitmap:0.9.0
org.roaringbitmap:shims:0.9.0
org.roaringbitmap:RoaringBitmap:0.9.23
org.roaringbitmap:shims:0.9.23
org.typelevel:macro-compat_2.12:1.1.1
org.webjars:swagger-ui:3.18.2
org.wildfly.openssl:wildfly-openssl:1.0.7.Final
org.xerial.larray:larray-buffer:0.4.1
Expand All @@ -406,6 +416,7 @@ software.amazon.awssdk:protocol-core:2.14.28
software.amazon.awssdk:regions:2.14.28
software.amazon.awssdk:s3:2.14.28
software.amazon.awssdk:sdk-core:2.14.28
software.amazon.awssdk:sts:2.14.28
software.amazon.awssdk:utils:2.14.28
software.amazon.eventstream:eventstream:1.0.1

Expand All @@ -418,7 +429,6 @@ of these licenses.

MIT License
-----------
args4j:args4j:2.32
com.azure:azure-core-http-netty:1.7.1
com.azure:azure-core:1.12.0
com.azure:azure-storage-blob:12.10.0
Expand All @@ -429,10 +439,19 @@ com.microsoft.azure:azure-data-lake-store-sdk:2.3.9
net.sf.jopt-simple:jopt-simple:4.6
org.codehaus.mojo:animal-sniffer-annotations:1.17
org.reactivestreams:reactive-streams:1.0.3
org.typelevel:cats-core_2.12:2.1.0
org.typelevel:cats-kernel_2.12:2.1.0
org.typelevel:cats-macros_2.12:2.1.0
org.typelevel:jawn-parser_2.12:1.0.0
org.slf4j:jul-to-slf4j:1.7.25
org.slf4j:slf4j-api:1.7.25


BSD
---
com.thoughtworks.paranamer:paranamer:2.8


BSD 2-Clause
------------
com.github.luben:zstd-jni:1.4.9-5
Expand All @@ -454,6 +473,7 @@ com.jcabi:jcabi-log:0.17.1
org.antlr:antlr4-runtime:4.6
org.ow2.asm:asm:5.0.4
org.scala-lang:scala-library:2.11.11
org.scala-lang.modules:scala-xml_2.12:1.3.0
org.threeten:threeten-extra:1.5.0
org.threeten:threetenbp:1.3.3

Expand Down Expand Up @@ -527,7 +547,7 @@ org.jvnet.mimepull:mimepull:1.9.11

WTFPL License
-------------
org.reflections:reflections:0.9.11
org.reflections:reflections:0.9.9


Creative Commons Attribution License (CC BY 2.5)
Expand All @@ -540,3 +560,8 @@ Bounty Castle License
org.bouncycastle:bcpkix-jdk15to18:1.68
org.bouncycastle:bcprov-ext-jdk15to18:1.68
org.bouncycastle:bcprov-jdk15to18:1.68


GNU Lesser Public License
-------------------------
com.google.code.findbugs:annotations:jar:2.0.1
32 changes: 17 additions & 15 deletions NOTICE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,29 @@ Apache Commons Configuration
Copyright 2001-2013 The Apache Software Foundation

Apache Commons Codec
Copyright 2002-2011 The Apache Software Foundation
Copyright 2002-2020 The Apache Software Foundation

This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).

--------------------------------------------------------------------------------
src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java contains
test data from http://aspell.sourceforge.net/test/batch0.tab.
src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
contains test data from http://aspell.net/test/orig/batch0.tab.
Copyright (C) 2002 Kevin Atkinson ([email protected])

Copyright (C) 2002 Kevin Atkinson ([email protected]). Verbatim copying
and distribution of this entire article is permitted in any medium,
provided this notice is preserved.
--------------------------------------------------------------------------------
===============================================================================

The content of package org.apache.commons.codec.language.bm has been translated
from the original php source code available at http://stevemorse.org/phoneticinfo.htm
with permission from the original authors.
Original source copyright:
Copyright (c) 2008 Alexander Beider & Stephen P. Morse.

Apache Commons IO
Copyright 2002-2012 The Apache Software Foundation

This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).

Apache Commons Lang
Copyright 2001-2011 The Apache Software Foundation

Expand Down Expand Up @@ -131,9 +137,6 @@ Copyright 1999-2007 The Apache Software Foundation
Apache Commons Compress
Copyright 2002-2020 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (https://www.apache.org/).

---

The files in the package org.apache.commons.compress.archivers.sevenz
Expand Down Expand Up @@ -599,8 +602,6 @@ These files are used as test data and test result specifications.
Apache Commons Math
Copyright 2001-2013 The Apache Software Foundation

===============================================================================

The inverse error function implementation in the Erf class is based on CUDA
code developed by Mike Giles, Oxford-Man Institute of Quantitative Finance,
and published in GPU Computing Gems, volume 2, 2010.
Expand Down Expand Up @@ -695,3 +696,4 @@ Copyright 2001-2012 The Apache Software Foundation

ResolverUtil.java
Copyright 2005-2006 Tim Fennell

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ SELECT sum(clicks), sum(impressions) FROM AdAnalyticsTable
daysSinceEpoch TOP 100
```

Pinot is not a replacement for database i.e it cannot be used as source of truth store, cannot mutate data. While Pinot [supports text search](https://docs.pinot.apache.org/basics/features/text-search-support), it's not a replacement for a search engine. Also, Pinot queries cannot span across multiple tables by default. You can use the [Presto-Pinot connector](https://prestodb.io/docs/current/connector/pinot.html) to achieve table joins and other features.
Pinot is not a replacement for database i.e it cannot be used as source of truth store, cannot mutate data. While Pinot [supports text search](https://docs.pinot.apache.org/basics/features/text-search-support), it's not a replacement for a search engine. Also, Pinot queries cannot span across multiple tables by default. You can use the [Trino-Pinot Connector](https://trino.io/docs/current/connector/pinot.html) or [Presto-Pinot Connector](https://prestodb.io/docs/current/connector/pinot.html) to achieve table joins and other features.

## Building Pinot
More detailed instructions can be found at [Quick Demo](https://docs.pinot.apache.org/getting-started) section in the documentation.
Expand All @@ -105,7 +105,7 @@ $ bin/quick-start-batch.sh
```

## Deploying Pinot to Kubernetes
Please refer to [Running Pinot on Kubernetes](https://docs.pinot.apache.org/basics/getting-started/kubernetes-quickstart) in our project documentation. Pinot also provides Kubernetes integrations with the interactive query engine, [Presto](kubernetes/helm/presto-coordinator.yaml), and the data visualization tool, [Apache Superset](kubernetes/helm/superset.yaml).
Please refer to [Running Pinot on Kubernetes](https://docs.pinot.apache.org/basics/getting-started/kubernetes-quickstart) in our project documentation. Pinot also provides Kubernetes integrations with the interactive query engine, [Trino](https://docs.pinot.apache.org/integrations/trino) [Presto](https://docs.pinot.apache.org/integrations/presto), and the data visualization tool, [Apache Superset](kubernetes/helm/superset.yaml).

## Join the Community
- Ask questions on [Apache Pinot Slack](https://join.slack.com/t/apache-pinot/shared_invite/zt-5z7pav2f-yYtjZdVA~EDmrGkho87Vzw)
Expand Down
15 changes: 14 additions & 1 deletion compatibility-verifier/compCheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,20 @@ function setupCompatTester() {
cd ${pinotIntegTestsRelDir}
pwd
))
CLASSPATH_PREFIX=$(ls ${pinotIntegTestsAbsDir}/pinot-integration-tests-*-tests.jar)
JAR_LIST=$(ls ${pinotIntegTestsAbsDir}/pinot-integration-tests-*-tests.jar)
CLASSPATH_PREFIX="$(echo $JAR_LIST | tr ' ' :)"
# Adding pinot-integration-test-base JAR
# TODO remove this condition once released.
local pinotIntegTestBaseRelDir="$(dirname $0)/../pinot-integration-test-base/target"
if [[ -d "$pinotIntegTestBaseRelDir" ]]; then
local pinotIntegTestBaseAbsDir=$( (
cd ${pinotIntegTestBaseRelDir}
pwd
))
JAR_LIST="$(ls ${pinotIntegTestBaseAbsDir}/pinot-integration-test-base-*.jar)"
CLASSPATH_PREFIX="$CLASSPATH_PREFIX:$(echo $JAR_LIST | tr ' ' :)"
fi
echo "CLASSPATH_PREFIX is set as: $CLASSPATH_PREFIX"
export CLASSPATH_PREFIX
}

Expand Down
54 changes: 54 additions & 0 deletions config/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,55 @@
<module name="AvoidStarImport">
<property name="allowStaticMemberImports" value="true"/>
</module>
<!-- no static imports except in tests -->
<module name="AvoidStaticImport">
<property name="excludes"
value="com.google.common.base.Preconditions.*,
java.lang.Math.*,
java.lang.Character.*,
java.lang.invoke.MethodHandles.*,
java.lang.invoke.MethodType.*,
java.nio.charset.StandardCharsets.*,
java.util.Locale.*,
java.util.Objects.*,
java.util.concurrent.TimeUnit.*,
org.apache.pinot.common.request.context.FilterContext.Type.*,
org.apache.pinot.common.request.context.predicate.Predicate.Type.*,
org.apache.pinot.common.segment.generation.SegmentGenerationUtils.*,
org.apache.pinot.controller.recommender.realtime.provisioning.MemoryEstimator.*,
org.apache.pinot.controller.recommender.rules.io.params.RecommenderConstants.*,
org.apache.pinot.controller.recommender.rules.io.params.RecommenderConstants.FlagQueryRuleParams.*,
org.apache.pinot.controller.recommender.rules.io.params.RecommenderConstants.InvertedSortedIndexJointRule.*,
org.apache.pinot.controller.recommender.rules.io.params.RecommenderConstants.NoDictionaryOnHeapDictionaryJointRule.*,
org.apache.pinot.controller.recommender.rules.io.params.RecommenderConstants.PartitionRule.*,
org.apache.pinot.controller.recommender.rules.io.params.RecommenderConstants.RulesToExecute.*,
org.apache.pinot.controller.recommender.rules.utils.PredicateParseResult.*,
org.apache.pinot.client.utils.Constants.*,
org.apache.pinot.segment.local.startree.StarTreeBuilderUtils.*,
org.apache.pinot.segment.local.startree.v2.store.StarTreeIndexMapUtils.*,
org.apache.pinot.segment.local.utils.GeometryType.*,
org.apache.pinot.segment.spi.Constants.*,
org.apache.pinot.segment.spi.V1Constants.Indexes.*,
org.apache.pinot.segment.spi.V1Constants.MetadataKeys.Column.*,
org.apache.pinot.segment.spi.V1Constants.MetadataKeys.Segment.*,
org.apache.pinot.segment.spi.creator.SegmentVersion.*,
org.apache.pinot.segment.spi.index.startree.StarTreeV2Constants.*,
org.apache.pinot.spi.data.FieldSpec.*,
org.apache.pinot.spi.data.FieldSpec.DataType,
org.apache.pinot.spi.data.FieldSpec.DataType.*,
org.apache.pinot.spi.data.FieldSpec.FieldType.*,
org.apache.pinot.spi.plugin.PluginManager.*,
org.apache.pinot.spi.utils.CommonConstants.*,
org.apache.pinot.spi.utils.CommonConstants.Broker.*,
org.apache.pinot.spi.utils.CommonConstants.Broker.Request.*,
org.apache.pinot.spi.utils.CommonConstants.Controller.*,
org.apache.pinot.spi.utils.CommonConstants.Helix.*,
org.apache.pinot.spi.utils.CommonConstants.Segment.*,
org.apache.pinot.spi.utils.CommonConstants.Server.*,
org.apache.pinot.spi.utils.CommonConstants.Server.SegmentCompletionProtocol.*,
org.apache.pinot.spi.utils.EqualityUtils.*,
org.apache.pinot.tools.Quickstart.*"/>
</module>
<!-- Do not import 'sun' packages -->
<module name="IllegalImport"/>
<!-- Do not duplicate import statements -->
Expand Down Expand Up @@ -177,6 +226,7 @@
</module>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround"/>
<module name="SingleSpaceSeparator"/>

<!-- Allow Checkstyle warnings to be suppressed using trailing comments -->
<module name="SuppressWithNearbyCommentFilter"/>
Expand All @@ -202,6 +252,10 @@
<property name="format" value="\*[\s]*@(params|throw|returns)[\s]+"/>
<property name="message" value="Correct misspelled Javadoc tag"/>
</module>
<module name="RegexpSingleline">
<property name="format" value="this\._"/>
<property name="message" value="Do not qualify member variables with this"/>
</module>

<!-- Read checker suppressions from a file -->
<module name="SuppressionFilter">
Expand Down
Loading