This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 50a4531 fixing license headers and plugin checks (#6748)
50a4531 is described below
commit 50a4531b33475327bc9fe3c0199e7003f0a4c882
Author: Xiang Fu <[email protected]>
AuthorDate: Wed Apr 7 01:26:47 2021 -0700
fixing license headers and plugin checks (#6748)
---
.codecov.yml | 19 +++
rstheaderdefinition.xml => headerdefinition.xml | 10 ++
pinot-common/src/main/proto/server.proto | 19 +++
.../src/main/resources/zone-index.properties | 19 +++
pinot-controller/src/main/resources/tsconfig.json | 2 +-
.../test/resources/conf/pinot-broker.properties | 19 +++
.../test/resources/conf/query-executor.properties | 19 +++
pinot-core/src/test/resources/data/README | 19 +++
.../src/test/resources/generate-test-data.py | 19 +++
pinot-distribution/pinot-source-assembly.xml | 11 +-
pinot-distribution/pom.xml | 2 +-
.../tests/BaseClusterIntegrationTestSet.java | 2 +-
.../pinot/integration/tests/QueryGenerator.java | 2 +-
...formance_2014_100k_subset.test_queries_10K.pql} | 19 +++
...rformance_2014_100k_subset.test_queries_10K.sql | 19 +++
...formance_2014_100k_subset.test_queries_500.pql} | 19 +++
...rformance_2014_100k_subset.test_queries_500.sql | 19 +++
.../test/resources/compat-tests/kafka/topic1.cfg | 19 +++
.../queries/feature-test-1-sql.queries | 19 +++
.../query-results/feature-test-1-rest-sql.results | 19 +++
.../src/test/resources/index.html | 20 +++
.../org.mockito.plugins.MockMaker | 19 +++
.../pinot-s3/src/test/resources/log4j2.xml | 20 +++
.../src/test/resources/complex_types.proto | 19 +++
.../pinot-protobuf/src/test/resources/sample.proto | 19 +++
.../test/resources/conf/pinot-broker.properties | 19 +++
.../resources/pinot-configuration-1.properties | 19 +++
.../resources/pinot-configuration-2.properties | 19 +++
.../resources/pinot-configuration-3.properties | 21 ++-
.../conf/sample_filesystem_benchmark.conf | 19 +++
.../resources/conf/sample_query_comparison.conf | 19 +++
pom.xml | 178 ++++++++++-----------
32 files changed, 579 insertions(+), 107 deletions(-)
diff --git a/.codecov.yml b/.codecov.yml
index e66155e..d9bee7f 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
coverage:
ignore:
# Ignore all files under pinot-tools, pinot-perf and pinot-hadoop.
diff --git a/rstheaderdefinition.xml b/headerdefinition.xml
similarity index 76%
rename from rstheaderdefinition.xml
rename to headerdefinition.xml
index 309cf00..f3fd428 100644
--- a/rstheaderdefinition.xml
+++ b/headerdefinition.xml
@@ -30,4 +30,14 @@
<isMultiline>true</isMultiline>
<padLines>false</padLines>
</rst_style>
+ <javadoc_style>
+ <firstLine>/**</firstLine>
+ <beforeEachLine> * </beforeEachLine>
+ <endLine> */</endLine>
+ <firstLineDetectionPattern>(\s|\t)*/\*.*$</firstLineDetectionPattern>
+ <lastLineDetectionPattern>.*\*/(\s|\t)*$</lastLineDetectionPattern>
+ <allowBlankLines>false</allowBlankLines>
+ <isMultiline>true</isMultiline>
+ <padLines>false</padLines>
+ </javadoc_style>
</additionalHeaders>
diff --git a/pinot-common/src/main/proto/server.proto
b/pinot-common/src/main/proto/server.proto
index 4b3c75a..0239ae1 100644
--- a/pinot-common/src/main/proto/server.proto
+++ b/pinot-common/src/main/proto/server.proto
@@ -1,3 +1,22 @@
+//
+// 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.
+//
+
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
diff --git a/pinot-common/src/main/resources/zone-index.properties
b/pinot-common/src/main/resources/zone-index.properties
index 3735834..f3bb967 100644
--- a/pinot-common/src/main/resources/zone-index.properties
+++ b/pinot-common/src/main/resources/zone-index.properties
@@ -1,4 +1,23 @@
#
+# 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.
+#
+
+#
# DO NOT REMOVE OR MODIFY EXISTING ENTRIES
#
# This file contain the fixed numeric id of every supported time zone id.
diff --git a/pinot-controller/src/main/resources/tsconfig.json
b/pinot-controller/src/main/resources/tsconfig.json
index ead39f2..0b8c72a 100644
--- a/pinot-controller/src/main/resources/tsconfig.json
+++ b/pinot-controller/src/main/resources/tsconfig.json
@@ -26,4 +26,4 @@
"esModuleInterop": true,
"jsx": "react"
}
-}
\ No newline at end of file
+}
diff --git a/pinot-core/src/test/resources/conf/pinot-broker.properties
b/pinot-core/src/test/resources/conf/pinot-broker.properties
index 2efa525..25fba3f 100644
--- a/pinot-core/src/test/resources/conf/pinot-broker.properties
+++ b/pinot-core/src/test/resources/conf/pinot-broker.properties
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
pinot.broker.routing.tableName=testTable
# Number of nodes constituting a replica-set. A replica-set has 0-(n-1) nodes
where n is the below config value.
pinot.broker.routing.testTable.numNodesPerReplica=1
diff --git a/pinot-core/src/test/resources/conf/query-executor.properties
b/pinot-core/src/test/resources/conf/query-executor.properties
index 4659aff..547385c 100644
--- a/pinot-core/src/test/resources/conf/query-executor.properties
+++ b/pinot-core/src/test/resources/conf/query-executor.properties
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
pruner.class=ValidSegmentPruner,DataSchemaSegmentPruner,ColumnValueSegmentPruner,SelectionQuerySegmentPruner
class=org.apache.pinot.core.query.executor.ServerQueryExecutor
timeout=150000
diff --git a/pinot-core/src/test/resources/data/README
b/pinot-core/src/test/resources/data/README
index 0abecf3..a8866dc 100644
--- a/pinot-core/src/test/resources/data/README
+++ b/pinot-core/src/test/resources/data/README
@@ -1,3 +1,22 @@
+..
+.. 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.
+..
+
paddingNull.tar.gz, paddingPercent.tar.gz and paddingOld.tar.gz are
tar/gzip'ed versions of segments created
with a padding character of Null, padding character of "%" and a fixed default
padding character
of "%" respectively. The old format was created until 08/2016
diff --git a/pinot-core/src/test/resources/generate-test-data.py
b/pinot-core/src/test/resources/generate-test-data.py
index cc97fdc..03ffb1f 100755
--- a/pinot-core/src/test/resources/generate-test-data.py
+++ b/pinot-core/src/test/resources/generate-test-data.py
@@ -1,4 +1,23 @@
#!/usr/bin/env python
+#
+# 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.
+#
+
import argparse
import sys
from fastavro import writer
diff --git a/pinot-distribution/pinot-source-assembly.xml
b/pinot-distribution/pinot-source-assembly.xml
index 4b06c82..bc61316 100644
--- a/pinot-distribution/pinot-source-assembly.xml
+++ b/pinot-distribution/pinot-source-assembly.xml
@@ -36,26 +36,25 @@
<exclude>**/*.iws</exclude>
<exclude>**/*.log</exclude>
<exclude>**/.idea/**</exclude>
- <exclude>thirdeye/**</exclude>
- <exclude>**/.travis/**</exclude>
+ <exclude>**/.github/**</exclude>
<exclude>.codecov*</exclude>
<exclude>.gitignore</exclude>
- <exclude>contrib/**</exclude>
<!-- Do not inclue node_modules in pinot-controller -->
<exclude>pinot-controller/src/main/resources/node_modules/**</exclude>
+ <exclude>pinot-controller/src/main/resources/dist/**</exclude>
+
<exclude>pinot-controller/src/main/resources/package-lock.json</exclude>
<!-- Do not include temp files created by maven-release-plugin -->
<exclude>**/*.releaseBackup</exclude>
<exclude>release.properties</exclude>
- <!-- Do not include build files from docs -->
- <exclude>docs/_build/**</exclude>
-
<!-- Do not include docker, kubernetes, website related files -->
<exclude>kubernetes/**</exclude>
<exclude>docker/**</exclude>
<exclude>website/**</exclude>
+ <exclude>contrib/**</exclude>
+ <exclude>thirdeye/**</exclude>
</excludes>
</fileSet>
</fileSets>
diff --git a/pinot-distribution/pom.xml b/pinot-distribution/pom.xml
index 1a3f106..469de80 100644
--- a/pinot-distribution/pom.xml
+++ b/pinot-distribution/pom.xml
@@ -184,7 +184,7 @@
</build>
<profiles>
<profile>
- <id>apache-release</id>
+ <id>src-dist</id>
<build>
<plugins>
<plugin>
diff --git
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java
index 7bf675d..8fc1296 100644
---
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java
+++
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/BaseClusterIntegrationTestSet.java
@@ -60,7 +60,7 @@ public abstract class BaseClusterIntegrationTestSet extends
BaseClusterIntegrati
// Default settings
private static final String DEFAULT_PQL_QUERY_FILE_NAME =
- "On_Time_On_Time_Performance_2014_100k_subset.test_queries_500";
+ "On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.pql";
private static final String DEFAULT_SQL_QUERY_FILE_NAME =
"On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.sql";
private static final int DEFAULT_NUM_QUERIES_TO_GENERATE = 100;
diff --git
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/QueryGenerator.java
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/QueryGenerator.java
index 323e6e0..58a2283 100644
---
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/QueryGenerator.java
+++
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/QueryGenerator.java
@@ -217,7 +217,7 @@ public class QueryGenerator {
File avroFile = new
File("pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_1.avro");
QueryGenerator queryGenerator = new
QueryGenerator(Collections.singletonList(avroFile), "mytable", "mytable");
File outputFile = new File(
-
"pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K");
+
"pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K.pql");
try (BufferedWriter writer = new BufferedWriter(new
FileWriter(outputFile))) {
for (int i = 0; i < 10000; i++) {
Query query = queryGenerator.generateQuery();
diff --git
a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K
b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K.pql
similarity index 99%
rename from
pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K
rename to
pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K.pql
index 43950ed..ecc5602 100644
---
a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K
+++
b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K.pql
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
{"hsqls":["SELECT DivReachedDest, FirstDepTime, DepDelayMinutes FROM mytable
WHERE DestState IN ('VI', 'UT', 'VA') OR ArrTime < 806 ORDER BY
OriginAirportSeqID, ArrivalDelayGroups LIMIT 10000"],"pql":"SELECT
DivReachedDest, FirstDepTime, DepDelayMinutes FROM mytable WHERE DestState IN
('VI', 'UT', 'VA') OR ArrTime < 806 ORDER BY OriginAirportSeqID,
ArrivalDelayGroups LIMIT 10"}
{"hsqls":["SELECT DistanceGroup, Carrier, DepTime FROM mytable WHERE Cancelled
IN (1, 0) AND Flights BETWEEN 1 AND 1 OR TaxiOut <> 32 LIMIT
10000"],"pql":"SELECT DistanceGroup, Carrier, DepTime FROM mytable WHERE
Cancelled IN (1, 0) AND Flights BETWEEN 1 AND 1 OR TaxiOut <> 32 LIMIT 7"}
{"hsqls":["SELECT ActualElapsedTime, CancellationCode, DivArrDelay, MIN(Month)
FROM mytable WHERE DayofMonth BETWEEN 12 AND 24 GROUP BY ActualElapsedTime,
CancellationCode, DivArrDelay LIMIT 10000","SELECT ActualElapsedTime,
CancellationCode, DivArrDelay, AVG(CAST(DivAirportLandings AS DOUBLE)) FROM
mytable WHERE DayofMonth BETWEEN 12 AND 24 GROUP BY ActualElapsedTime,
CancellationCode, DivArrDelay LIMIT 10000"],"pql":"SELECT MIN(Month),
AVG(DivAirportLandings) FROM mytable WHERE DayofMo [...]
diff --git
a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K.sql
b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K.sql
index bcb6033..6d56143 100644
---
a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K.sql
+++
b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_10K.sql
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
{"sql":"SELECT DivReachedDest, FirstDepTime, DepDelayMinutes FROM mytable
WHERE DestState IN ('VI', 'UT', 'VA') OR ArrTime < 806 ORDER BY
OriginAirportSeqID, ArrivalDelayGroups LIMIT 10"}
{"sql":"SELECT DistanceGroup, Carrier, DepTime FROM mytable WHERE Cancelled IN
(1, 0) AND Flights BETWEEN 1 AND 1 OR TaxiOut <> 32 LIMIT 7"}
{"sql":"SELECT ActualElapsedTime, CancellationCode, DivArrDelay,
MIN(\"Month\"), AVG(DivAirportLandings) FROM mytable WHERE DayofMonth BETWEEN
12 AND 24 GROUP BY ActualElapsedTime, CancellationCode, DivArrDelay LIMIT
29","hsqls":["SELECT ActualElapsedTime, CancellationCode, DivArrDelay,
MIN(Month), AVG(DivAirportLandings) FROM mytable WHERE DayofMonth BETWEEN 12
AND 24 GROUP BY ActualElapsedTime, CancellationCode, DivArrDelay LIMIT 29"]}
diff --git
a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500
b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.pql
similarity index 99%
rename from
pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500
rename to
pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.pql
index 1f884e3..0217fba 100644
---
a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500
+++
b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.pql
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
# Aggregation
{"hsqls":["SELECT sum(DepartureDelayGroups) FROM mytable LIMIT 10000","SELECT
MIN(FlightNum) FROM mytable LIMIT 10000","SELECT MAX(AirlineID) FROM mytable
LIMIT 10000","SELECT AVG(CAST(Year AS DOUBLE)) FROM mytable LIMIT
10000"],"pql":"SELECT sum(DepartureDelayGroups), min(FlightNum),
MAX(AirlineID), AVG(Year) FROM mytable"}
{"hsqls":["SELECT AVG(CAST(ActualElapsedTime AS DOUBLE)) FROM mytable LIMIT
10000","SELECT COUNT(DivDistance) FROM mytable LIMIT 10000","SELECT
MIN(DepDelay) FROM mytable LIMIT 10000"],"pql":"SELECT AVG(ActualElapsedTime),
COUNT(DivDistance), MIN(DepDelay) FROM mytable"}
diff --git
a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.sql
b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.sql
index ea02c95..425dc0e 100644
---
a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.sql
+++
b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset.test_queries_500.sql
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
# Aggregation
{"sql":"SELECT AVG(ActualElapsedTime), COUNT(DivDistance), MIN(DepDelay) FROM
mytable"}
{"sql":"SELECT AVG(ArrDelayMinutes) FROM mytable"}
diff --git
a/pinot-integration-tests/src/test/resources/compat-tests/kafka/topic1.cfg
b/pinot-integration-tests/src/test/resources/compat-tests/kafka/topic1.cfg
index e4eb246..5b15fe1 100644
--- a/pinot-integration-tests/src/test/resources/compat-tests/kafka/topic1.cfg
+++ b/pinot-integration-tests/src/test/resources/compat-tests/kafka/topic1.cfg
@@ -1,3 +1,22 @@
+//
+// 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.
+//
+
topicName = topic1
numPartitions = 1
diff --git
a/pinot-integration-tests/src/test/resources/compat-tests/queries/feature-test-1-sql.queries
b/pinot-integration-tests/src/test/resources/compat-tests/queries/feature-test-1-sql.queries
index 81edad9..37a6120 100644
---
a/pinot-integration-tests/src/test/resources/compat-tests/queries/feature-test-1-sql.queries
+++
b/pinot-integration-tests/src/test/resources/compat-tests/queries/feature-test-1-sql.queries
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
# Aggregation
SELECT count(*) FROM FeatureTest1 WHERE generationNumber =
__GENERATION_NUMBER__
SELECT sum(intMetric1), sumMV(intDimMV1), min(intMetric1), minMV(intDimMV2),
max(longDimSV1), maxMV(intDimMV1) FROM FeatureTest1 WHERE generationNumber =
__GENERATION_NUMBER__
diff --git
a/pinot-integration-tests/src/test/resources/compat-tests/query-results/feature-test-1-rest-sql.results
b/pinot-integration-tests/src/test/resources/compat-tests/query-results/feature-test-1-rest-sql.results
index 48e4ea0..52cc78c 100644
---
a/pinot-integration-tests/src/test/resources/compat-tests/query-results/feature-test-1-rest-sql.results
+++
b/pinot-integration-tests/src/test/resources/compat-tests/query-results/feature-test-1-rest-sql.results
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
# Aggregation
{"resultTable":{"dataSchema":{"columnDataTypes":["LONG"],"columnNames":["count(*)"]},"rows":[[10]]},"exceptions":[],"numServersQueried":1,"numServersResponded":1,"numSegmentsQueried":1,"numSegmentsProcessed":1,"numSegmentsMatched":1,"numConsumingSegmentsQueried":0,"numDocsScanned":10,"numEntriesScannedInFilter":0,"numEntriesScannedPostFilter":0,"numGroupsLimitReached":false,"totalDocs":10,"timeUsedMs":4,"segmentStatistics":[],"traceInfo":{},"minConsumingFreshnessTimeMs":0}
{"resultTable":{"dataSchema":{"columnDataTypes":["DOUBLE","DOUBLE","DOUBLE","DOUBLE","DOUBLE","DOUBLE"],"columnNames":["sum(intMetric1)","summv(intDimMV1)","min(intMetric1)","minmv(intDimMV2)","max(longDimSV1)","maxmv(intDimMV1)"]},"rows":[[4.294967536E9,-2.147479976E9,0.0,6.0,7611.0,462.0]]},"exceptions":[],"numServersQueried":1,"numServersResponded":1,"numSegmentsQueried":1,"numSegmentsProcessed":1,"numSegmentsMatched":1,"numConsumingSegmentsQueried":0,"numDocsScanned":10,"numEntriesSc
[...]
diff --git a/pinot-integration-tests/src/test/resources/index.html
b/pinot-integration-tests/src/test/resources/index.html
index 1583599..43ba8ae 100644
--- a/pinot-integration-tests/src/test/resources/index.html
+++ b/pinot-integration-tests/src/test/resources/index.html
@@ -1,3 +1,23 @@
+<!--
+
+ 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.
+
+-->
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
diff --git
a/pinot-plugins/pinot-file-system/pinot-adls/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
b/pinot-plugins/pinot-file-system/pinot-adls/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
index 25c823c..7939fec 100644
---
a/pinot-plugins/pinot-file-system/pinot-adls/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
+++
b/pinot-plugins/pinot-file-system/pinot-adls/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
# This class defines Mockito plugins to be used during testing
# mock-maker inline enables mocking of 'final' classes in Mockito v2.
diff --git
a/pinot-plugins/pinot-file-system/pinot-s3/src/test/resources/log4j2.xml
b/pinot-plugins/pinot-file-system/pinot-s3/src/test/resources/log4j2.xml
index cc7b1f9..253b9ad 100644
--- a/pinot-plugins/pinot-file-system/pinot-s3/src/test/resources/log4j2.xml
+++ b/pinot-plugins/pinot-file-system/pinot-s3/src/test/resources/log4j2.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
<configuration>
<root level="warn"/>
diff --git
a/pinot-plugins/pinot-input-format/pinot-protobuf/src/test/resources/complex_types.proto
b/pinot-plugins/pinot-input-format/pinot-protobuf/src/test/resources/complex_types.proto
index 4fb6c27..0494732 100644
---
a/pinot-plugins/pinot-input-format/pinot-protobuf/src/test/resources/complex_types.proto
+++
b/pinot-plugins/pinot-input-format/pinot-protobuf/src/test/resources/complex_types.proto
@@ -1,3 +1,22 @@
+//
+// 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.
+//
+
syntax = "proto3";
package org.apache.pinot.plugin.inputformat.protobuf;
diff --git
a/pinot-plugins/pinot-input-format/pinot-protobuf/src/test/resources/sample.proto
b/pinot-plugins/pinot-input-format/pinot-protobuf/src/test/resources/sample.proto
index e27377b..20dafb6 100644
---
a/pinot-plugins/pinot-input-format/pinot-protobuf/src/test/resources/sample.proto
+++
b/pinot-plugins/pinot-input-format/pinot-protobuf/src/test/resources/sample.proto
@@ -1,3 +1,22 @@
+//
+// 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.
+//
+
syntax = "proto3";
package org.apache.pinot.plugin.inputformat.protobuf;
diff --git a/pinot-server/src/test/resources/conf/pinot-broker.properties
b/pinot-server/src/test/resources/conf/pinot-broker.properties
index 2efa525..25fba3f 100644
--- a/pinot-server/src/test/resources/conf/pinot-broker.properties
+++ b/pinot-server/src/test/resources/conf/pinot-broker.properties
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
pinot.broker.routing.tableName=testTable
# Number of nodes constituting a replica-set. A replica-set has 0-(n-1) nodes
where n is the below config value.
pinot.broker.routing.testTable.numNodesPerReplica=1
diff --git a/pinot-spi/src/test/resources/pinot-configuration-1.properties
b/pinot-spi/src/test/resources/pinot-configuration-1.properties
index ab3547a..0f8ff51 100644
--- a/pinot-spi/src/test/resources/pinot-configuration-1.properties
+++ b/pinot-spi/src/test/resources/pinot-configuration-1.properties
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
controller.host=config-path-1-controller-host
controller.port=config-path-1-controller-port
controller.cluster-name=config-path-1-cluster-name
diff --git a/pinot-spi/src/test/resources/pinot-configuration-2.properties
b/pinot-spi/src/test/resources/pinot-configuration-2.properties
index f06acc0..27d2e90 100644
--- a/pinot-spi/src/test/resources/pinot-configuration-2.properties
+++ b/pinot-spi/src/test/resources/pinot-configuration-2.properties
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
controller.host=config-path-2-controller-host
controller.port=config-path-2-controller-port
controller.cluster-name=config-path-2-cluster-name
diff --git a/pinot-spi/src/test/resources/pinot-configuration-3.properties
b/pinot-spi/src/test/resources/pinot-configuration-3.properties
index 248e120..3045e9f 100644
--- a/pinot-spi/src/test/resources/pinot-configuration-3.properties
+++ b/pinot-spi/src/test/resources/pinot-configuration-3.properties
@@ -1,2 +1,21 @@
+#
+# 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.
+#
+
controller.config-paths-multi-value-test-1=config-path-3-config-paths-multi-value-test-1
-controller.config-paths-multi-value-test-2=config-path-3-config-paths-multi-value-test-2
\ No newline at end of file
+controller.config-paths-multi-value-test-2=config-path-3-config-paths-multi-value-test-2
diff --git
a/pinot-tools/src/main/resources/conf/sample_filesystem_benchmark.conf
b/pinot-tools/src/main/resources/conf/sample_filesystem_benchmark.conf
index 3583707..d9f573b 100644
--- a/pinot-tools/src/main/resources/conf/sample_filesystem_benchmark.conf
+++ b/pinot-tools/src/main/resources/conf/sample_filesystem_benchmark.conf
@@ -1,3 +1,22 @@
+//
+// 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.
+//
+
// Azure Datalake Gen2
class.abfss=org.apache.pinot.plugin.filesystem.AzureGen2PinotFS
abfss.accountName=<account_name>
diff --git a/pinot-tools/src/main/resources/conf/sample_query_comparison.conf
b/pinot-tools/src/main/resources/conf/sample_query_comparison.conf
index 142f8fa..ee93740 100644
--- a/pinot-tools/src/main/resources/conf/sample_query_comparison.conf
+++ b/pinot-tools/src/main/resources/conf/sample_query_comparison.conf
@@ -1,3 +1,22 @@
+//
+// 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.
+//
+
start.zookeeper = true
zookeeper.address = localhost:2181
cluster.name = QueryComparisonCluster
diff --git a/pom.xml b/pom.xml
index 438e49e..f96c88d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -188,17 +188,6 @@
</properties>
</profile>
<profile>
- <id>travis</id>
- <activation>
- <activeByDefault>false</activeByDefault>
- </activation>
- <properties>
- <argLine>-Xms4g -Xmx4g -XX:MaxPermSize=512m -XX:MaxDirectMemorySize=10g
- -Dlog4j2.configurationFile=log4j2-fatal-only.xml
- </argLine>
- </properties>
- </profile>
- <profile>
<id>github-actions</id>
<activation>
<activeByDefault>false</activeByDefault>
@@ -1419,7 +1408,7 @@
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
- <version>2.8</version>
+ <version>4.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -1562,52 +1551,58 @@
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
- <version>2.8</version>
+ <version>4.0</version>
<configuration>
<header>${pinot.root}/HEADER</header>
<headerDefinitions>
-
<headerDefinition>${pinot.root}/rstheaderdefinition.xml</headerDefinition>
+
<headerDefinition>${pinot.root}/headerdefinition.xml</headerDefinition>
</headerDefinitions>
<excludes>
- <!-- Exclude build files for docs -->
- <exclude>docs/_build/**</exclude>
- <exlude>docs/Makefile</exlude>
-
<!-- Text and log files -->
<exclude>**/*.txt</exclude>
<exclude>**/*.log</exclude>
+ <exclude>**/*.list</exclude>
+ <exclude>**/*.out</exclude>
+ <exclude>**/*.generated</exclude>
+ <exclude>**/*.json</exclude>
+ <exclude>**/*.schema</exclude>
- <exclude>**/*.pql</exclude>
- <exclude>**/*.config</exclude>
- <exclude>**/*.csv</exclude>
- <exclude>**/*.avro</exclude>
- <exclude>**/*.conf</exclude>
- <exclude>**/appAssemblerScriptTemplate</exclude>
+ <!-- JDBC Drivers -->
+ <exclude>**/java.sql.*</exclude>
- <exclude>**/zone-index.properties</exclude>
+ <!-- Spark datasource register -->
+
<exclude>**/org.apache.spark.sql.sources.DataSourceRegister</exclude>
- <!-- Resource directories under test -->
- <exclude>**/src/test/resources/**</exclude>
+ <!-- Binary files -->
+ <exclude>**/*.avro</exclude>
+ <exclude>**/*.avsc</exclude>
+ <exclude>**/*.csv</exclude>
+ <exclude>**/*.desc</exclude>
+ <exclude>**/*.parquet</exclude>
+ <exclude>**/*.gz</exclude>
+ <exclude>**/*.orc</exclude>
+ <exclude>**/*.dict</exclude>
+ <exclude>**/*.raw</exclude>
+ <exclude>**/*.mapping</exclude>
+ <exclude>**/*.ser</exclude>
+ <exclude>**/*.v1</exclude>
+ <exclude>**/*.v2</exclude>
<!-- Auto-generated target directories -->
<exclude>target/**</exclude>
<exclude>pinot-*/target/**</exclude>
- <!-- Top level directories -->
- <exclude>thirdeye/**</exclude>
+ <!-- Pinot Website (not part of the distribution) -->
<exclude>website/**</exclude>
- <exclude>docker/**</exclude>
- <exclude>kubernetes/**</exclude>
- <!-- Docker image configs -->
- <exclude>docker/images/pinot-thirdeye/**</exclude>
+ <!-- Docker and Kubernetes (not part of the distribution) -->
+ <exclude>kubernetes/**</exclude>
+ <exclude>docker/**</exclude>
- <!-- Note: this will exclude all single character directories
under the root directory.
- We use this to exclude the temporary files generated during build
-->
- <exclude>?/**</exclude>
+ <!-- Pinot-Druid Benchmark (not part of the distribution) -->
+ <exclude>contrib/**</exclude>
<!-- Top level files -->
- <exclude>.codecov*</exclude>
<exclude>HEADER</exclude>
<exclude>LICENSE*</exclude>
<exclude>NOTICE*</exclude>
@@ -1616,26 +1611,29 @@
<!-- js, css files that are exact copies of the third-party works.
In this case, the original header has to
be kept. Please refer to 'Treatment of Third-party works' in
https://www.apache.org/legal/src-headers.html
-->
- <exclude>**/codemirror/**</exclude>
- <exclude>**/codemirror*</exclude>
- <exclude>**/foundation*</exclude>
- <exclude>**/angular*</exclude>
- <exclude>**/underscore*</exclude>
- <exclude>**/jquery*</exclude>
- <exclude>**/normalize*</exclude>
- <exclude>**/handlebars*</exclude>
- <exclude>**/beautify*</exclude>
<exclude>**/node_modules/**</exclude>
<exclude>**/dist/**</exclude>
- <exclude>**/.factorypath</exclude>
- <exclude>**/app/**</exclude>
- <exclude>**/src/main/resources/dist/**</exclude>
- <exclude>**/src/main/resources/.*</exclude>
+ <exclude>**/src/main/resources/*.*rc</exclude>
</excludes>
<mapping>
+ <java>JAVADOC_STYLE</java>
+ <scala>JAVADOC_STYLE</scala>
<thrift>JAVADOC_STYLE</thrift>
<g4>JAVADOC_STYLE</g4>
+ <ts>JAVADOC_STYLE</ts>
+ <tsx>JAVADOC_STYLE</tsx>
+ <config>SCRIPT_STYLE</config>
+ <queries>SCRIPT_STYLE</queries>
+ <results>SCRIPT_STYLE</results>
+ <MockMaker>SCRIPT_STYLE</MockMaker>
+
<appAssemblerScriptTemplate>SCRIPT_STYLE</appAssemblerScriptTemplate>
+ <pql>SCRIPT_STYLE</pql>
+ <sql>SCRIPT_STYLE</sql>
+ <conf>DOUBLESLASH_STYLE</conf>
+ <cfg>DOUBLESLASH_STYLE</cfg>
+ <proto>DOUBLESLASH_STYLE</proto>
<rst>RST_STYLE</rst>
+ <readme>RST_STYLE</readme>
</mapping>
</configuration>
<executions>
@@ -1660,12 +1658,6 @@
</executions>
<configuration>
<excludes>
- <!-- Sphynx auto generated makefile -->
- <exclude>docs/Makefile</exclude>
-
- <!-- Exclude build files for docs -->
- <exclude>docs/_build/**</exclude>
-
<!-- Exclude license copies -->
<exclude>licenses/**</exclude>
<exclude>licenses-binary/**</exclude>
@@ -1673,50 +1665,48 @@
<!-- Exclude build targets -->
<exclude>**/target/**</exclude>
+ <!-- Text and log files -->
+ <exclude>**/*.txt</exclude>
+ <exclude>**/*.log</exclude>
+ <exclude>**/*.list</exclude>
+ <exclude>**/*.out</exclude>
+ <exclude>**/*.generated</exclude>
+ <exclude>**/*.json</exclude>
+ <exclude>**/*.schema</exclude>
- <!-- js, css files that are exact copies of the third-party works.
In this case, the original header has to
- be kept. Please refer to 'Treatment of Third-party works' in
https://www.apache.org/legal/src-headers.html
- -->
- <exclude>**/codemirror/**</exclude>
- <exclude>**/codemirror*</exclude>
- <exclude>**/foundation*</exclude>
- <exclude>**/angular*</exclude>
- <exclude>**/underscore*</exclude>
- <exclude>**/jquery*</exclude>
- <exclude>**/normalize*</exclude>
- <exclude>**/handlebars*</exclude>
- <exclude>**/beautify*</exclude>
- <exclude>**/src/main/resources/.*</exclude>
- <exclude>**/src/main/resources/dist/**</exclude>
- <exclude>**/src/main/resources/node_modules/**</exclude>
+ <!-- JDBC Drivers -->
+ <exclude>**/java.sql.*</exclude>
+
+ <!-- Spark datasource register -->
+
<exclude>**/org.apache.spark.sql.sources.DataSourceRegister</exclude>
<!-- Binary files -->
- <exclude>**/*.json</exclude>
- <exclude>**/*.pql</exclude>
- <exclude>**/*.log</exclude>
- <exclude>**/*.csv</exclude>
<exclude>**/*.avro</exclude>
- <exclude>**/*.conf</exclude>
- <exclude>**/*.config</exclude>
- <exclude>**/*.yml</exclude>
- <exclude>**/*.yaml</exclude>
- <exclude>**/*.properties</exclude>
+ <exclude>**/*.avsc</exclude>
+ <exclude>**/*.csv</exclude>
+ <exclude>**/*.desc</exclude>
+ <exclude>**/*.parquet</exclude>
+ <exclude>**/*.gz</exclude>
+ <exclude>**/*.orc</exclude>
+ <exclude>**/*.dict</exclude>
+ <exclude>**/*.raw</exclude>
+ <exclude>**/*.mapping</exclude>
+ <exclude>**/*.ser</exclude>
+ <exclude>**/*.v1</exclude>
+ <exclude>**/*.v2</exclude>
+ <exclude>**/appAssemblerScriptTemplate</exclude>
+
+ <!-- js, css files that are exact copies of the third-party works.
In this case, the original header has to
+ be kept. Please refer to 'Treatment of Third-party works' in
https://www.apache.org/legal/src-headers.html
+ -->
+ <exclude>**/node_modules/**</exclude>
+ <exclude>**/dist/**</exclude>
+ <exclude>**/*.*rc</exclude>
+ <exclude>**/src/main/resources/*.*rc</exclude>
<!-- IDE files -->
<exclude>**/*.iml</exclude>
- <!-- Top level -->
- <exclude>.codecov*</exclude>
-
- <!-- Test Resources -->
- <exclude>**/test/resources/**</exclude>
-
- <!-- JDBC Drivers -->
- <exclude>**/main/resources/java.sql.*</exclude>
-
- <!-- Spark datasource register -->
-
<exclude>**/src/main/resources/META-INF/services/org.apache.spark.sql.sources.DataSourceRegister</exclude>
-
<!-- Pinot Website (not part of the distribution) -->
<exclude>website/**</exclude>
@@ -1727,10 +1717,6 @@
<!-- Pinot-Druid Benchmark (not part of the distribution) -->
<exclude>contrib/**</exclude>
- <!-- Third eye (not part of the distribution) -->
- <exclude>thirdeye/**</exclude>
- <exclude>docker/images/pinot-thirdeye/**</exclude>
-
<!-- Github template files -->
<exclude>.github/*.md</exclude>
</excludes>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]