You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by xi...@apache.org on 2021/04/06 22:54:07 UTC

[incubator-pinot] 01/01: fixing license headers and plugin checks

This is an automated email from the ASF dual-hosted git repository.

xiangfu pushed a commit to branch rat_plugin_test_resources
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit ce519957f44328efc0e22a1e0d1b7468f17379d1
Author: Xiang Fu <fx...@gmail.com>
AuthorDate: Tue Apr 6 13:32:50 2021 -0700

    fixing license headers and plugin checks
---
 .../src/test/resources/SampleExternalView.json     |  19 +++
 .../org/apache/pinot/client/aggregation.json       |  19 +++
 .../apache/pinot/client/aggregationGroupBy.json    |  19 +++
 .../org/apache/pinot/client/exception.json         |  19 +++
 .../org/apache/pinot/client/selection.json         |  19 +++
 .../src/test/resources/result_table.json           |  19 +++
 .../src/test/resources/selection.json              |  19 +++
 pinot-common/src/main/proto/server.proto           |  19 +++
 .../src/main/resources/zone-index.properties       |  19 +++
 pinot-common/src/test/resources/schemaTest.schema  |  19 +++
 .../src/test/resources/schema/pinot-schema.json    |  19 +++
 .../src/test/resources/schema/spark-schema.json    |  19 +++
 pinot-controller/src/main/resources/package.json   |  19 +++
 pinot-controller/src/main/resources/tsconfig.json  |  19 +++
 .../memory_estimation/schema-with-metadata.json    |  19 +++
 .../schema-with-metadata__dateTimeFieldSpec.json   |  19 +++
 .../resources/memory_estimation/table-config.json  |  19 +++
 .../recommenderInput/BloomFilterInput.json         |  19 +++
 .../recommenderInput/DataSizeCalculationInput.json |  19 +++
 .../recommenderInput/EmptyQueriesInput.json        |  19 +++
 .../resources/recommenderInput/FlagQueryInput.json |  19 +++
 .../resources/recommenderInput/InvalidInput1.json  |  19 +++
 .../resources/recommenderInput/InvalidInput2.json  |  19 +++
 .../recommenderInput/KafkaPartitionRuleInput.json  |  19 +++
 .../recommenderInput/KafkaPartitionRuleInput2.json |  19 +++
 ...NoDictionaryOnHeapDictionaryJointRuleInput.json |  19 +++
 .../PinotTablePartitionRuleInput.json              |  19 +++
 .../RealtimeProvisioningInput_dateTimeColumn.json  |  19 +++
 .../RealtimeProvisioningInput_timeColumn.json      |  19 +++
 .../recommenderInput/SortedInvertedIndexInput.json |  19 +++
 .../VariedLengthDictionaryInput.json               |  19 +++
 .../test/resources/conf/pinot-broker.properties    |  19 +++
 .../test/resources/conf/query-executor.properties  |  19 +++
 pinot-core/src/test/resources/data/README          |  19 +++
 .../resources/data/dimBaseballTeams_schema.json    |  19 +++
 .../data/fakestream/fake_stream_pinot_schema.json  |  19 +++
 .../src/test/resources/data/newColumnsSchema1.json |  19 +++
 .../src/test/resources/data/newColumnsSchema2.json |  19 +++
 .../src/test/resources/data/newColumnsSchema3.json |  19 +++
 .../src/test/resources/data/newColumnsSchema4.json |  19 +++
 .../resources/data/newColumnsWithTextSchema.json   |  19 +++
 .../src/test/resources/data/testDataMVSchema.json  |  19 +++
 .../src/test/resources/data/test_empty_data.json   |  19 +++
 .../data/test_null_value_vector_data.json          |  19 +++
 .../data/test_null_value_vector_pinot_schema.json  |  19 +++
 .../src/test/resources/data/test_sample_data.json  |  19 +++
 .../src/test/resources/data/test_upsert_data.json  |  19 +++
 .../test/resources/data/test_upsert_schema.json    |  19 +++
 .../src/test/resources/generate-test-data.py       |  19 +++
 pinot-distribution/pinot-source-assembly.xml       |   9 +-
 .../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 +++
 ...ime_Performance_2014_100k_subset_nonulls.schema |  19 +++
 ...4_100k_subset_nonulls_datetimefieldspecs.schema |  19 +++
 ...onulls_default_column_test_extra_columns.schema |  19 +++
 ...ulls_default_column_test_missing_columns.schema |  19 +++
 ...100k_subset_nonulls_single_value_columns.schema |  19 +++
 .../test/resources/chaos-monkey-create-table.json  |  19 +++
 .../resources/chaos-monkey-schema-annotations.json |  19 +++
 .../src/test/resources/chaos-monkey-schema.json    |  19 +++
 .../compat-tests/configs/FeatureTest1-schema.json  |  19 +++
 .../feature-test-1-realtime-stream-config.json     |  19 +++
 .../configs/feature-test-1-realtime.json           |  19 +++
 .../compat-tests/configs/feature-test-1.json       |  19 +++
 .../compat-tests/data/recordReaderConfig.json      |  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 +++
 .../src/test/resources/test_null_handling.schema   |  19 +++
 .../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 +++
 .../src/test/resources/data/test_sample_data.json  |  19 +++
 .../test_sample_data_schema_no_time_field.json     |  19 +++
 ...sample_data_schema_with_outgoing_time_spec.json |  19 +++
 ...ple_data_schema_without_outgoing_time_spec.json |  19 +++
 .../test/resources/conf/pinot-broker.properties    |  19 +++
 .../ingestion_job_json_spec_template.json          |  19 +++
 .../resources/pinot-configuration-1.properties     |  19 +++
 .../resources/pinot-configuration-2.properties     |  19 +++
 .../resources/pinot-configuration-3.properties     |  19 +++
 .../main/resources/conf/sample_broker_tenant.json  |  19 +++
 .../conf/sample_filesystem_benchmark.conf          |  19 +++
 .../conf/sample_offline_table_config.json          |  19 +++
 .../resources/conf/sample_query_comparison.conf    |  19 +++
 .../conf/sample_realtime_table_config.json         |  19 +++
 .../src/main/resources/conf/sample_schema.json     |  19 +++
 .../main/resources/conf/sample_server_tenant.json  |  19 +++
 .../airlineStats_offline_table_config.json         |  19 +++
 .../batch/airlineStats/airlineStats_schema.json    |  19 +++
 .../baseballStats_offline_table_config.json        |  19 +++
 .../batch/baseballStats/baseballStats_schema.json  |  19 +++
 .../githubEvents_offline_table_config.json         |  19 +++
 .../batch/githubEvents/githubEvents_schema.json    |  19 +++
 .../githubEvents/rawdata/githubEvents_data.json    |  19 +++
 .../starbucksStores_offline_table_config.json      |  19 +++
 .../starbucksStores/starbucksStores_schema.json    |  19 +++
 .../airlineStats_offline_table_config.json         |  19 +++
 .../batch/airlineStats/airlineStats_schema.json    |  19 +++
 .../baseballStats_offline_table_config.json        |  19 +++
 .../batch/baseballStats/baseballStats_schema.json  |  19 +++
 .../airlineStats_realtime_table_config.json        |  19 +++
 .../stream/airlineStats/airlineStats_schema.json   |  19 +++
 .../docker/airlineStats_realtime_table_config.json |  19 +++
 .../airlineStats_realtime_table_config.json        |  19 +++
 .../airlineStats_realtime_table_config.json        |  19 +++
 .../sample_data/airlineStats_data.json             |  19 +++
 ...lRequestMergedEvents_realtime_table_config.json |  19 +++
 ...lRequestMergedEvents_realtime_table_config.json |  19 +++
 .../pullRequestMergedEvents_schema.json            |  19 +++
 .../json_meetupRsvp_realtime_table_config.json     |  19 +++
 .../stream/meetupRsvp/json_meetupRsvp_schema.json  |  19 +++
 .../meetupRsvp_realtime_table_config.json          |  19 +++
 .../meetupRsvp_realtime_table_config.json          |  19 +++
 .../meetupRsvp_realtime_table_config.json          |  19 +++
 .../stream/meetupRsvp/meetupRsvp_schema.json       |  19 +++
 .../upsert_meetupRsvp_realtime_table_config.json   |  19 +++
 .../meetupRsvp/upsert_meetupRsvp_schema.json       |  19 +++
 .../resources/generator/complexWebsite_config.json |  19 +++
 .../generator/complexWebsite_generator.json        |  19 +++
 .../resources/generator/complexWebsite_schema.json |  19 +++
 .../resources/generator/simpleWebsite_config.json  |  19 +++
 .../generator/simpleWebsite_generator.json         |  19 +++
 .../resources/generator/simpleWebsite_schema.json  |  19 +++
 .../resources/test_data/test_invalid_data.json     |  19 +++
 pom.xml                                            | 154 ++++++++++-----------
 rstheaderdefinition.xml                            |  10 ++
 133 files changed, 2523 insertions(+), 88 deletions(-)

diff --git a/pinot-broker/src/test/resources/SampleExternalView.json b/pinot-broker/src/test/resources/SampleExternalView.json
index 44eea3b..ba74109 100644
--- a/pinot-broker/src/test/resources/SampleExternalView.json
+++ b/pinot-broker/src/test/resources/SampleExternalView.json
@@ -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.
+//
+
 {
   "id":"testTable_OFFLINE"
   ,"simpleFields":{
diff --git a/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/aggregation.json b/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/aggregation.json
index b2009d6..72b7260 100644
--- a/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/aggregation.json
+++ b/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/aggregation.json
@@ -1 +1,20 @@
+//
+// 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.
+//
+
 {"traceInfo":{},"numDocsScanned":36542,"aggregationResults":[{"function":"count_star","value":"36542"}],"timeUsedMs":30,"segmentStatistics":[],"exceptions":[],"totalDocs":115545}
diff --git a/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/aggregationGroupBy.json b/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/aggregationGroupBy.json
index 79b8a5d..113b3a0 100644
--- a/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/aggregationGroupBy.json
+++ b/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/aggregationGroupBy.json
@@ -1 +1,20 @@
+//
+// 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.
+//
+
 {"traceInfo":{},"numDocsScanned":22598,"aggregationResults":[{"groupByResult":[{"value":"3604","group":["30194"]},{"value":"1804","group":["31057"]},{"value":"1316","group":["32467"]},{"value":"1278","group":["30977"]},{"value":"1276","group":["30466"]},{"value":"1186","group":["32575"]},{"value":"1167","group":["31703"]},{"value":"1054","group":["30559"]},{"value":"975","group":["34100"]},{"value":"828","group":["30852"]}],"function":"count_star","groupByColumns":["DestCityMarketID"]}], [...]
diff --git a/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/exception.json b/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/exception.json
index 0bfd8fd..ee21fbc 100644
--- a/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/exception.json
+++ b/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/exception.json
@@ -1 +1,20 @@
+//
+// 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.
+//
+
 {"traceInfo":{},"numDocsScanned":0,"aggregationResults":[],"timeUsedMs":0,"segmentStatistics":[],"exceptions":["ProcessingException(errorCode:350, message:java.lang.NullPointerException\n\tat org.apache.pinot.core.plan.GlobalPlanImplV0.execute(GlobalPlanImplV0.java:66)\n\tat org.apache.pinot.core.query.executor.ServerQueryExecutorV1Impl$3.call(ServerQueryExecutorV1Impl.java:141)\n\tat org.apache.pinot.common.metrics.AbstractMetrics.timePhase(AbstractMetrics.java:106)\n\tat org.apache.pin [...]
diff --git a/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/selection.json b/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/selection.json
index 223e093..4d22aac 100644
--- a/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/selection.json
+++ b/pinot-clients/pinot-java-client/src/test/resources/org/apache/pinot/client/selection.json
@@ -1 +1,20 @@
+//
+// 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.
+//
+
 {"selectionResults":{"columns":["ActualElapsedTime","AirTime","AirlineID","ArrDel15","ArrDelay","ArrDelayMinutes","ArrTime","ArrTimeBlk","ArrivalDelayGroups","CRSArrTime","CRSDepTime","CRSElapsedTime","CancellationCode","Cancelled","Carrier","CarrierDelay","DayOfWeek","DayofMonth","DaysSinceEpoch","DepDel15","DepDelay","DepDelayMinutes","DepTime","DepTimeBlk","DepartureDelayGroups","Dest","DestAirportID","DestAirportSeqID","DestCityMarketID","DestCityName","DestState","DestStateFips","De [...]
diff --git a/pinot-clients/pinot-jdbc-client/src/test/resources/result_table.json b/pinot-clients/pinot-jdbc-client/src/test/resources/result_table.json
index f35b0fe..2b62db0 100644
--- a/pinot-clients/pinot-jdbc-client/src/test/resources/result_table.json
+++ b/pinot-clients/pinot-jdbc-client/src/test/resources/result_table.json
@@ -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.
+//
+
 {
   "resultTable": {
     "dataSchema": {
diff --git a/pinot-clients/pinot-jdbc-client/src/test/resources/selection.json b/pinot-clients/pinot-jdbc-client/src/test/resources/selection.json
index 223e093..4d22aac 100644
--- a/pinot-clients/pinot-jdbc-client/src/test/resources/selection.json
+++ b/pinot-clients/pinot-jdbc-client/src/test/resources/selection.json
@@ -1 +1,20 @@
+//
+// 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.
+//
+
 {"selectionResults":{"columns":["ActualElapsedTime","AirTime","AirlineID","ArrDel15","ArrDelay","ArrDelayMinutes","ArrTime","ArrTimeBlk","ArrivalDelayGroups","CRSArrTime","CRSDepTime","CRSElapsedTime","CancellationCode","Cancelled","Carrier","CarrierDelay","DayOfWeek","DayofMonth","DaysSinceEpoch","DepDel15","DepDelay","DepDelayMinutes","DepTime","DepTimeBlk","DepartureDelayGroups","Dest","DestAirportID","DestAirportSeqID","DestCityMarketID","DestCityName","DestState","DestStateFips","De [...]
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-common/src/test/resources/schemaTest.schema b/pinot-common/src/test/resources/schemaTest.schema
index b7c7dcf..54e08d5 100644
--- a/pinot-common/src/test/resources/schemaTest.schema
+++ b/pinot-common/src/test/resources/schemaTest.schema
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-connectors/pinot-spark-connector/src/test/resources/schema/pinot-schema.json b/pinot-connectors/pinot-spark-connector/src/test/resources/schema/pinot-schema.json
index 9ccf411..74d3089 100644
--- a/pinot-connectors/pinot-spark-connector/src/test/resources/schema/pinot-schema.json
+++ b/pinot-connectors/pinot-spark-connector/src/test/resources/schema/pinot-schema.json
@@ -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.
+//
+
 {
   "schemaName" : "schemaName",
   "dimensionFieldSpecs" : [ {
diff --git a/pinot-connectors/pinot-spark-connector/src/test/resources/schema/spark-schema.json b/pinot-connectors/pinot-spark-connector/src/test/resources/schema/spark-schema.json
index f75db2a..a8cd5aa1 100644
--- a/pinot-connectors/pinot-spark-connector/src/test/resources/schema/spark-schema.json
+++ b/pinot-connectors/pinot-spark-connector/src/test/resources/schema/spark-schema.json
@@ -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.
+//
+
 {
   "type" : "struct",
   "fields" : [ {
diff --git a/pinot-controller/src/main/resources/package.json b/pinot-controller/src/main/resources/package.json
index efe684d..56be51f 100644
--- a/pinot-controller/src/main/resources/package.json
+++ b/pinot-controller/src/main/resources/package.json
@@ -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.
+//
+
 {
   "name": "pinot-controller-ui",
   "version": "1.0.0",
diff --git a/pinot-controller/src/main/resources/tsconfig.json b/pinot-controller/src/main/resources/tsconfig.json
index ead39f2..e1667eb 100644
--- a/pinot-controller/src/main/resources/tsconfig.json
+++ b/pinot-controller/src/main/resources/tsconfig.json
@@ -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-controller/src/test/resources/memory_estimation/schema-with-metadata.json b/pinot-controller/src/test/resources/memory_estimation/schema-with-metadata.json
index e048d87..ef659a1 100644
--- a/pinot-controller/src/test/resources/memory_estimation/schema-with-metadata.json
+++ b/pinot-controller/src/test/resources/memory_estimation/schema-with-metadata.json
@@ -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.
+//
+
 {
   "schemaName": "testTable",
   "dimensionFieldSpecs": [
diff --git a/pinot-controller/src/test/resources/memory_estimation/schema-with-metadata__dateTimeFieldSpec.json b/pinot-controller/src/test/resources/memory_estimation/schema-with-metadata__dateTimeFieldSpec.json
index c331a37..ce712c4 100644
--- a/pinot-controller/src/test/resources/memory_estimation/schema-with-metadata__dateTimeFieldSpec.json
+++ b/pinot-controller/src/test/resources/memory_estimation/schema-with-metadata__dateTimeFieldSpec.json
@@ -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.
+//
+
 {
   "schemaName": "testTable",
   "dimensionFieldSpecs": [
diff --git a/pinot-controller/src/test/resources/memory_estimation/table-config.json b/pinot-controller/src/test/resources/memory_estimation/table-config.json
index 5e06e3f..857c539 100644
--- a/pinot-controller/src/test/resources/memory_estimation/table-config.json
+++ b/pinot-controller/src/test/resources/memory_estimation/table-config.json
@@ -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.
+//
+
 {
   "metadata": {},
   "routing": {
diff --git a/pinot-controller/src/test/resources/recommenderInput/BloomFilterInput.json b/pinot-controller/src/test/resources/recommenderInput/BloomFilterInput.json
index ee38092..9454e13 100644
--- a/pinot-controller/src/test/resources/recommenderInput/BloomFilterInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/BloomFilterInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/DataSizeCalculationInput.json b/pinot-controller/src/test/resources/recommenderInput/DataSizeCalculationInput.json
index f1f083a..510cd86 100644
--- a/pinot-controller/src/test/resources/recommenderInput/DataSizeCalculationInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/DataSizeCalculationInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/EmptyQueriesInput.json b/pinot-controller/src/test/resources/recommenderInput/EmptyQueriesInput.json
index d16e8f6..1baabbd 100644
--- a/pinot-controller/src/test/resources/recommenderInput/EmptyQueriesInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/EmptyQueriesInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/FlagQueryInput.json b/pinot-controller/src/test/resources/recommenderInput/FlagQueryInput.json
index 4fc7446..ac2b7b5 100644
--- a/pinot-controller/src/test/resources/recommenderInput/FlagQueryInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/FlagQueryInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/InvalidInput1.json b/pinot-controller/src/test/resources/recommenderInput/InvalidInput1.json
index f14bba1..ca80f20 100644
--- a/pinot-controller/src/test/resources/recommenderInput/InvalidInput1.json
+++ b/pinot-controller/src/test/resources/recommenderInput/InvalidInput1.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/InvalidInput2.json b/pinot-controller/src/test/resources/recommenderInput/InvalidInput2.json
index c29bdc9..ce90c1d 100644
--- a/pinot-controller/src/test/resources/recommenderInput/InvalidInput2.json
+++ b/pinot-controller/src/test/resources/recommenderInput/InvalidInput2.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/KafkaPartitionRuleInput.json b/pinot-controller/src/test/resources/recommenderInput/KafkaPartitionRuleInput.json
index 4bf697f..78be123 100644
--- a/pinot-controller/src/test/resources/recommenderInput/KafkaPartitionRuleInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/KafkaPartitionRuleInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/KafkaPartitionRuleInput2.json b/pinot-controller/src/test/resources/recommenderInput/KafkaPartitionRuleInput2.json
index e8f370f..cce48f0 100644
--- a/pinot-controller/src/test/resources/recommenderInput/KafkaPartitionRuleInput2.json
+++ b/pinot-controller/src/test/resources/recommenderInput/KafkaPartitionRuleInput2.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/NoDictionaryOnHeapDictionaryJointRuleInput.json b/pinot-controller/src/test/resources/recommenderInput/NoDictionaryOnHeapDictionaryJointRuleInput.json
index 80218b7..0c6ed13 100644
--- a/pinot-controller/src/test/resources/recommenderInput/NoDictionaryOnHeapDictionaryJointRuleInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/NoDictionaryOnHeapDictionaryJointRuleInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/PinotTablePartitionRuleInput.json b/pinot-controller/src/test/resources/recommenderInput/PinotTablePartitionRuleInput.json
index a506320..ca63e5b 100644
--- a/pinot-controller/src/test/resources/recommenderInput/PinotTablePartitionRuleInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/PinotTablePartitionRuleInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_dateTimeColumn.json b/pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_dateTimeColumn.json
index a846ecb..b7a402c 100644
--- a/pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_dateTimeColumn.json
+++ b/pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_dateTimeColumn.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_timeColumn.json b/pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_timeColumn.json
index cd568d5..433a516 100644
--- a/pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_timeColumn.json
+++ b/pinot-controller/src/test/resources/recommenderInput/RealtimeProvisioningInput_timeColumn.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/SortedInvertedIndexInput.json b/pinot-controller/src/test/resources/recommenderInput/SortedInvertedIndexInput.json
index 190e4ef..ec7dae1 100644
--- a/pinot-controller/src/test/resources/recommenderInput/SortedInvertedIndexInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/SortedInvertedIndexInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
diff --git a/pinot-controller/src/test/resources/recommenderInput/VariedLengthDictionaryInput.json b/pinot-controller/src/test/resources/recommenderInput/VariedLengthDictionaryInput.json
index 7bec6cb..e096466 100644
--- a/pinot-controller/src/test/resources/recommenderInput/VariedLengthDictionaryInput.json
+++ b/pinot-controller/src/test/resources/recommenderInput/VariedLengthDictionaryInput.json
@@ -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.
+//
+
 {
   "schema":{
     "schemaName": "tableSchema",
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/data/dimBaseballTeams_schema.json b/pinot-core/src/test/resources/data/dimBaseballTeams_schema.json
index 828cb1f..8212de1 100644
--- a/pinot-core/src/test/resources/data/dimBaseballTeams_schema.json
+++ b/pinot-core/src/test/resources/data/dimBaseballTeams_schema.json
@@ -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.
+//
+
 {
   "dimensionFieldSpecs": [
     {
diff --git a/pinot-core/src/test/resources/data/fakestream/fake_stream_pinot_schema.json b/pinot-core/src/test/resources/data/fakestream/fake_stream_pinot_schema.json
index f17cb53..a7e5a1f 100644
--- a/pinot-core/src/test/resources/data/fakestream/fake_stream_pinot_schema.json
+++ b/pinot-core/src/test/resources/data/fakestream/fake_stream_pinot_schema.json
@@ -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.
+//
+
 {
   "schemaName": "mytable",
   "dimensionFieldSpecs": [
diff --git a/pinot-core/src/test/resources/data/newColumnsSchema1.json b/pinot-core/src/test/resources/data/newColumnsSchema1.json
index b6ef01c..0f74e5a 100644
--- a/pinot-core/src/test/resources/data/newColumnsSchema1.json
+++ b/pinot-core/src/test/resources/data/newColumnsSchema1.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-core/src/test/resources/data/newColumnsSchema2.json b/pinot-core/src/test/resources/data/newColumnsSchema2.json
index 226651e..e798c5d 100644
--- a/pinot-core/src/test/resources/data/newColumnsSchema2.json
+++ b/pinot-core/src/test/resources/data/newColumnsSchema2.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-core/src/test/resources/data/newColumnsSchema3.json b/pinot-core/src/test/resources/data/newColumnsSchema3.json
index 6e05ce3..5109a47 100644
--- a/pinot-core/src/test/resources/data/newColumnsSchema3.json
+++ b/pinot-core/src/test/resources/data/newColumnsSchema3.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-core/src/test/resources/data/newColumnsSchema4.json b/pinot-core/src/test/resources/data/newColumnsSchema4.json
index 2141b0b..e4a9cdb 100644
--- a/pinot-core/src/test/resources/data/newColumnsSchema4.json
+++ b/pinot-core/src/test/resources/data/newColumnsSchema4.json
@@ -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.
+//
+
 {
   "schemaName": "testDataSchema4",
   "dimensionFieldSpecs": [
diff --git a/pinot-core/src/test/resources/data/newColumnsWithTextSchema.json b/pinot-core/src/test/resources/data/newColumnsWithTextSchema.json
index b2975d4..17ce2d8 100644
--- a/pinot-core/src/test/resources/data/newColumnsWithTextSchema.json
+++ b/pinot-core/src/test/resources/data/newColumnsWithTextSchema.json
@@ -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.
+//
+
 {
   "schemaName": "testDataMV",
   "dimensionFieldSpecs": [
diff --git a/pinot-core/src/test/resources/data/testDataMVSchema.json b/pinot-core/src/test/resources/data/testDataMVSchema.json
index bf480a1..8c12c8f 100644
--- a/pinot-core/src/test/resources/data/testDataMVSchema.json
+++ b/pinot-core/src/test/resources/data/testDataMVSchema.json
@@ -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.
+//
+
 {
   "schemaName": "testDataMV",
   "dimensionFieldSpecs": [
diff --git a/pinot-core/src/test/resources/data/test_empty_data.json b/pinot-core/src/test/resources/data/test_empty_data.json
index e69de29..969b927 100644
--- a/pinot-core/src/test/resources/data/test_empty_data.json
+++ b/pinot-core/src/test/resources/data/test_empty_data.json
@@ -0,0 +1,19 @@
+//
+// 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.
+//
+
diff --git a/pinot-core/src/test/resources/data/test_null_value_vector_data.json b/pinot-core/src/test/resources/data/test_null_value_vector_data.json
index 464f3cb..c6cd1c4 100644
--- a/pinot-core/src/test/resources/data/test_null_value_vector_data.json
+++ b/pinot-core/src/test/resources/data/test_null_value_vector_data.json
@@ -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.
+//
+
 {
   "description" : "6\"mlc\u0015x[9jA\u001DT",
   "secondsSinceEpoch": 1567205394
diff --git a/pinot-core/src/test/resources/data/test_null_value_vector_pinot_schema.json b/pinot-core/src/test/resources/data/test_null_value_vector_pinot_schema.json
index 7665276..a86a862 100644
--- a/pinot-core/src/test/resources/data/test_null_value_vector_pinot_schema.json
+++ b/pinot-core/src/test/resources/data/test_null_value_vector_pinot_schema.json
@@ -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.
+//
+
 {
   "schemaName": "test_pinot_table",
   "dimensionFieldSpecs": [
diff --git a/pinot-core/src/test/resources/data/test_sample_data.json b/pinot-core/src/test/resources/data/test_sample_data.json
index b40080f..bbf89d2 100644
--- a/pinot-core/src/test/resources/data/test_sample_data.json
+++ b/pinot-core/src/test/resources/data/test_sample_data.json
@@ -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.
+//
+
 {"column1": 1840748525967736008, "column2": 231355578, "column3": "CezOib", "column4": 301950577, "column5": 1524412909, "time_day": 1072889503, "column7": "", "column8": "", "column9": "", "column10": "", "column11": "i", "column12": "jgn", "column13": "na", "column14": "", "column15": "", "met_impressionCount": 4955241829510629137}
 {"column1": 1840748525967736008, "column2": 231355578, "column3": "CezOib", "column4": 301950577, "column5": 1524412909, "time_day": 1072889503, "column7": "", "column8": "", "column9": "", "column10": "", "column11": "i", "column12": "lVH", "column13": "LHS", "column14": "", "column15": "", "met_impressionCount": 6240989492723764727}
 {"column1": 1840748525967736008, "column2": 231355578, "column3": "CezOib", "column4": 301950577, "column5": 1524412909, "time_day": 1072889503, "column7": "", "column8": "", "column9": "", "column10": "", "column11": "i", "column12": "kWZ", "column13": "kWZ", "column14": "fU", "column15": "Om", "met_impressionCount": 4955241829510629137}
diff --git a/pinot-core/src/test/resources/data/test_upsert_data.json b/pinot-core/src/test/resources/data/test_upsert_data.json
index 70fe90b..7578f31 100644
--- a/pinot-core/src/test/resources/data/test_upsert_data.json
+++ b/pinot-core/src/test/resources/data/test_upsert_data.json
@@ -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.
+//
+
 [
   {
     "event_id": "aa",
diff --git a/pinot-core/src/test/resources/data/test_upsert_schema.json b/pinot-core/src/test/resources/data/test_upsert_schema.json
index 859c6f7..658be3b 100644
--- a/pinot-core/src/test/resources/data/test_upsert_schema.json
+++ b/pinot-core/src/test/resources/data/test_upsert_schema.json
@@ -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.
+//
+
 {
   "schemaName": "test_pinot_table",
   "dimensionFieldSpecs": [
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..6d8089d 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>.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-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..ec31f4a 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..153145e 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..0c9d7d1 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..39ed760 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/On_Time_On_Time_Performance_2014_100k_subset_nonulls.schema b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls.schema
index 7dff51a..f93ecb5 100644
--- a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls.schema
+++ b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls.schema
@@ -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.
+//
+
 {
   "schemaName": "mytable",
   "dimensionFieldSpecs": [
diff --git a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_datetimefieldspecs.schema b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_datetimefieldspecs.schema
index 9c46510..7f0ad44 100644
--- a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_datetimefieldspecs.schema
+++ b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_datetimefieldspecs.schema
@@ -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.
+//
+
 {
   "schemaName": "mytable",
   "dimensionFieldSpecs": [
diff --git a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_default_column_test_extra_columns.schema b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_default_column_test_extra_columns.schema
index 4ce9bad..cffb2cb 100644
--- a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_default_column_test_extra_columns.schema
+++ b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_default_column_test_extra_columns.schema
@@ -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.
+//
+
 {
   "schemaName": "mytable",
   "dimensionFieldSpecs": [
diff --git a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_default_column_test_missing_columns.schema b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_default_column_test_missing_columns.schema
index e7e1776..4f924b7 100644
--- a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_default_column_test_missing_columns.schema
+++ b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_default_column_test_missing_columns.schema
@@ -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.
+//
+
 {
   "schemaName": "mytable",
   "dimensionFieldSpecs": [
diff --git a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_single_value_columns.schema b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_single_value_columns.schema
index b0b2e7c..cc6df7b 100644
--- a/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_single_value_columns.schema
+++ b/pinot-integration-tests/src/test/resources/On_Time_On_Time_Performance_2014_100k_subset_nonulls_single_value_columns.schema
@@ -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.
+//
+
 {
   "schemaName": "mytable",
   "dimensionFieldSpecs": [
diff --git a/pinot-integration-tests/src/test/resources/chaos-monkey-create-table.json b/pinot-integration-tests/src/test/resources/chaos-monkey-create-table.json
index 3df214a..bb84a2a 100644
--- a/pinot-integration-tests/src/test/resources/chaos-monkey-create-table.json
+++ b/pinot-integration-tests/src/test/resources/chaos-monkey-create-table.json
@@ -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.
+//
+
 {
   "tableName": "myTable",
   "tableType": "OFFLINE",
diff --git a/pinot-integration-tests/src/test/resources/chaos-monkey-schema-annotations.json b/pinot-integration-tests/src/test/resources/chaos-monkey-schema-annotations.json
index fc3e3fe..1870a1f 100644
--- a/pinot-integration-tests/src/test/resources/chaos-monkey-schema-annotations.json
+++ b/pinot-integration-tests/src/test/resources/chaos-monkey-schema-annotations.json
@@ -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.
+//
+
 [
   {
     "column": "name",
diff --git a/pinot-integration-tests/src/test/resources/chaos-monkey-schema.json b/pinot-integration-tests/src/test/resources/chaos-monkey-schema.json
index 02a47f6..3f57713 100644
--- a/pinot-integration-tests/src/test/resources/chaos-monkey-schema.json
+++ b/pinot-integration-tests/src/test/resources/chaos-monkey-schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-integration-tests/src/test/resources/compat-tests/configs/FeatureTest1-schema.json b/pinot-integration-tests/src/test/resources/compat-tests/configs/FeatureTest1-schema.json
index 85378dd..36fdda4 100644
--- a/pinot-integration-tests/src/test/resources/compat-tests/configs/FeatureTest1-schema.json
+++ b/pinot-integration-tests/src/test/resources/compat-tests/configs/FeatureTest1-schema.json
@@ -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.
+//
+
 {
   "dimensionFieldSpecs": [
     {
diff --git a/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime-stream-config.json b/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime-stream-config.json
index de17987..2193441 100644
--- a/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime-stream-config.json
+++ b/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime-stream-config.json
@@ -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.
+//
+
 {
   "streamType": "kafka",
   "stream.kafka.consumer.type": "simple",
diff --git a/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime.json b/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime.json
index 86b56cb..a6f29cf 100644
--- a/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime.json
+++ b/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1-realtime.json
@@ -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.
+//
+
 {
   "fieldConfigList": [
     {
diff --git a/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1.json b/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1.json
index a160228..f87b0c1 100644
--- a/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1.json
+++ b/pinot-integration-tests/src/test/resources/compat-tests/configs/feature-test-1.json
@@ -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.
+//
+
 {
   "fieldConfigList": [
     {
diff --git a/pinot-integration-tests/src/test/resources/compat-tests/data/recordReaderConfig.json b/pinot-integration-tests/src/test/resources/compat-tests/data/recordReaderConfig.json
index ebaa04e..c715d29 100644
--- a/pinot-integration-tests/src/test/resources/compat-tests/data/recordReaderConfig.json
+++ b/pinot-integration-tests/src/test/resources/compat-tests/data/recordReaderConfig.json
@@ -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.
+//
+
 {
     "commentMarker" : "#",
     "header" :
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-integration-tests/src/test/resources/test_null_handling.schema b/pinot-integration-tests/src/test/resources/test_null_handling.schema
index 2113389..aeb8b89 100644
--- a/pinot-integration-tests/src/test/resources/test_null_handling.schema
+++ b/pinot-integration-tests/src/test/resources/test_null_handling.schema
@@ -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.
+//
+
 {
   "dimensionFieldSpecs": [
     {
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-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data.json b/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data.json
index 926570d..9134935 100644
--- a/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data.json
+++ b/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data.json
@@ -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.
+//
+
 {"column1": 1840748525967736008, "column2": 231355578, "column3": "CezOib", "column4": 301950577, "column5": 1524412909, "time_day": 18199, "column7": "", "column8": "", "column9": "", "column10": "", "column11": "i", "column12": "jgn", "column13": "na", "column14": "", "column15": "", "met_impressionCount": 4955241829510629137}
 {"column1": 1840748525967736008, "column2": 231355578, "column3": "CezOib", "column4": 301950577, "column5": 1524412909, "time_day": 18199, "column7": "", "column8": "", "column9": "", "column10": "", "column11": "i", "column12": "lVH", "column13": "LHS", "column14": "", "column15": "", "met_impressionCount": 6240989492723764727}
 {"column1": 1840748525967736008, "column2": 231355578, "column3": "CezOib", "column4": 301950577, "column5": 1524412909, "time_day": 18199, "column7": "", "column8": "", "column9": "", "column10": "", "column11": "i", "column12": "kWZ", "column13": "kWZ", "column14": "fU", "column15": "Om", "met_impressionCount": 4955241829510629137}
diff --git a/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_no_time_field.json b/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_no_time_field.json
index d2c66e2..ea20ef5 100644
--- a/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_no_time_field.json
+++ b/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_no_time_field.json
@@ -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.
+//
+
 {
   "schemaName": "testSampleData",
   "dimensionFieldSpecs": [
diff --git a/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_with_outgoing_time_spec.json b/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_with_outgoing_time_spec.json
index 821142c..5c7cef4 100644
--- a/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_with_outgoing_time_spec.json
+++ b/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_with_outgoing_time_spec.json
@@ -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.
+//
+
 {
   "schemaName": "testSampleData",
   "dimensionFieldSpecs": [
diff --git a/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_without_outgoing_time_spec.json b/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_without_outgoing_time_spec.json
index 3b18513..32bc1a8 100644
--- a/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_without_outgoing_time_spec.json
+++ b/pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/src/test/resources/data/test_sample_data_schema_without_outgoing_time_spec.json
@@ -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.
+//
+
 {
   "schemaName": "testSampleData",
   "dimensionFieldSpecs": [
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/ingestion_job_json_spec_template.json b/pinot-spi/src/test/resources/ingestion_job_json_spec_template.json
index 89908f8..0e73889 100644
--- a/pinot-spi/src/test/resources/ingestion_job_json_spec_template.json
+++ b/pinot-spi/src/test/resources/ingestion_job_json_spec_template.json
@@ -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.
+//
+
 {
   "executionFrameworkSpec": {
     "name": "standalone",
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..6b08b7e 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
diff --git a/pinot-tools/src/main/resources/conf/sample_broker_tenant.json b/pinot-tools/src/main/resources/conf/sample_broker_tenant.json
index 39321c6..f26f0b5 100644
--- a/pinot-tools/src/main/resources/conf/sample_broker_tenant.json
+++ b/pinot-tools/src/main/resources/conf/sample_broker_tenant.json
@@ -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.
+//
+
 {
   "role": "broker",
   "numberOfInstances": "5",
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_offline_table_config.json b/pinot-tools/src/main/resources/conf/sample_offline_table_config.json
index 70d405a..6886026 100644
--- a/pinot-tools/src/main/resources/conf/sample_offline_table_config.json
+++ b/pinot-tools/src/main/resources/conf/sample_offline_table_config.json
@@ -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.
+//
+
 {
   "tableName": "sampleTable",
   "tableType": "OFFLINE",
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/pinot-tools/src/main/resources/conf/sample_realtime_table_config.json b/pinot-tools/src/main/resources/conf/sample_realtime_table_config.json
index cc7dcd9..df62e02 100644
--- a/pinot-tools/src/main/resources/conf/sample_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/conf/sample_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "sampleTable",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/conf/sample_schema.json b/pinot-tools/src/main/resources/conf/sample_schema.json
index 2444004..8291309 100644
--- a/pinot-tools/src/main/resources/conf/sample_schema.json
+++ b/pinot-tools/src/main/resources/conf/sample_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-tools/src/main/resources/conf/sample_server_tenant.json b/pinot-tools/src/main/resources/conf/sample_server_tenant.json
index 1f242ef..ded4a14 100644
--- a/pinot-tools/src/main/resources/conf/sample_server_tenant.json
+++ b/pinot-tools/src/main/resources/conf/sample_server_tenant.json
@@ -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.
+//
+
 {
   "role": "server",
   "numberOfInstances": "5",
diff --git a/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_offline_table_config.json b/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_offline_table_config.json
index b91aa33..1e1b02e 100644
--- a/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_offline_table_config.json
+++ b/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_offline_table_config.json
@@ -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.
+//
+
 {
   "tableName": "airlineStats",
   "tableType": "OFFLINE",
diff --git a/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_schema.json b/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_schema.json
index 97757af..daff105 100644
--- a/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_schema.json
+++ b/pinot-tools/src/main/resources/examples/batch/airlineStats/airlineStats_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
   ],
diff --git a/pinot-tools/src/main/resources/examples/batch/baseballStats/baseballStats_offline_table_config.json b/pinot-tools/src/main/resources/examples/batch/baseballStats/baseballStats_offline_table_config.json
index 168c698..1f1dd4b 100644
--- a/pinot-tools/src/main/resources/examples/batch/baseballStats/baseballStats_offline_table_config.json
+++ b/pinot-tools/src/main/resources/examples/batch/baseballStats/baseballStats_offline_table_config.json
@@ -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.
+//
+
 {
   "tableName": "baseballStats",
   "tableType": "OFFLINE",
diff --git a/pinot-tools/src/main/resources/examples/batch/baseballStats/baseballStats_schema.json b/pinot-tools/src/main/resources/examples/batch/baseballStats/baseballStats_schema.json
index 95e60b0..b6924ec 100644
--- a/pinot-tools/src/main/resources/examples/batch/baseballStats/baseballStats_schema.json
+++ b/pinot-tools/src/main/resources/examples/batch/baseballStats/baseballStats_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_offline_table_config.json b/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_offline_table_config.json
index 57c1f80..3ab6245 100644
--- a/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_offline_table_config.json
+++ b/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_offline_table_config.json
@@ -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.
+//
+
 {
   "tableName": "githubEvents",
   "tableType": "OFFLINE",
diff --git a/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_schema.json b/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_schema.json
index 7904c93..4f4df3d 100644
--- a/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_schema.json
+++ b/pinot-tools/src/main/resources/examples/batch/githubEvents/githubEvents_schema.json
@@ -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.
+//
+
 {
   "dimensionFieldSpecs": [
     {
diff --git a/pinot-tools/src/main/resources/examples/batch/githubEvents/rawdata/githubEvents_data.json b/pinot-tools/src/main/resources/examples/batch/githubEvents/rawdata/githubEvents_data.json
index ece1658..4b8ac80 100644
--- a/pinot-tools/src/main/resources/examples/batch/githubEvents/rawdata/githubEvents_data.json
+++ b/pinot-tools/src/main/resources/examples/batch/githubEvents/rawdata/githubEvents_data.json
@@ -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.
+//
+
 {"id":"7044874109","type":"PushEvent","actor":"{\"id\":18542751,\"login\":\"LimeVista\",\"display_login\":\"LimeVista\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/LimeVista\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/18542751?\"}","repo":"{\"id\":115911530,\"name\":\"LimeVista/Tapes\",\"url\":\"https://api.github.com/repos/LimeVista/Tapes\"}","payload":"{\"push_id\":2226018068,\"size\":1,\"distinct_size\":1,\"ref\":\"refs/heads/master\",\"head\":\"c5fc8b32 [...]
 {"id":"7044874110","type":"PushEvent","actor":"{\"id\":9383774,\"login\":\"Luminoid\",\"display_login\":\"Luminoid\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/Luminoid\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/9383774?\"}","repo":"{\"id\":93740146,\"name\":\"Luminoid/blog\",\"url\":\"https://api.github.com/repos/Luminoid/blog\"}","payload":"{\"push_id\":2226018069,\"size\":1,\"distinct_size\":1,\"ref\":\"refs/heads/master\",\"head\":\"f1f83ae1e0c5fcad35 [...]
 {"id":"7044874114","type":"PushEvent","actor":"{\"id\":34993993,\"login\":\"TyroLin\",\"display_login\":\"TyroLin\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/TyroLin\",\"avatar_url\":\"https://avatars.githubusercontent.com/u/34993993?\"}","repo":"{\"id\":115913428,\"name\":\"TyroLin/tyro.github.com\",\"url\":\"https://api.github.com/repos/TyroLin/tyro.github.com\"}","payload":"{\"push_id\":2226018070,\"size\":1,\"distinct_size\":1,\"ref\":\"refs/heads/master\",\"head\": [...]
diff --git a/pinot-tools/src/main/resources/examples/batch/starbucksStores/starbucksStores_offline_table_config.json b/pinot-tools/src/main/resources/examples/batch/starbucksStores/starbucksStores_offline_table_config.json
index f982b3d..85a8053 100644
--- a/pinot-tools/src/main/resources/examples/batch/starbucksStores/starbucksStores_offline_table_config.json
+++ b/pinot-tools/src/main/resources/examples/batch/starbucksStores/starbucksStores_offline_table_config.json
@@ -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.
+//
+
 {
   "tableName": "starbucksStores",
   "tableType": "OFFLINE",
diff --git a/pinot-tools/src/main/resources/examples/batch/starbucksStores/starbucksStores_schema.json b/pinot-tools/src/main/resources/examples/batch/starbucksStores/starbucksStores_schema.json
index 33e1277..f55387a 100644
--- a/pinot-tools/src/main/resources/examples/batch/starbucksStores/starbucksStores_schema.json
+++ b/pinot-tools/src/main/resources/examples/batch/starbucksStores/starbucksStores_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
 
diff --git a/pinot-tools/src/main/resources/examples/minions/batch/airlineStats/airlineStats_offline_table_config.json b/pinot-tools/src/main/resources/examples/minions/batch/airlineStats/airlineStats_offline_table_config.json
index 640cb0e..0900807 100644
--- a/pinot-tools/src/main/resources/examples/minions/batch/airlineStats/airlineStats_offline_table_config.json
+++ b/pinot-tools/src/main/resources/examples/minions/batch/airlineStats/airlineStats_offline_table_config.json
@@ -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.
+//
+
 {
   "tableName": "airlineStats",
   "tableType": "OFFLINE",
diff --git a/pinot-tools/src/main/resources/examples/minions/batch/airlineStats/airlineStats_schema.json b/pinot-tools/src/main/resources/examples/minions/batch/airlineStats/airlineStats_schema.json
index 97757af..daff105 100644
--- a/pinot-tools/src/main/resources/examples/minions/batch/airlineStats/airlineStats_schema.json
+++ b/pinot-tools/src/main/resources/examples/minions/batch/airlineStats/airlineStats_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
   ],
diff --git a/pinot-tools/src/main/resources/examples/minions/batch/baseballStats/baseballStats_offline_table_config.json b/pinot-tools/src/main/resources/examples/minions/batch/baseballStats/baseballStats_offline_table_config.json
index eadbf86..7fe7d4a 100644
--- a/pinot-tools/src/main/resources/examples/minions/batch/baseballStats/baseballStats_offline_table_config.json
+++ b/pinot-tools/src/main/resources/examples/minions/batch/baseballStats/baseballStats_offline_table_config.json
@@ -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.
+//
+
 {
   "tableName": "baseballStats",
   "tableType": "OFFLINE",
diff --git a/pinot-tools/src/main/resources/examples/minions/batch/baseballStats/baseballStats_schema.json b/pinot-tools/src/main/resources/examples/minions/batch/baseballStats/baseballStats_schema.json
index 95e60b0..b6924ec 100644
--- a/pinot-tools/src/main/resources/examples/minions/batch/baseballStats/baseballStats_schema.json
+++ b/pinot-tools/src/main/resources/examples/minions/batch/baseballStats/baseballStats_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_realtime_table_config.json
index cb5d690..2d84ace 100644
--- a/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "airlineStats",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_schema.json b/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_schema.json
index 97757af..daff105 100644
--- a/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_schema.json
+++ b/pinot-tools/src/main/resources/examples/stream/airlineStats/airlineStats_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
   ],
diff --git a/pinot-tools/src/main/resources/examples/stream/airlineStats/docker/airlineStats_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/airlineStats/docker/airlineStats_realtime_table_config.json
index 0c32339..fed132f 100644
--- a/pinot-tools/src/main/resources/examples/stream/airlineStats/docker/airlineStats_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/airlineStats/docker/airlineStats_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "airlineStats",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/airlineStats/kafka_0.9/airlineStats_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/airlineStats/kafka_0.9/airlineStats_realtime_table_config.json
index 758e638..813cd7d 100644
--- a/pinot-tools/src/main/resources/examples/stream/airlineStats/kafka_0.9/airlineStats_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/airlineStats/kafka_0.9/airlineStats_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "airlineStats",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/airlineStats/kafka_2.0/airlineStats_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/airlineStats/kafka_2.0/airlineStats_realtime_table_config.json
index cb5d690..2d84ace 100644
--- a/pinot-tools/src/main/resources/examples/stream/airlineStats/kafka_2.0/airlineStats_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/airlineStats/kafka_2.0/airlineStats_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "airlineStats",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/airlineStats/sample_data/airlineStats_data.json b/pinot-tools/src/main/resources/examples/stream/airlineStats/sample_data/airlineStats_data.json
index 14b7914..894b2c2 100644
--- a/pinot-tools/src/main/resources/examples/stream/airlineStats/sample_data/airlineStats_data.json
+++ b/pinot-tools/src/main/resources/examples/stream/airlineStats/sample_data/airlineStats_data.json
@@ -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.
+//
+
 {"Quarter":1,"FlightNum":1,"Origin":"JFK","LateAircraftDelay":null,"DivActualElapsedTime":null,"DivWheelsOns":null,"DivWheelsOffs":null,"ArrDel15":0,"AirTime":359,"DivTotalGTimes":null,"DepTimeBlk":"0900-0959","DestCityMarketID":32575,"DaysSinceEpoch":16071,"DivAirportSeqIDs":null,"DepTime":914,"Month":1,"DestStateName":"California","CRSElapsedTime":385,"Carrier":"AA","DestAirportID":12892,"Distance":2475,"ArrTimeBlk":"1200-1259","SecurityDelay":null,"DivArrDelay":null,"LongestAddGTime": [...]
 {"Quarter":1,"FlightNum":44,"Origin":"LAS","LateAircraftDelay":null,"DivActualElapsedTime":null,"DivWheelsOns":null,"DivWheelsOffs":null,"ArrDel15":0,"AirTime":251,"DivTotalGTimes":null,"DepTimeBlk":"0800-0859","DestCityMarketID":31703,"DaysSinceEpoch":16071,"DivAirportSeqIDs":null,"DepTime":820,"Month":1,"DestStateName":"New York","CRSElapsedTime":300,"Carrier":"AA","DestAirportID":12478,"Distance":2248,"ArrTimeBlk":"1600-1659","SecurityDelay":null,"DivArrDelay":null,"LongestAddGTime":n [...]
 {"Quarter":1,"FlightNum":162,"Origin":"HNL","LateAircraftDelay":null,"DivActualElapsedTime":null,"DivWheelsOns":null,"DivWheelsOffs":null,"ArrDel15":0,"AirTime":288,"DivTotalGTimes":null,"DepTimeBlk":"1300-1359","DestCityMarketID":32575,"DaysSinceEpoch":16071,"DivAirportSeqIDs":null,"DepTime":1332,"Month":1,"DestStateName":"California","CRSElapsedTime":325,"Carrier":"AA","DestAirportID":12892,"Distance":2556,"ArrTimeBlk":"2100-2159","SecurityDelay":null,"DivArrDelay":null,"LongestAddGTim [...]
diff --git a/pinot-tools/src/main/resources/examples/stream/githubEvents/docker/pullRequestMergedEvents_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/githubEvents/docker/pullRequestMergedEvents_realtime_table_config.json
index 8c6ddea..12c7469 100644
--- a/pinot-tools/src/main/resources/examples/stream/githubEvents/docker/pullRequestMergedEvents_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/githubEvents/docker/pullRequestMergedEvents_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "pullRequestMergedEvents",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_realtime_table_config.json
index f1cd506..7720b9d 100644
--- a/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "pullRequestMergedEvents",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_schema.json b/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_schema.json
index f620edc..706f319 100644
--- a/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_schema.json
+++ b/pinot-tools/src/main/resources/examples/stream/githubEvents/pullRequestMergedEvents_schema.json
@@ -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.
+//
+
 {
   "schemaName": "pullRequestMergedEvents",
   "dimensionFieldSpecs": [
diff --git a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/json_meetupRsvp_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/json_meetupRsvp_realtime_table_config.json
index 4c0f819..8f1312b 100644
--- a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/json_meetupRsvp_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/json_meetupRsvp_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "meetupRsvp",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/json_meetupRsvp_schema.json b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/json_meetupRsvp_schema.json
index f452918..4317570 100644
--- a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/json_meetupRsvp_schema.json
+++ b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/json_meetupRsvp_schema.json
@@ -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.
+//
+
 {
   "schemaName": "meetupRsvp",
   "dimensionFieldSpecs": [
diff --git a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/kafka_0.9/meetupRsvp_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/kafka_0.9/meetupRsvp_realtime_table_config.json
index 8d00c37..2039aa6 100644
--- a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/kafka_0.9/meetupRsvp_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/kafka_0.9/meetupRsvp_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "meetupRsvp",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/kafka_2.0/meetupRsvp_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/kafka_2.0/meetupRsvp_realtime_table_config.json
index bc9e972..e313db5 100644
--- a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/kafka_2.0/meetupRsvp_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/kafka_2.0/meetupRsvp_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "meetupRsvp",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/meetupRsvp_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/meetupRsvp_realtime_table_config.json
index 0014b3a..d49e8d5 100644
--- a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/meetupRsvp_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/meetupRsvp_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "meetupRsvp",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/meetupRsvp_schema.json b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/meetupRsvp_schema.json
index 40dbf56..c495433 100644
--- a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/meetupRsvp_schema.json
+++ b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/meetupRsvp_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/upsert_meetupRsvp_realtime_table_config.json b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/upsert_meetupRsvp_realtime_table_config.json
index ad7b59f..7deaf87 100644
--- a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/upsert_meetupRsvp_realtime_table_config.json
+++ b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/upsert_meetupRsvp_realtime_table_config.json
@@ -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.
+//
+
 {
   "tableName": "meetupRsvp",
   "tableType": "REALTIME",
diff --git a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/upsert_meetupRsvp_schema.json b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/upsert_meetupRsvp_schema.json
index 09ebc94..3f89966 100644
--- a/pinot-tools/src/main/resources/examples/stream/meetupRsvp/upsert_meetupRsvp_schema.json
+++ b/pinot-tools/src/main/resources/examples/stream/meetupRsvp/upsert_meetupRsvp_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-tools/src/main/resources/generator/complexWebsite_config.json b/pinot-tools/src/main/resources/generator/complexWebsite_config.json
index 63e6b9f..60c27fc 100644
--- a/pinot-tools/src/main/resources/generator/complexWebsite_config.json
+++ b/pinot-tools/src/main/resources/generator/complexWebsite_config.json
@@ -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.
+//
+
 {
   "tableName": "complexWebsite",
   "segmentsConfig" : {
diff --git a/pinot-tools/src/main/resources/generator/complexWebsite_generator.json b/pinot-tools/src/main/resources/generator/complexWebsite_generator.json
index 7777d33..550daa2 100644
--- a/pinot-tools/src/main/resources/generator/complexWebsite_generator.json
+++ b/pinot-tools/src/main/resources/generator/complexWebsite_generator.json
@@ -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.
+//
+
 [
   {
     "column": "hoursSinceEpoch",
diff --git a/pinot-tools/src/main/resources/generator/complexWebsite_schema.json b/pinot-tools/src/main/resources/generator/complexWebsite_schema.json
index d4ab75c..b429840 100644
--- a/pinot-tools/src/main/resources/generator/complexWebsite_schema.json
+++ b/pinot-tools/src/main/resources/generator/complexWebsite_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-tools/src/main/resources/generator/simpleWebsite_config.json b/pinot-tools/src/main/resources/generator/simpleWebsite_config.json
index 9237997..178b16c 100644
--- a/pinot-tools/src/main/resources/generator/simpleWebsite_config.json
+++ b/pinot-tools/src/main/resources/generator/simpleWebsite_config.json
@@ -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.
+//
+
 {
   "tableName": "simpleWebsite",
   "segmentsConfig" : {
diff --git a/pinot-tools/src/main/resources/generator/simpleWebsite_generator.json b/pinot-tools/src/main/resources/generator/simpleWebsite_generator.json
index 0f17e0d..ba2e62f 100644
--- a/pinot-tools/src/main/resources/generator/simpleWebsite_generator.json
+++ b/pinot-tools/src/main/resources/generator/simpleWebsite_generator.json
@@ -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.
+//
+
 [
   {
     "column": "hoursSinceEpoch",
diff --git a/pinot-tools/src/main/resources/generator/simpleWebsite_schema.json b/pinot-tools/src/main/resources/generator/simpleWebsite_schema.json
index 63cc46a..d4b61e6 100644
--- a/pinot-tools/src/main/resources/generator/simpleWebsite_schema.json
+++ b/pinot-tools/src/main/resources/generator/simpleWebsite_schema.json
@@ -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.
+//
+
 {
   "metricFieldSpecs": [
     {
diff --git a/pinot-tools/src/test/resources/test_data/test_invalid_data.json b/pinot-tools/src/test/resources/test_data/test_invalid_data.json
index 3d48f53..3178d74 100644
--- a/pinot-tools/src/test/resources/test_data/test_invalid_data.json
+++ b/pinot-tools/src/test/resources/test_data/test_invalid_data.json
@@ -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.
+//
+
 {"column1": 1840748525967736008, "column2": 231355578, "column3": "CezOib"}
 {"column1": 1840748525967736008, "column2": 231355578, }
diff --git a/pom.xml b/pom.xml
index 438e49e..7cfb6aa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1419,7 +1419,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,49 +1562,53 @@
       <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>
           </headerDefinitions>
+          <includes>
+            <include>**/*.json</include>
+          </includes>
           <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>**/java.sql.Driver</exclude>
+            <exclude>**/org.apache.spark.sql.sources.DataSourceRegister</exclude>
 
-            <exclude>**/*.pql</exclude>
-            <exclude>**/*.config</exclude>
-            <exclude>**/*.csv</exclude>
+            <!-- Binary files -->
             <exclude>**/*.avro</exclude>
-            <exclude>**/*.conf</exclude>
-            <exclude>**/appAssemblerScriptTemplate</exclude>
-
-            <exclude>**/zone-index.properties</exclude>
-
-            <!-- Resource directories under test -->
-            <exclude>**/src/test/resources/**</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>
@@ -1616,26 +1620,30 @@
             <!-- 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>
           </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>
+            <json>DOUBLESLASH_STYLE</json>
+            <pql>DOUBLEDASHES_STYLE</pql>
+            <sql>DOUBLEDASHES_STYLE</sql>
+            <conf>DOUBLESLASH_STYLE</conf>
+            <cfg>DOUBLESLASH_STYLE</cfg>
+            <proto>DOUBLESLASH_STYLE</proto>
+            <schema>DOUBLESLASH_STYLE</schema>
             <rst>RST_STYLE</rst>
+            <readme>RST_STYLE</readme>
           </mapping>
         </configuration>
         <executions>
@@ -1660,12 +1668,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,34 +1675,37 @@
             <!-- 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>**/java.sql.Driver</exclude>
+            <exclude>**/org.apache.spark.sql.sources.DataSourceRegister</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>
+            <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>**/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>
-
-            <!-- 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>**/node_modules/**</exclude>
+            <exclude>**/dist/**</exclude>
+            <exclude>**/*.*rc</exclude>
 
             <!-- IDE files -->
             <exclude>**/*.iml</exclude>
@@ -1708,15 +1713,6 @@
             <!-- 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 +1723,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>
diff --git a/rstheaderdefinition.xml b/rstheaderdefinition.xml
index 309cf00..f3fd428 100644
--- a/rstheaderdefinition.xml
+++ b/rstheaderdefinition.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>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org