[incubator-pinot] branch master updated: Table indexing config validation (#6017)

2020-09-17 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 5548e79  Table indexing config validation (#6017)
5548e79 is described below

commit 5548e791f9273ec9ffd74f237385c9e7a531f9f3
Author: icefury71 
AuthorDate: Thu Sep 17 21:02:48 2020 -0700

Table indexing config validation (#6017)

* Adding validation for table indexing config to check for valid column 
names

* * Addressing review comments: adding validation for FieldConfigList. 
Adding javadocs
* Bug fix in integration test regarding removal of existing column from 
schema

* Adding validation for StarTreeIndexingConfig

* Addressing review comments
---
 .../apache/pinot/core/util/TableConfigUtils.java   | 114 ++-
 .../pinot/core/util/TableConfigUtilsTest.java  | 154 +
 ...ulls_default_column_test_missing_columns.schema |   4 +-
 .../spi/utils/builder/TableConfigBuilder.java  |  15 ++
 4 files changed, 282 insertions(+), 5 deletions(-)

diff --git 
a/pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java 
b/pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java
index dfe93a3..c91c7f9 100644
--- a/pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java
+++ b/pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java
@@ -20,8 +20,10 @@ package org.apache.pinot.core.util;
 
 import com.google.common.base.Preconditions;
 import java.util.Collections;
+import java.util.HashMap;
 import java.util.HashSet;
 import java.util.List;
+import java.util.Map;
 import java.util.Set;
 import javax.annotation.Nullable;
 import org.apache.pinot.common.tier.TierFactory;
@@ -29,8 +31,12 @@ import org.apache.pinot.common.utils.CommonConstants;
 import org.apache.pinot.common.utils.config.TagNameUtils;
 import org.apache.pinot.core.data.function.FunctionEvaluator;
 import org.apache.pinot.core.data.function.FunctionEvaluatorFactory;
+import org.apache.pinot.core.startree.v2.AggregationFunctionColumnPair;
+import org.apache.pinot.spi.config.table.FieldConfig;
+import org.apache.pinot.spi.config.table.IndexingConfig;
 import org.apache.pinot.spi.config.table.IngestionConfig;
 import org.apache.pinot.spi.config.table.SegmentsValidationAndRetentionConfig;
+import org.apache.pinot.spi.config.table.StarTreeIndexConfig;
 import org.apache.pinot.spi.config.table.TableConfig;
 import org.apache.pinot.spi.config.table.TableType;
 import org.apache.pinot.spi.config.table.TierConfig;
@@ -55,8 +61,9 @@ public final class TableConfigUtils {
* 1. Validation config
* 2. IngestionConfig
* 3. TierConfigs
+   * 4. Indexing config
*
-   * TODO: Add more validations for each section (e.g. verify column names 
used in the indexing, validate conditions are met for aggregateMetrics etc)
+   * TODO: Add more validations for each section (e.g. validate conditions are 
met for aggregateMetrics)
*/
   public static void validate(TableConfig tableConfig, @Nullable Schema 
schema) {
 if (tableConfig.getTableType() == TableType.REALTIME) {
@@ -65,6 +72,8 @@ public final class TableConfigUtils {
 validateValidationConfig(tableConfig, schema);
 validateIngestionConfig(tableConfig.getIngestionConfig(), schema);
 validateTierConfigList(tableConfig.getTierConfigsList());
+validateIndexingConfig(tableConfig.getIndexingConfig(), schema);
+validateFieldConfigList(tableConfig.getFieldConfigList(), schema);
   }
 
   /**
@@ -75,8 +84,8 @@ public final class TableConfigUtils {
*/
   public static void validateTableName(TableConfig tableConfig) {
 String tableName = tableConfig.getTableName();
-if (tableName.contains(".")) {
-  throw new IllegalStateException("Table name: '" + tableName + "' 
containing '.' is not allowed");
+if (tableName.contains(".") || tableName.contains(" ")) {
+  throw new IllegalStateException("Table name: '" + tableName + "' 
containing '.' or space is not allowed");
 }
   }
 
@@ -225,4 +234,103 @@ public final class TableConfigUtils {
   }
 }
   }
+
+  /**
+   * Validates the Indexing Config
+   * Ensures that every referred column name exists in the corresponding schema
+   */
+  private static void validateIndexingConfig(@Nullable IndexingConfig 
indexingConfig, @Nullable Schema schema) {
+if (indexingConfig == null || schema == null) {
+  return;
+}
+Map columnNameToConfigMap = new HashMap<>();
+
+if (indexingConfig.getBloomFilterColumns() != null) {
+  for (String columnName : indexingConfig.getBloomFilterColumns()) {
+columnNameToConfigMap.put(columnName, "Bloom Filter Config");
+  }
+}
+if (indexingConfig.getInvertedIndexColum

[incubator-pinot] branch master updated: Refreshing the Pinot project README to match docs. (#5731)

2020-07-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new e7e4d19  Refreshing the Pinot project README to match docs. (#5731)
e7e4d19 is described below

commit e7e4d19df995e29141b934f3a68d211a1befd71a
Author: Kenny Bastani 
AuthorDate: Tue Jul 28 02:55:57 2020 -0400

Refreshing the Pinot project README to match docs. (#5731)

* Refreshing the Pinot project README to match docs.

* Update README

* Updated Presto-Pinot connector link.
---
 README.md | 98 +++
 1 file changed, 55 insertions(+), 43 deletions(-)

diff --git a/README.md b/README.md
index dbb5c05..1616d0e 100644
--- a/README.md
+++ b/README.md
@@ -18,47 +18,71 @@
 under the License.
 
 -->
-# Apache Pinot (incubating)
+https://imgur.com/GNevDZ0.png; align="center" alt="Apache Pinot"/>
 
-[![Build 
Status](https://api.travis-ci.org/apache/incubator-pinot.svg?branch=master)](https://travis-ci.org/apache/incubator-pinot)
 
+---
+
+[![Build 
Status](https://api.travis-ci.org/apache/incubator-pinot.svg?branch=master)](https://travis-ci.org/apache/incubator-pinot)
 
[![Release](https://img.shields.io/github/release/apache/incubator-pinot/all.svg)](https://pinot.apache.org/download/)
-[![codecov.io](https://codecov.io/github/apache/incubator-pinot/branch/master/graph/badge.svg)](https://codecov.io/github/apache/incubator-pinot)
 
-[![Join the chat at 
https://communityinviter.com/apps/apache-pinot/apache-pinot](https://img.shields.io/badge/slack-apache--pinot-brightgreen?logo=slack)](https://communityinviter.com/apps/apache-pinot/apache-pinot)
 
-[![Twitter 
Follow](https://img.shields.io/twitter/follow/apachepinot.svg?label=Follow=social)](https://twitter.com/intent/follow?screen_name=apachepinot)
 
+[![codecov.io](https://codecov.io/github/apache/incubator-pinot/branch/master/graph/badge.svg)](https://codecov.io/github/apache/incubator-pinot)
+[![Join the chat at 
https://communityinviter.com/apps/apache-pinot/apache-pinot](https://img.shields.io/badge/slack-apache--pinot-brightgreen?logo=slack)](https://communityinviter.com/apps/apache-pinot/apache-pinot)
+[![Twitter 
Follow](https://img.shields.io/twitter/follow/apachepinot.svg?label=Follow=social)](https://twitter.com/intent/follow?screen_name=apachepinot)
 [![license](https://img.shields.io/github/license/apache/pinot.svg)](LICENSE)
 
-Apache Pinot is a realtime distributed OLAP datastore, which is used to 
deliver scalable real time analytics with low latency. It can ingest data from 
offline data sources (such as Hadoop and flat files) as well as online sources 
(such as Kafka). Pinot is designed to scale horizontally.
+- [What is Apache Pinot?](#what-is-apache-pinot)
+- [Features](#features)
+- [When should I use Pinot?](#when-should-i-use-pinot)
+- [Building Pinot](#building-pinot)
+- [Deploying Pinot to Kubernetes](#deploying-pinot-to-kubernetes)
+- [Join the Community](#join-the-community)
+- [Documentation](#documentation)
+- [License](#license)
+
+# What is Apache Pinot?
+
+[Apache Pinot](https://pinot.apache.org) (incubating) is a real-time 
distributed OLAP datastore, built to deliver scalable real-time analytics with 
low latency. It can ingest from batch data sources (such as Hadoop HDFS, Amazon 
S3, Azure ADLS, Google Cloud Storage) as well as stream data sources (such as 
Apache Kafka).
+
+Pinot was built by engineers at LinkedIn and Uber and is designed to scale up 
and out with no upper bound. Performance always remains constant based on the 
size of your cluster and an expected query per second (QPS) threshold.
+
+For getting started guides, deployment recipes, tutorials, and more, please 
visit our project documentation at 
[https://docs.pinot.apache.org](https://docs.pinot.apache.org).
+
+https://gblobscdn.gitbook.com/assets%2F-LtH6nl58DdnZnelPdTc%2F-M69C48fK2BhCoou1REr%2F-M69DbDfcATcZOAgyX7k%2Fpinot-overview-graphic.png?alt=media=3552722e-8d1d-4397-972e-a81917ced182;
 align="center" alt="Apache Pinot"/>
+
+## Features
+
+Pinot was originally built at LinkedIn to power rich interactive real-time 
analytic applications such as [Who Viewed 
Profile](https://www.linkedin.com/me/profile-views/urn:li:wvmp:summary/),  
[Company Analytics](https://www.linkedin.com/company/linkedin/insights/),  
[Talent 
Insights](https://business.linkedin.com/talent-solutions/talent-insights), and 
many more. [UberEats Restaurant 
Manager](https://eng.uber.com/restaurant-manager/) is another example of a 
customer facing Analytics App.  [...]
+
+* **Column-oriented**: a column-oriented database with various compression 
schemes such as Run Length, Fixed Bit Length.
 
-These presentations on Pinot give an over

[incubator-pinot] branch master updated: Update links for release 0.4.0 in the website (#5560)

2020-06-14 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 2c955ce  Update links for release 0.4.0 in the website (#5560)
2c955ce is described below

commit 2c955cedd19523a5e96535e158c92d8f60e3da85
Author: haibow 
AuthorDate: Sun Jun 14 10:54:17 2020 -0700

Update links for release 0.4.0 in the website (#5560)
---
 website/src/pages/download.js | 31 +++
 website/src/pages/index.js|  6 +++---
 2 files changed, 34 insertions(+), 3 deletions(-)

diff --git a/website/src/pages/download.js b/website/src/pages/download.js
index 28c6386..2570edd 100644
--- a/website/src/pages/download.js
+++ b/website/src/pages/download.js
@@ -44,6 +44,37 @@ function Download() {
 
 
   
+https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-bin.tar.gz;
 className="panel panel--link text--center">
+  
+
+  
+
+  0.4.0
+
+  https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-src.tar.gz;
 >
+  Official source release
+  
+  https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-src.tar.gz.sha512;
 >
+  SHA512
+  
+  https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-src.tar.gz.asc;
 >
+  ASC
+  
+
+  https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-bin.tar.gz;
 >
+  Official binary release
+  
+  https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-bin.tar.gz.sha512;
 >
+  SHA512
+  
+  https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-bin.tar.gz.asc;
 >
+  ASC 
+  
+
+
+  
+
+  
 https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.3.0/apache-pinot-incubating-0.3.0-bin.tar.gz;
 className="panel panel--link text--center">
   
 
diff --git a/website/src/pages/index.js b/website/src/pages/index.js
index 39139cd..999c09d 100755
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@ -230,7 +230,7 @@ function Installation() {
   
 
   {
-`VERSION=0.3.0\nwget 
https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-$VERSION/apache-pinot-incubating-$VERSION-bin.tar.gz\ntar
 vxf apache-pinot-incubating-*-bin.tar.gz\ncd 
apache-pinot-incubating-*-bin\nbin/quick-start-batch.sh`
+`VERSION=0.4.0\nwget 
https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-$VERSION/apache-pinot-incubating-$VERSION-bin.tar.gz\ntar
 vxf apache-pinot-incubating-*-bin.tar.gz\ncd 
apache-pinot-incubating-*-bin\nbin/quick-start-batch.sh`
   }
 
   
@@ -277,9 +277,9 @@ function Home() {
 
   
 
-  https://docs.pinot.apache.org/releases/0.3.0; 
className={styles.indexAnnouncement}>
+  https://docs.pinot.apache.org/releases/0.4.0; 
className={styles.indexAnnouncement}>
   release
-  v0.3 has been released! Check the release notes
+  v0.4.0 has been released! Check the release notes
   
   {siteConfig.title}
   {siteConfig.tagline}, designed to 
answer OLAP queries with low latency


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



[incubator-pinot] 01/01: Update links for release 0.4.0 in the website

2020-06-13 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch add_release_0.4.0_to_website
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 55690fa92cfc67915d2a2740f7291e6f5e5890cf
Author: haibow 
AuthorDate: Fri Jun 12 23:10:11 2020 -0700

Update links for release 0.4.0 in the website
---
 website/src/pages/download.js | 31 +++
 website/src/pages/index.js|  6 +++---
 2 files changed, 34 insertions(+), 3 deletions(-)

diff --git a/website/src/pages/download.js b/website/src/pages/download.js
index 28c6386..2570edd 100644
--- a/website/src/pages/download.js
+++ b/website/src/pages/download.js
@@ -44,6 +44,37 @@ function Download() {
 
 
   
+https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-bin.tar.gz;
 className="panel panel--link text--center">
+  
+
+  
+
+  0.4.0
+
+  https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-src.tar.gz;
 >
+  Official source release
+  
+  https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-src.tar.gz.sha512;
 >
+  SHA512
+  
+  https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-src.tar.gz.asc;
 >
+  ASC
+  
+
+  https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-bin.tar.gz;
 >
+  Official binary release
+  
+  https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-bin.tar.gz.sha512;
 >
+  SHA512
+  
+  https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-0.4.0/apache-pinot-incubating-0.4.0-bin.tar.gz.asc;
 >
+  ASC 
+  
+
+
+  
+
+  
 https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.3.0/apache-pinot-incubating-0.3.0-bin.tar.gz;
 className="panel panel--link text--center">
   
 
diff --git a/website/src/pages/index.js b/website/src/pages/index.js
index 39139cd..999c09d 100755
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@ -230,7 +230,7 @@ function Installation() {
   
 
   {
-`VERSION=0.3.0\nwget 
https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-$VERSION/apache-pinot-incubating-$VERSION-bin.tar.gz\ntar
 vxf apache-pinot-incubating-*-bin.tar.gz\ncd 
apache-pinot-incubating-*-bin\nbin/quick-start-batch.sh`
+`VERSION=0.4.0\nwget 
https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-$VERSION/apache-pinot-incubating-$VERSION-bin.tar.gz\ntar
 vxf apache-pinot-incubating-*-bin.tar.gz\ncd 
apache-pinot-incubating-*-bin\nbin/quick-start-batch.sh`
   }
 
   
@@ -277,9 +277,9 @@ function Home() {
 
   
 
-  https://docs.pinot.apache.org/releases/0.3.0; 
className={styles.indexAnnouncement}>
+  https://docs.pinot.apache.org/releases/0.4.0; 
className={styles.indexAnnouncement}>
   release
-  v0.3 has been released! Check the release notes
+  v0.4.0 has been released! Check the release notes
   
   {siteConfig.title}
   {siteConfig.tagline}, designed to 
answer OLAP queries with low latency


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



[incubator-pinot] branch add_release_0.4.0_to_website created (now 55690fa)

2020-06-13 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch add_release_0.4.0_to_website
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at 55690fa  Update links for release 0.4.0 in the website

This branch includes the following new commits:

 new 55690fa  Update links for release 0.4.0 in the website

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



[incubator-pinot] annotated tag release-0.4.0 updated (8355d2e -> 99df950)

2020-06-12 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to annotated tag release-0.4.0
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


*** WARNING: tag release-0.4.0 was modified! ***

from 8355d2e  (commit)
  to 99df950  (tag)
 tagging 8355d2e0e489a8d127f2e32793671fba505628a8 (commit)
  by haibow
  on Fri Jun 12 01:26:48 2020 -0700

- Log -
Apache Pinot (Incubating) 0.4.0
---


No new revisions were added by this update.

Summary of changes:


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



svn commit: r40022 - /dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/ /release/incubator/pinot/apache-pinot-incubating-0.4.0/

2020-06-12 Thread haibow
Author: haibow
Date: Fri Jun 12 07:43:46 2020
New Revision: 40022

Log:
Release apache-pinot-incubating-0.4.0-rc2

Added:
release/incubator/pinot/apache-pinot-incubating-0.4.0/
  - copied from r40021, 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/
Removed:
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/


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



[incubator-pinot] branch master updated: Update year in NOTICE-binary (#5547)

2020-06-12 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 2692d9f  Update year in NOTICE-binary (#5547)
2692d9f is described below

commit 2692d9fa795cf7f7885ad859a0b0067abb7a70c9
Author: haibow 
AuthorDate: Fri Jun 12 00:03:06 2020 -0700

Update year in NOTICE-binary (#5547)
---
 NOTICE-binary | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NOTICE-binary b/NOTICE-binary
index b4a4b30..1248c89 100644
--- a/NOTICE-binary
+++ b/NOTICE-binary
@@ -1,5 +1,5 @@
 Apache Pinot (incubating)
-Copyright 2018 The Apache Software Foundation
+Copyright 2018 and onwards The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).


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



[incubator-pinot] branch update_license_binary created (now fe1d02f)

2020-06-11 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch update_license_binary
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at fe1d02f  Update year in NOTICE-binary

This branch includes the following new commits:

 new fe1d02f  Update year in NOTICE-binary

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



[incubator-pinot] 01/01: Update year in NOTICE-binary

2020-06-11 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

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

commit fe1d02f044864a29b2bb97fd22641eb0c4c80a08
Author: haibow 
AuthorDate: Thu Jun 11 20:37:18 2020 -0700

Update year in NOTICE-binary
---
 NOTICE-binary | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NOTICE-binary b/NOTICE-binary
index b4a4b30..1248c89 100644
--- a/NOTICE-binary
+++ b/NOTICE-binary
@@ -1,5 +1,5 @@
 Apache Pinot (incubating)
-Copyright 2018 The Apache Software Foundation
+Copyright 2018 and onwards The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).


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



[incubator-pinot] branch master updated (7b41f5a -> bd1f2c0)

2020-06-10 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


from 7b41f5a  Clean up the usage of BrokerRequest in metrics (#5535)
 add bd1f2c0  Add the header to TestRecordReader.java (#5537)

No new revisions were added by this update.

Summary of changes:
 pinot-spi/src/test/resources/TestRecordReader.java | 18 ++
 1 file changed, 18 insertions(+)


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



[incubator-pinot] branch master updated (2d28c0f -> bbc3228)

2020-06-10 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


from 2d28c0f  Enhance quickstart script for CI tests (#5508)
 add bbc3228  Update license and notice for 0.4.0 release (#5529)

No new revisions were added by this update.

Summary of changes:
 LICENSE-binary  | 155 
 NOTICE-binary   |  53 +++-
 licenses-binary/LICENSE-gpl-2.0.txt | 125 +
 3 files changed, 281 insertions(+), 52 deletions(-)
 create mode 100644 licenses-binary/LICENSE-gpl-2.0.txt


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



[incubator-pinot] branch release-0.4.0-update-binary updated (0872dbc -> 21b7604)

2020-06-09 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-update-binary
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


from 0872dbc  Update license
 add 21b7604  Update license

No new revisions were added by this update.

Summary of changes:
 LICENSE-binary  |   2 -
 licenses-binary/LICENSE-gpl-2.0.txt | 676 +---
 2 files changed, 80 insertions(+), 598 deletions(-)


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



[incubator-pinot] branch release-0.4.0-update-binary updated (1f8eb46 -> 0872dbc)

2020-06-08 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-update-binary
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


 discard 1f8eb46  Add license
 discard 5518480  Update release note
 new 0872dbc  Update license

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (1f8eb46)
\
 N -- N -- N   refs/heads/release-0.4.0-update-binary (0872dbc)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 LICENSE-binary | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)


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



[incubator-pinot] 01/01: Update license

2020-06-08 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-update-binary
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 0872dbc15c29d0b83cbbeb6ad2a5b4f4d34a80d6
Author: Haibo Wang 
AuthorDate: Thu May 28 21:15:15 2020 -0700

Update license
---
 LICENSE-binary | 155 ++---
 NOTICE-binary  |  53 ++-
 .../LICENSE-gpl-2.0.txt|  53 ++-
 3 files changed, 209 insertions(+), 52 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index 5c0e3e4..c31c11f 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -211,28 +211,32 @@ com.clearspring.analytics:stream:2.7.0
 com.fasterxml.jackson.core:jackson-annotations:2.9.8
 com.fasterxml.jackson.core:jackson-core:2.9.8
 com.fasterxml.jackson.core:jackson-databind:2.9.8
+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.8
 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.8
+com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.9.8
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.9.8
 com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.8
 com.fasterxml.jackson.module:jackson-module-paranamer:2.6.5
 com.fasterxml.jackson.module:jackson-module-scala_2.11:2.6.5
+com.fasterxml.woodstox:woodstox-core:5.0.3
 com.github.jnr:jffi:1.2.9
 com.github.jnr:jnr-constants:0.8.7
 com.github.jnr:jnr-ffi:2.0.3
+com.google.api-client:google-api-client
 com.google.api.grpc:proto-google-common-protos:1.17.0
 com.google.api.grpc:proto-google-iam-v1:0.13.0
 com.google.api:api-common:1.8.1
 com.google.api:gax:1.49.1
 com.google.api:gax-httpjson:0.66.1
-com.google.api:google-api-client:1.30.4
-com.google.api:google-api-services-storage:v1-rev20190910-1.30.3.jar
+com.google.apis:google-api-services-storage:v1-rev20190910-1.30.3
 com.google.auth:google-auth-library-credentials:0.18.0
 com.google.auth:google-auth-library-oauth2-http:0.18.0
 com.google.auto.value:auto-value-annotations:1.6.6
 com.google.cloud:google-cloud-core:1.91.3
 com.google.cloud:google-cloud-core-http:1.91.3
-com.google.cloud:google-cloud-storage:1.101.0
+com.google.cloud:google-cloud-nio:0.120.0-alpha
+com.google.cloud:google-cloud-storage:1.102.0
 com.google.code.findbugs:jsr305:3.0.0
 com.google.code.gson:gson:2.2.4
 com.google.errorprone:error_prone_annotations:2.3.2
@@ -240,21 +244,20 @@ com.google.guava:guava:20.0
 com.google.http-client:google-http-client-appengine:1.32.1
 com.google.http-client:google-http-client-jackson2:1.32.1
 com.google.http-client:google-http-client:1.32.1
-com.google.inject.extensions:guice-servlet:3.0
-com.google.inject:guice:3.0
 com.google.j2objc:j2objc-annotations:1.3
 com.google.oauth-client:google-oauth-client:1.30.3
 com.google.protobuf:protobuf-java-util:3.10.0
 com.google.protobuf:protobuf-java:2.5.0
 com.google.protobuf:protobuf-java:3.10.0
 com.jamesmurty.utils:java-xmlbuilder:0.4
+com.jamesmurty.utils:java-xmlbuilder:1.0
+com.jayway.jsonpath:json-path:2.4.0
 com.lmax:disruptor:3.3.4
 com.ning:async-http-client:1.9.21
 com.ning:compress-lzf:1.0.3
 com.tdunning:t-digest:3.2
-com.twitter:chill-java:0.8.0
-com.twitter:chill_2.11:0.8.0
-com.typesafe:config:1.3.2
+com.typesafe.netty:netty-reactive-streams-http:2.0.4
+com.typesafe.netty:netty-reactive-streams:2.0.4
 com.typesafe.scala-logging:scala-logging_2.11:3.9.0
 com.yammer.metrics:metrics-core:2.2.0
 commons-beanutils:commons-beanutils:1.8.3
@@ -271,15 +274,35 @@ commons-lang:commons-lang:2.6
 commons-logging:commons-logging:1.2
 commons-net:commons-net:3.1
 io.airlift:aircompressor:0.10
+io.confluent:common-config:5.3.1
+io.confluent:common-utils:5.3.1
+io.confluent:kafka-avro-serializer:5.3.1
+io.confluent:kafka-schema-registry-client:5.3.1
 io.dropwizard.metrics:metrics-core:3.2.3
-io.dropwizard.metrics:metrics-graphite:3.1.2
-io.dropwizard.metrics:metrics-json:3.1.2
-io.dropwizard.metrics:metrics-jvm:3.1.2
+io.dropwizard.metrics:metrics-graphite:3.2.3
+io.dropwizard.metrics:metrics-json:3.2.3
+io.dropwizard.metrics:metrics-jvm:3.2.3
 io.grpc:grpc-context:1.22.1
+io.netty:netty-all:4.1.42.Final
+io.netty:netty-buffer:4.1.42.Final
+io.netty:netty-codec-http2:4.1.42.Final
+io.netty:netty-codec-http:4.1.42.Final
+io.netty:netty-codec-socks:4.1.42.Final
+io.netty:netty-codec:4.1.42.Final
+io.netty:netty-common:4.1.42.Final
+io.netty:netty-handler-proxy:4.1.42.Final
+io.netty:netty-handler:4.1.42.Final
+io.netty:netty-resolver:4.1.42.Final
+io.netty:netty-tcnative-boringssl-static:2.0.26.Final
+io.netty:netty-transport-native-epoll:linux-x86_64:4.1.42.Final
+io.netty:netty-transport-native-unix-common:4.1.42.Final
+io.netty:netty-transport:4.1.42.Final
 io.netty:netty:3.9.6.Final
-io.netty:netty-all:4.1.28.Final
 io.opencensus:opencensus-api:0.24.0
 io.opencensus:opencensus-contrib-http-util:0.24.0

[incubator-pinot] 01/02: Update release note

2020-06-08 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-update-binary
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 5518480296fcb12f0823e1fdefd81ea1b6ce55ad
Author: Haibo Wang 
AuthorDate: Thu May 28 21:15:15 2020 -0700

Update release note
---
 LICENSE-binary | 155 ++---
 NOTICE-binary  |  53 +++-
 2 files changed, 157 insertions(+), 51 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index 5c0e3e4..04faf94 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -211,28 +211,32 @@ com.clearspring.analytics:stream:2.7.0
 com.fasterxml.jackson.core:jackson-annotations:2.9.8
 com.fasterxml.jackson.core:jackson-core:2.9.8
 com.fasterxml.jackson.core:jackson-databind:2.9.8
+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.8
 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.8
+com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.9.8
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.9.8
 com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.8
 com.fasterxml.jackson.module:jackson-module-paranamer:2.6.5
 com.fasterxml.jackson.module:jackson-module-scala_2.11:2.6.5
+com.fasterxml.woodstox:woodstox-core:5.0.3
 com.github.jnr:jffi:1.2.9
 com.github.jnr:jnr-constants:0.8.7
 com.github.jnr:jnr-ffi:2.0.3
+com.google.api-client:google-api-client
 com.google.api.grpc:proto-google-common-protos:1.17.0
 com.google.api.grpc:proto-google-iam-v1:0.13.0
 com.google.api:api-common:1.8.1
 com.google.api:gax:1.49.1
 com.google.api:gax-httpjson:0.66.1
-com.google.api:google-api-client:1.30.4
-com.google.api:google-api-services-storage:v1-rev20190910-1.30.3.jar
+com.google.apis:google-api-services-storage:v1-rev20190910-1.30.3
 com.google.auth:google-auth-library-credentials:0.18.0
 com.google.auth:google-auth-library-oauth2-http:0.18.0
 com.google.auto.value:auto-value-annotations:1.6.6
 com.google.cloud:google-cloud-core:1.91.3
 com.google.cloud:google-cloud-core-http:1.91.3
-com.google.cloud:google-cloud-storage:1.101.0
+com.google.cloud:google-cloud-nio:0.120.0-alpha
+com.google.cloud:google-cloud-storage:1.102.0
 com.google.code.findbugs:jsr305:3.0.0
 com.google.code.gson:gson:2.2.4
 com.google.errorprone:error_prone_annotations:2.3.2
@@ -240,21 +244,20 @@ com.google.guava:guava:20.0
 com.google.http-client:google-http-client-appengine:1.32.1
 com.google.http-client:google-http-client-jackson2:1.32.1
 com.google.http-client:google-http-client:1.32.1
-com.google.inject.extensions:guice-servlet:3.0
-com.google.inject:guice:3.0
 com.google.j2objc:j2objc-annotations:1.3
 com.google.oauth-client:google-oauth-client:1.30.3
 com.google.protobuf:protobuf-java-util:3.10.0
 com.google.protobuf:protobuf-java:2.5.0
 com.google.protobuf:protobuf-java:3.10.0
 com.jamesmurty.utils:java-xmlbuilder:0.4
+com.jamesmurty.utils:java-xmlbuilder:1.0
+com.jayway.jsonpath:json-path:2.4.0
 com.lmax:disruptor:3.3.4
 com.ning:async-http-client:1.9.21
 com.ning:compress-lzf:1.0.3
 com.tdunning:t-digest:3.2
-com.twitter:chill-java:0.8.0
-com.twitter:chill_2.11:0.8.0
-com.typesafe:config:1.3.2
+com.typesafe.netty:netty-reactive-streams-http:2.0.4
+com.typesafe.netty:netty-reactive-streams:2.0.4
 com.typesafe.scala-logging:scala-logging_2.11:3.9.0
 com.yammer.metrics:metrics-core:2.2.0
 commons-beanutils:commons-beanutils:1.8.3
@@ -271,15 +274,35 @@ commons-lang:commons-lang:2.6
 commons-logging:commons-logging:1.2
 commons-net:commons-net:3.1
 io.airlift:aircompressor:0.10
+io.confluent:common-config:5.3.1
+io.confluent:common-utils:5.3.1
+io.confluent:kafka-avro-serializer:5.3.1
+io.confluent:kafka-schema-registry-client:5.3.1
 io.dropwizard.metrics:metrics-core:3.2.3
-io.dropwizard.metrics:metrics-graphite:3.1.2
-io.dropwizard.metrics:metrics-json:3.1.2
-io.dropwizard.metrics:metrics-jvm:3.1.2
+io.dropwizard.metrics:metrics-graphite:3.2.3
+io.dropwizard.metrics:metrics-json:3.2.3
+io.dropwizard.metrics:metrics-jvm:3.2.3
 io.grpc:grpc-context:1.22.1
+io.netty:netty-all:4.1.42.Final
+io.netty:netty-buffer:4.1.42.Final
+io.netty:netty-codec-http2:4.1.42.Final
+io.netty:netty-codec-http:4.1.42.Final
+io.netty:netty-codec-socks:4.1.42.Final
+io.netty:netty-codec:4.1.42.Final
+io.netty:netty-common:4.1.42.Final
+io.netty:netty-handler-proxy:4.1.42.Final
+io.netty:netty-handler:4.1.42.Final
+io.netty:netty-resolver:4.1.42.Final
+io.netty:netty-tcnative-boringssl-static:2.0.26.Final
+io.netty:netty-transport-native-epoll:linux-x86_64:4.1.42.Final
+io.netty:netty-transport-native-unix-common:4.1.42.Final
+io.netty:netty-transport:4.1.42.Final
 io.netty:netty:3.9.6.Final
-io.netty:netty-all:4.1.28.Final
 io.opencensus:opencensus-api:0.24.0
 io.opencensus:opencensus-contrib-http-util:0.24.0
+io.projectreactor.addons:reactor-pool:0.1.0.RELEASE
+io.projectreactor.netty:reactor-netty:0.9.0.RELEASE

[incubator-pinot] 02/02: Add license

2020-06-08 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-update-binary
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 1f8eb46e8bef20eb962c8052c032d7608f2a12ff
Author: Haibo Wang 
AuthorDate: Fri May 29 01:10:14 2020 -0700

Add license
---
 licenses-binary/LICENSE-gpl-2.0.txt | 641 
 1 file changed, 641 insertions(+)

diff --git a/licenses-binary/LICENSE-gpl-2.0.txt 
b/licenses-binary/LICENSE-gpl-2.0.txt
new file mode 100644
index 000..b4a4b30
--- /dev/null
+++ b/licenses-binary/LICENSE-gpl-2.0.txt
@@ -0,0 +1,641 @@
+Apache Pinot (incubating)
+Copyright 2018 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+// --
+// NOTICE file corresponding to the section 4d of The Apache License,
+// Version 2.0, in this case for 
+// --
+
+The HermiteInterpolator class and its corresponding test have been imported 
from
+the orekit library distributed under the terms of the Apache 2 licence. 
Original
+source copyright:
+Copyright 2010-2012 CS Systèmes d'Information
+===
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+Apache Commons Configuration
+Copyright 2001-2008 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+Apache Commons Collections
+Copyright 2001-2008 The Apache Software Foundation
+
+Apache Jakarta Commons Digester
+Copyright 2001-2006 The Apache Software Foundation
+
+Apache Commons BeanUtils
+Copyright 2000-2010 The Apache Software Foundation
+
+Apache Commons BeanUtils
+Copyright 2000-2008 The Apache Software Foundation
+
+Apache Commons Codec
+Copyright 2002-2011 The Apache Software Foundation
+
+
+src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java contains 
+test data from http://aspell.sourceforge.net/test/batch0.tab.
+
+Copyright (C) 2002 Kevin Atkinson (kev...@gnu.org). Verbatim copying
+and distribution of this entire article is permitted in any medium,
+provided this notice is preserved.
+
+
+Apache Commons IO
+Copyright 2002-2012 The Apache Software Foundation
+
+Apache Commons Lang
+Copyright 2001-2011 The Apache Software Foundation
+
+Apache Commons Logging
+Copyright 2003-2014 The Apache Software Foundation
+
+Apache Commons Lang
+Copyright 2001-2016 The Apache Software Foundation
+
+This product includes software from the Spring Framework,
+under the Apache License 2.0 (see: StringUtils.containsWhitespace())
+
+Apache Log4j SLF4J Binding
+Copyright 1999-2019 The Apache Software Foundation
+
+Apache Log4j API
+Copyright 1999-2019 The Apache Software Foundation
+
+Apache Log4j 1.x Compatibility API
+Copyright 1999-2019 The Apache Software Foundation
+
+=
+= NOTICE file corresponding to section 4d of the Apache License Version 2.0 =
+=
+This product includes software developed by
+Joda.org (https://www.joda.org/).
+
+# Jackson JSON processor
+
+Jackson is a high-performance, Free/Open Source JSON processing library.
+It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has
+been in development since 2007.
+It is currently developed by a community of developers, as well as supported
+commercially by FasterXML.com.
+
+## Licensing
+
+Jackson core and extension components may be licensed under different licenses.
+To find the details that apply to this artifact see the accompanying LICENSE 
file.
+For more information, including possible other licensing options, contact
+FasterXML.com (http://fasterxml.com).
+
+## Credits
+
+A list of contributors may be found from CREDITS file, which is included
+in some artifacts (usually source distributions); but is always available
+from the source code management (SCM) system project uses.
+
+Apache Groovy
+Copyright 2003-2017 The Apache Software Foundation
+
+This product includes/uses ANTLR (http://www.antlr2.org/)
+developed by Terence Parr 1989-2006
+
+This product bundles icons from the famfamfam.com silk icons set
+http://www.famfamfam.com/lab/icons/silk/
+Licensed under the Creative Commons Attribution Licence v2.5
+http://creativecommons.org/licenses/by/2.5/
+
+Apache HttpClient Mime
+Copyright 1999-2017 The Apache Software Foundation
+
+Apache HttpClient
+Copyright 1999-2017 The Apache Software Foundation
+
+Apache HttpCore
+Copyright 2005

[incubator-pinot] branch release-0.4.0-update-binary created (now 1f8eb46)

2020-06-08 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-update-binary
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at 1f8eb46  Add license

This branch includes the following new commits:

 new 5518480  Update release note
 new 1f8eb46  Add license

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



svn commit: r39878 - /dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/

2020-06-02 Thread haibow
Author: haibow
Date: Tue Jun  2 06:49:10 2020
New Revision: 39878

Log:
Update apache-pinot-incubating-0.4.0-rc2

Added:
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/

dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz
   (with props)

dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz.asc

dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz.sha512

dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-src.tar.gz
   (with props)

dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-src.tar.gz.asc

dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-src.tar.gz.sha512

Added: 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz
--
svn:mime-type = application/octet-stream

Added: 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz.asc
==
--- 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz.asc
 (added)
+++ 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz.asc
 Tue Jun  2 06:49:10 2020
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEyH5xT96Wd9MlHHp5bMFppvwZxHAFAl7V8TIACgkQbMFppvwZ
+xHCCOxAAgcS8toKtgiR1dxrMoVB4DYt2BF0jPsONoxRb2yiotpncfJPw9V++85f2
+eMkFE/4crqXhnvvjnhZpbOqA4/mds0fwwTMz2F/nLhavB70NZqNbx5yYo4eqXJj4
+NEn/go744cDzq9gxT/0OIKCffEVYJqyQag/Ww0yb8KRkZO1wth15k2p/xuum4Qet
+4ON5lfa6FaIy/pGrdhuT353GnNgMjCwbQh7By82Ib+hyhMcoYvXSi/AnpmoeWc1n
+6SC4561NwJlN6YmPVoJkXUaGaaPriXgXdHpy2llCYULt4Q/HE/e7cgV1Hy/BTydG
+GeKWdg8pzqkcK0h/JFJdM49RbneW8wJbQOLTl/XcgMugqkUCm3to5YR0cncVNpCH
+DHDLUSzkKtdhqNCLeG+0tCBJ5nKY9kz0dlYW5yGWXiRoYyTeMyNb/KPcTzL3a2fv
+r7AiQ7/mnB0x5zYlc4Dmed2+CF+HYEVivvyzOKDS+N8fhbjIUcidsMa3m5ac9gi8
+12uR8WyCd5n3wrwQl3a76KSkO9Q+VISbPZZ3ovN6ymOOuVrK03lWzcSwWA8g0XNl
+AJJMQb4R1QTucU2ApwXglfSUD9r5y9unUU+XyGgfRNxrhOc6klnWhyWhMYo09Vdq
+GJgKLgHpUiMI65PHSpYVF3AORE68ma0YKx/NZZep41Gr3mn76ns=
+=fa1X
+-END PGP SIGNATURE-

Added: 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz.sha512
==
--- 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz.sha512
 (added)
+++ 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-bin.tar.gz.sha512
 Tue Jun  2 06:49:10 2020
@@ -0,0 +1 @@
+155494c13501bad1adb626cf204079d024e72b1ce700ab55c8de2e7f4a7166b77f3715b9af9ff2e077681ca11e4cc87987433cd56572226688999dc9e413
\ No newline at end of file

Added: 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-src.tar.gz
==
Binary file - no diff available.

Propchange: 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-src.tar.gz
--
svn:mime-type = application/octet-stream

Added: 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-src.tar.gz.asc
==
--- 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-src.tar.gz.asc
 (added)
+++ 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2/apache-pinot-incubating-0.4.0-src.tar.gz.asc
 Tue Jun  2 06:49:10 2020
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEyH5xT96Wd9MlHHp5bMFppvwZxHAFAl7V8TEACgkQbMFppvwZ
+xHACDBAAjCsrfhSmaw1fKZ0ot5SE1FHVP00A6Sa2y5csVW7XpAklaefFvzR8LGLZ
++OpMXH7/BJn/pf054UnHFCntWQBPyZcZfNyVSxxT6h39F1JDE8Rbe4y7VAsWwn8a
+YaCBbW/U9gp69OTRHyKHerTbDe89KczZD02xsgxiW6N4lxvyGEcE9DBtzJwhuc35
+pp8z3s2wYFv45j4myuyU7KE3NORB73dqsqkV0Y7nccilLHGR96GNEFeBaGRnUMip
+T2IfXge+e6QSfKhii/wYKOs2+dOPcdflV9rMiLqsL3BH6ajAPGnyc2+poAa1eX0e
+wf+75yMg8nfenyFnaE1iQo5cnbd2354fowEMprJj5M44YcMAq2U6xPbbCBWqGaqO
+rotrIRAy/K6yxovJQarGtgyqpp2pTXP0k4MlcwdzhZfEmp8pZrOpwCCaGQ0/fn/U
+Qcr//wTsqA576Ha1eE3YoLZN+7MDLH9H6EpOpz0vMJrsB3XQbz0UfTcCnD5eyJ98
+qr9If90rJXbkNdttr1ODbz6TqHnwjAM8w0N1Y8WPzhyOn5/+U8Y3MHmskMEvRw2w
+tKan6DmogpJHz4NnklDzcV+mti1W8IBs+/kyUItopjf++xmhMDcqCZPZWTs6/omQ
+ond7Vh1tjfG6Lzdj7lA5NE+8WdDWC7pICiwz2SUdgF/UBmStaLI=
+=uGOJ
+-END PGP SIGNATURE-

Added: 
dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc2

[incubator-pinot] branch release-0.4.0-rc-2 updated: [maven-release-plugin] prepare for next development iteration

2020-06-01 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc-2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/release-0.4.0-rc-2 by this 
push:
 new 28efe1d  [maven-release-plugin] prepare for next development iteration
28efe1d is described below

commit 28efe1d4aa7c052ab1e5c4de956371a8dc4fdecc
Author: Haibo Wang 
AuthorDate: Mon Jun 1 21:38:19 2020 -0700

[maven-release-plugin] prepare for next development iteration
---
 pinot-broker/pom.xml  | 2 +-
 pinot-clients/pinot-java-client/pom.xml   | 2 +-
 pinot-clients/pom.xml | 2 +-
 pinot-common/pom.xml  | 2 +-
 pinot-controller/pom.xml  | 2 +-
 pinot-core/pom.xml| 2 +-
 pinot-distribution/pom.xml| 2 +-
 pinot-integration-tests/pom.xml   | 2 +-
 pinot-minion/pom.xml  | 2 +-
 pinot-perf/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-standalone/pom.xml| 2 +-
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 2 +-
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 2 +-
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 2 +-
 pinot-plugins/pinot-file-system/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 2 +-
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 2 +-
 pinot-plugins/pom.xml | 2 +-
 pinot-server/pom.xml  | 2 +-
 pinot-spi/pom.xml | 2 +-
 pinot-tools/pom.xml   | 2 +-
 pom.xml   | 4 ++--
 42 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index 2fd885d..a884630 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 615c5e9..60177d7 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -24,7 +24,7 @@
   
 pinot-clients
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-java-client
diff --git a/pinot-clients/pom.xml b/pinot-clients/pom.xml
index e05e7ec..902f54f 100644
--- a/pinot-clients/pom.xml
+++ b/pinot-clients/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-clients
diff --git a/pinot-common/pom.xml b/pinot-common/pom.xml
index db2d28d..7f2a7fc 100644
--- a/pinot-common/pom.xml
+++ b/pinot-common/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT

[incubator-pinot] annotated tag release-0.4.0-rc2 updated (8355d2e -> 88accfc)

2020-06-01 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to annotated tag release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


*** WARNING: tag release-0.4.0-rc2 was modified! ***

from 8355d2e  (commit)
  to 88accfc  (tag)
 tagging 8355d2e0e489a8d127f2e32793671fba505628a8 (commit)
  by Haibo Wang
  on Mon Jun 1 21:38:14 2020 -0700

- Log -
[maven-release-plugin] copy for tag release-0.4.0-rc2
---


No new revisions were added by this update.

Summary of changes:


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



[incubator-pinot] branch release-0.4.0-rc-2 updated: [maven-release-plugin] prepare release release-0.4.0-rc2

2020-06-01 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc-2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/release-0.4.0-rc-2 by this 
push:
 new 8355d2e  [maven-release-plugin] prepare release release-0.4.0-rc2
8355d2e is described below

commit 8355d2e0e489a8d127f2e32793671fba505628a8
Author: Haibo Wang 
AuthorDate: Mon Jun 1 21:38:00 2020 -0700

[maven-release-plugin] prepare release release-0.4.0-rc2
---
 pinot-broker/pom.xml  | 5 ++---
 pinot-clients/pinot-java-client/pom.xml   | 5 ++---
 pinot-clients/pom.xml | 6 ++
 pinot-common/pom.xml  | 5 ++---
 pinot-controller/pom.xml  | 5 ++---
 pinot-core/pom.xml| 5 ++---
 pinot-distribution/pom.xml| 7 +++
 pinot-integration-tests/pom.xml   | 5 ++---
 pinot-minion/pom.xml  | 5 ++---
 pinot-perf/pom.xml| 5 ++---
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 6 ++
 .../pinot-batch-ingestion-standalone/pom.xml  | 6 ++
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 7 +++
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml   | 7 +++
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 6 ++
 pinot-plugins/pinot-file-system/pom.xml   | 6 ++
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 5 ++---
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 6 ++
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 6 ++
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 6 ++
 pinot-plugins/pom.xml | 8 +++-
 pinot-server/pom.xml  | 5 ++---
 pinot-spi/pom.xml | 5 ++---
 pinot-tools/pom.xml   | 5 ++---
 pom.xml   | 7 +++
 42 files changed, 89 insertions(+), 149 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index d9e48e1..2fd885d 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://www.w3.org/2001/XMLSchema-instance; 
xmlns="http://maven.apache.org/POM/4.0.0;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0
   
 pinot
 org.apache.pinot
-${revision}${sha1}
+0.4.0
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 6a98e3d..615c5e9 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation=&qu

[incubator-pinot] 02/02: Initialize _aggregateMetric in constructor (#5472)

2020-06-01 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc-2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 9e0bb880366fc3e895c097b37e0accbeb28ab586
Author: Sidd 
AuthorDate: Sun May 31 15:35:46 2020 -0700

Initialize _aggregateMetric in constructor (#5472)

Co-authored-by: Siddharth Teotia 
---
 .../apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java
 
b/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java
index 0e24664..b3a2fed 100644
--- 
a/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java
+++ 
b/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java
@@ -171,6 +171,7 @@ public class MutableSegmentImpl implements MutableSegment {
 _partitionFunction = config.getPartitionFunction();
 _partitionId = config.getPartitionId();
 _nullHandlingEnabled = config.isNullHandlingEnabled();
+_aggregateMetrics = config.aggregateMetrics();
 
 Collection allFieldSpecs = _schema.getAllFieldSpecs();
 List physicalFieldSpecs = new ArrayList<>(allFieldSpecs.size());
@@ -344,7 +345,8 @@ public class MutableSegmentImpl implements MutableSegment {
   // if the column is part of noDictionary set from table config
   if (fieldSpec instanceof DimensionFieldSpec && _aggregateMetrics && 
(dataType == FieldSpec.DataType.STRING ||
   dataType == FieldSpec.DataType.BYTES)) {
-_logger.info("Not creating dictionary in consuming segment for column 
{} of type {}", column, dataType.toString());
+_logger.info("Aggregate metrics is enabled. Will create dictionary in 
consuming segment for column {} of type {}",
+column, dataType.toString());
 return false;
   }
   // So don't create dictionary if the column is member of noDictionary, 
is single-value
@@ -857,7 +859,6 @@ public class MutableSegmentImpl implements MutableSegment {
*/
   private IdMap 
enableMetricsAggregationIfPossible(RealtimeSegmentConfig config,
   Set noDictionaryColumns) {
-_aggregateMetrics = config.aggregateMetrics();
 if (!_aggregateMetrics) {
   _logger.info("Metrics aggregation is disabled.");
   return null;


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



[incubator-pinot] branch release-0.4.0-rc-2 created (now 9e0bb88)

2020-06-01 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc-2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at 9e0bb88  Initialize _aggregateMetric in constructor (#5472)

This branch includes the following new commits:

 new fe3b98e  Two changes: (#5470)
 new 9e0bb88  Initialize _aggregateMetric in constructor (#5472)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



[incubator-pinot] 01/02: Two changes: (#5470)

2020-06-01 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc-2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit fe3b98ea8d2283d4b67b0bdb8622cbf4490f2cc1
Author: Sidd 
AuthorDate: Sat May 30 19:21:23 2020 -0700

Two changes: (#5470)

(1) PR https://github.com/apache/incubator-pinot/pull/5256
added support for deriving num docs per chunk for var byte
raw index create from column length. This was specifically
done as part of supporting text blobs. For use cases that
don't want this feature and are high QPS, see a negative
impact since size of chunk increases (earlier value
of numDocsPerChunk was hardcoded to 1000) and based on the
access pattern we might end up uncompressing a bigger chunk to get values
for a set of docIds. We have made this change configurable.
So the default behaviour is same as old (1000 docs per chunk)

(2) PR https://github.com/apache/incubator-pinot/pull/4791
added support for noDict for STRING/BYTES in consuming segments.
There is a particular impact of this change on the use cases
that have set noDict on their STRING dimension columns for other performance
reasons and also want metricsAggregation. These use cases don't get to
aggregateMetrics because the new implementation was able to honor their
table config setting of noDict on STRING/BYTES. Without metrics aggregation,
memory pressure increases. So to continue aggregating metrics for such 
cases,
we will create dictionary even if the column is part of noDictionary set
from table config.

Co-authored-by: Siddharth Teotia 
---
 .../generator/SegmentGeneratorConfig.java  | 15 +++
 .../indexsegment/mutable/MutableSegmentImpl.java   | 29 +++---
 .../creator/impl/SegmentColumnarIndexCreator.java  | 22 ++--
 .../fwd/SingleValueVarByteRawIndexCreator.java | 10 +++-
 .../defaultcolumn/BaseDefaultColumnHandler.java|  3 ++-
 .../apache/pinot/spi/config/table/FieldConfig.java |  1 +
 6 files changed, 72 insertions(+), 8 deletions(-)

diff --git 
a/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/generator/SegmentGeneratorConfig.java
 
b/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/generator/SegmentGeneratorConfig.java
index 59531fe..9af9c16 100644
--- 
a/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/generator/SegmentGeneratorConfig.java
+++ 
b/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/generator/SegmentGeneratorConfig.java
@@ -102,6 +102,9 @@ public class SegmentGeneratorConfig {
   private boolean _skipTimeValueCheck = false;
   private boolean _nullHandlingEnabled = false;
 
+  // constructed from FieldConfig
+  private Map> _columnProperties = new HashMap<>();
+
   @Deprecated
   public SegmentGeneratorConfig() {
   }
@@ -174,12 +177,24 @@ public class SegmentGeneratorConfig {
 _invertedIndexCreationColumns = 
indexingConfig.getInvertedIndexColumns();
   }
 
+  List fieldConfigList = tableConfig.getFieldConfigList();
+  if (fieldConfigList != null) {
+for (FieldConfig fieldConfig : fieldConfigList) {
+  _columnProperties.put(fieldConfig.getName(), 
fieldConfig.getProperties());
+}
+  }
+
   extractTextIndexColumnsFromTableConfig(tableConfig);
 
   _nullHandlingEnabled = indexingConfig.isNullHandlingEnabled();
 }
   }
 
+  @Nonnull
+  public Map> getColumnProperties() {
+return _columnProperties;
+  }
+
   /**
* Set time column details using the given time column
*/
diff --git 
a/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java
 
b/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java
index 07e5ec9..0e24664 100644
--- 
a/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java
+++ 
b/pinot-core/src/main/java/org/apache/pinot/core/indexsegment/mutable/MutableSegmentImpl.java
@@ -219,7 +219,7 @@ public class MutableSegmentImpl implements MutableSegment {
   FieldSpec.DataType dataType = fieldSpec.getDataType();
   boolean isFixedWidthColumn = dataType.isFixedWidth();
   int forwardIndexColumnSize = -1;
-  if (isNoDictionaryColumn(noDictionaryColumns, invertedIndexColumns, 
textIndexColumns, fieldSpec, column)) {
+  if (isNoDictionaryColumn(noDictionaryColumns, invertedIndexColumns, 
fieldSpec, column)) {
 // no dictionary
 // each forward index entry will be equal to size of data for that row
 // For INT, LONG, FLOAT, DOUBLE it is equal to the number of fixed 
bytes used to store the value,
@@ -329,9 +329,30 @@ public class MutableSegmentImpl implements MutableSegment {
* @return true if column is no-dictionary, false if dictionary encoded
*/
   private boolean isNoDictionaryColumn(Set noDictionaryC

svn commit: r39865 - in /dev/incubator/pinot/apache-pinot-incubating-0.4.0-rc1: ./ tardir/ tardir/apache-pinot-incubating-0.4.0-bin/ tardir/apache-pinot-incubating-0.4.0-bin/bin/ tardir/apache-pinot-i

2020-05-31 Thread haibow
Author: haibow
Date: Sun May 31 12:03:30 2020
New Revision: 39865

Log:
Update apache-pinot-incubating-0.4.0-rc1


[This commit notification would consist of 3635 parts, 
which exceeds the limit of 50 ones, so it was shortened to the summary.]

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



[incubator-pinot] 01/03: Add license

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 7f65bfe5e87dc3a3b2e743c991c534ab34a7aeac
Author: Haibo Wang 
AuthorDate: Fri May 29 01:10:14 2020 -0700

Add license
---
 licenses-binary/LICENSE-gpl-2.0.txt | 641 
 1 file changed, 641 insertions(+)

diff --git a/licenses-binary/LICENSE-gpl-2.0.txt 
b/licenses-binary/LICENSE-gpl-2.0.txt
new file mode 100644
index 000..b4a4b30
--- /dev/null
+++ b/licenses-binary/LICENSE-gpl-2.0.txt
@@ -0,0 +1,641 @@
+Apache Pinot (incubating)
+Copyright 2018 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+// --
+// NOTICE file corresponding to the section 4d of The Apache License,
+// Version 2.0, in this case for 
+// --
+
+The HermiteInterpolator class and its corresponding test have been imported 
from
+the orekit library distributed under the terms of the Apache 2 licence. 
Original
+source copyright:
+Copyright 2010-2012 CS Systèmes d'Information
+===
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+Apache Commons Configuration
+Copyright 2001-2008 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+Apache Commons Collections
+Copyright 2001-2008 The Apache Software Foundation
+
+Apache Jakarta Commons Digester
+Copyright 2001-2006 The Apache Software Foundation
+
+Apache Commons BeanUtils
+Copyright 2000-2010 The Apache Software Foundation
+
+Apache Commons BeanUtils
+Copyright 2000-2008 The Apache Software Foundation
+
+Apache Commons Codec
+Copyright 2002-2011 The Apache Software Foundation
+
+
+src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java contains 
+test data from http://aspell.sourceforge.net/test/batch0.tab.
+
+Copyright (C) 2002 Kevin Atkinson (kev...@gnu.org). Verbatim copying
+and distribution of this entire article is permitted in any medium,
+provided this notice is preserved.
+
+
+Apache Commons IO
+Copyright 2002-2012 The Apache Software Foundation
+
+Apache Commons Lang
+Copyright 2001-2011 The Apache Software Foundation
+
+Apache Commons Logging
+Copyright 2003-2014 The Apache Software Foundation
+
+Apache Commons Lang
+Copyright 2001-2016 The Apache Software Foundation
+
+This product includes software from the Spring Framework,
+under the Apache License 2.0 (see: StringUtils.containsWhitespace())
+
+Apache Log4j SLF4J Binding
+Copyright 1999-2019 The Apache Software Foundation
+
+Apache Log4j API
+Copyright 1999-2019 The Apache Software Foundation
+
+Apache Log4j 1.x Compatibility API
+Copyright 1999-2019 The Apache Software Foundation
+
+=
+= NOTICE file corresponding to section 4d of the Apache License Version 2.0 =
+=
+This product includes software developed by
+Joda.org (https://www.joda.org/).
+
+# Jackson JSON processor
+
+Jackson is a high-performance, Free/Open Source JSON processing library.
+It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has
+been in development since 2007.
+It is currently developed by a community of developers, as well as supported
+commercially by FasterXML.com.
+
+## Licensing
+
+Jackson core and extension components may be licensed under different licenses.
+To find the details that apply to this artifact see the accompanying LICENSE 
file.
+For more information, including possible other licensing options, contact
+FasterXML.com (http://fasterxml.com).
+
+## Credits
+
+A list of contributors may be found from CREDITS file, which is included
+in some artifacts (usually source distributions); but is always available
+from the source code management (SCM) system project uses.
+
+Apache Groovy
+Copyright 2003-2017 The Apache Software Foundation
+
+This product includes/uses ANTLR (http://www.antlr2.org/)
+developed by Terence Parr 1989-2006
+
+This product bundles icons from the famfamfam.com silk icons set
+http://www.famfamfam.com/lab/icons/silk/
+Licensed under the Creative Commons Attribution Licence v2.5
+http://creativecommons.org/licenses/by/2.5/
+
+Apache HttpClient Mime
+Copyright 1999-2017 The Apache Software Foundation
+
+Apache HttpClient
+Copyright 1999-2017 The Apache Software Foundation
+
+Apache HttpCore
+Copyright 2005-2017

[incubator-pinot] 03/03: [maven-release-plugin] prepare release release-0.4.0-rc1

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit fcfd016ae9c4f922c31b46bd8dc3fd624e1a297a
Author: Haibo Wang 
AuthorDate: Sat May 30 21:41:19 2020 -0700

[maven-release-plugin] prepare release release-0.4.0-rc1
---
 pinot-broker/pom.xml  | 5 ++---
 pinot-clients/pinot-java-client/pom.xml   | 5 ++---
 pinot-clients/pom.xml | 6 ++
 pinot-common/pom.xml  | 5 ++---
 pinot-controller/pom.xml  | 5 ++---
 pinot-core/pom.xml| 5 ++---
 pinot-distribution/pom.xml| 7 +++
 pinot-integration-tests/pom.xml   | 5 ++---
 pinot-minion/pom.xml  | 5 ++---
 pinot-perf/pom.xml| 5 ++---
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 6 ++
 .../pinot-batch-ingestion-standalone/pom.xml  | 6 ++
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 7 +++
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml   | 7 +++
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 6 ++
 pinot-plugins/pinot-file-system/pom.xml   | 6 ++
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 5 ++---
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 6 ++
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 6 ++
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 6 ++
 pinot-plugins/pom.xml | 8 +++-
 pinot-server/pom.xml  | 5 ++---
 pinot-spi/pom.xml | 5 ++---
 pinot-tools/pom.xml   | 5 ++---
 pom.xml   | 7 +++
 42 files changed, 89 insertions(+), 149 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index d9e48e1..2fd885d 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://www.w3.org/2001/XMLSchema-instance; 
xmlns="http://maven.apache.org/POM/4.0.0;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0
   
 pinot
 org.apache.pinot
-${revision}${sha1}
+0.4.0
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 6a98e3d..615c5e9 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schem

[incubator-pinot] 02/03: remove distributionManagement

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 6ab6d4c4191bae8d7f51b04078d651daf310a093
Author: Haibo Wang 
AuthorDate: Sat May 30 20:33:47 2020 -0700

remove distributionManagement
---
 pom.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2b6ae90..7024d3a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,14 +97,6 @@
   
   2018
 
-  
-
-  bintray-linkedin-maven
-  linkedin-maven
-  
https://api.bintray.com/maven/linkedin/maven/pinot/;publish=1;override=1
-
-  
-
   
 ${basedir}
 0.4.0


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



[incubator-pinot] branch release-0.4.0-rc updated: [maven-release-plugin] prepare for next development iteration

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/release-0.4.0-rc by this push:
 new 938b171  [maven-release-plugin] prepare for next development iteration
938b171 is described below

commit 938b1711617a7d2b95e38ff03b8dbb1a32dcfce6
Author: Haibo Wang 
AuthorDate: Sat May 30 21:41:39 2020 -0700

[maven-release-plugin] prepare for next development iteration
---
 pinot-broker/pom.xml  | 2 +-
 pinot-clients/pinot-java-client/pom.xml   | 2 +-
 pinot-clients/pom.xml | 2 +-
 pinot-common/pom.xml  | 2 +-
 pinot-controller/pom.xml  | 2 +-
 pinot-core/pom.xml| 2 +-
 pinot-distribution/pom.xml| 2 +-
 pinot-integration-tests/pom.xml   | 2 +-
 pinot-minion/pom.xml  | 2 +-
 pinot-perf/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-standalone/pom.xml| 2 +-
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 2 +-
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 2 +-
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 2 +-
 pinot-plugins/pinot-file-system/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 2 +-
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 2 +-
 pinot-plugins/pom.xml | 2 +-
 pinot-server/pom.xml  | 2 +-
 pinot-spi/pom.xml | 2 +-
 pinot-tools/pom.xml   | 2 +-
 pom.xml   | 4 ++--
 42 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index 2fd885d..a884630 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 615c5e9..60177d7 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -24,7 +24,7 @@
   
 pinot-clients
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-java-client
diff --git a/pinot-clients/pom.xml b/pinot-clients/pom.xml
index e05e7ec..902f54f 100644
--- a/pinot-clients/pom.xml
+++ b/pinot-clients/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-clients
diff --git a/pinot-common/pom.xml b/pinot-common/pom.xml
index db2d28d..7f2a7fc 100644
--- a/pinot-common/pom.xml
+++ b/pinot-common/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT

[incubator-pinot] annotated tag release-0.4.0-rc1 updated (fcfd016 -> 4bbd301)

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to annotated tag release-0.4.0-rc1
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


*** WARNING: tag release-0.4.0-rc1 was modified! ***

from fcfd016  (commit)
  to 4bbd301  (tag)
 tagging fcfd016ae9c4f922c31b46bd8dc3fd624e1a297a (commit)
  by Haibo Wang
  on Sat May 30 21:41:34 2020 -0700

- Log -
[maven-release-plugin] copy for tag release-0.4.0-rc1
---


No new revisions were added by this update.

Summary of changes:


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



[incubator-pinot] branch release-0.4.0-rc created (now fcfd016)

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at fcfd016  [maven-release-plugin] prepare release release-0.4.0-rc1

This branch includes the following new commits:

 new 7f65bfe  Add license
 new 6ab6d4c  remove distributionManagement
 new fcfd016  [maven-release-plugin] prepare release release-0.4.0-rc1

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



[incubator-pinot] annotated tag release-0.4.0-rc3 updated (7bcdd1b -> 257a8d4)

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to annotated tag release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


*** WARNING: tag release-0.4.0-rc3 was modified! ***

from 7bcdd1b  (commit)
  to 257a8d4  (tag)
 tagging 7bcdd1bb8880ddb958f06b4e0d50672ef93a8292 (commit)
  by Haibo Wang
  on Sat May 30 20:39:15 2020 -0700

- Log -
add tag release-0.4.0-rc3
---


No new revisions were added by this update.

Summary of changes:


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



[incubator-pinot] branch release-0.4.0-rc created (now 9c943e3)

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at 9c943e3  [maven-release-plugin] prepare for next development iteration

No new revisions were added by this update.


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



[incubator-pinot] 03/03: [maven-release-plugin] prepare for next development iteration

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 9c943e35456a433e8232b9b8da8743ab243c756a
Author: Haibo Wang 
AuthorDate: Fri May 29 17:13:51 2020 -0700

[maven-release-plugin] prepare for next development iteration
---
 pinot-broker/pom.xml  | 2 +-
 pinot-clients/pinot-java-client/pom.xml   | 2 +-
 pinot-clients/pom.xml | 2 +-
 pinot-common/pom.xml  | 2 +-
 pinot-controller/pom.xml  | 2 +-
 pinot-core/pom.xml| 2 +-
 pinot-distribution/pom.xml| 2 +-
 pinot-integration-tests/pom.xml   | 2 +-
 pinot-minion/pom.xml  | 2 +-
 pinot-perf/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-standalone/pom.xml| 2 +-
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 2 +-
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 2 +-
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 2 +-
 pinot-plugins/pinot-file-system/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 2 +-
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 2 +-
 pinot-plugins/pom.xml | 2 +-
 pinot-server/pom.xml  | 2 +-
 pinot-spi/pom.xml | 2 +-
 pinot-tools/pom.xml   | 2 +-
 pom.xml   | 4 ++--
 42 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index 2fd885d..a884630 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 615c5e9..60177d7 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -24,7 +24,7 @@
   
 pinot-clients
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-java-client
diff --git a/pinot-clients/pom.xml b/pinot-clients/pom.xml
index e05e7ec..902f54f 100644
--- a/pinot-clients/pom.xml
+++ b/pinot-clients/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-clients
diff --git a/pinot-common/pom.xml b/pinot-common/pom.xml
index db2d28d..7f2a7fc 100644
--- a/pinot-common/pom.xml
+++ b/pinot-common/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-common
diff --git a/pinot-controller/pom.xml b/pinot-controller/pom.xml
index 8c72703..08eb80c 100644
--- a/pinot-controller/pom.xml
+++ b/pinot-controller/pom.xml
@@ -24,7 +24,7

[incubator-pinot] 01/03: remove distributionManagement

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 6ab6d4c4191bae8d7f51b04078d651daf310a093
Author: Haibo Wang 
AuthorDate: Sat May 30 20:33:47 2020 -0700

remove distributionManagement
---
 pom.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2b6ae90..7024d3a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,14 +97,6 @@
   
   2018
 
-  
-
-  bintray-linkedin-maven
-  linkedin-maven
-  
https://api.bintray.com/maven/linkedin/maven/pinot/;publish=1;override=1
-
-  
-
   
 ${basedir}
 0.4.0


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



[incubator-pinot] 02/03: [maven-release-plugin] prepare release release-0.4.0-rc3

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 7bcdd1bb8880ddb958f06b4e0d50672ef93a8292
Author: Haibo Wang 
AuthorDate: Fri May 29 17:13:32 2020 -0700

[maven-release-plugin] prepare release release-0.4.0-rc3
---
 pinot-broker/pom.xml  | 5 ++---
 pinot-clients/pinot-java-client/pom.xml   | 5 ++---
 pinot-clients/pom.xml | 6 ++
 pinot-common/pom.xml  | 5 ++---
 pinot-controller/pom.xml  | 5 ++---
 pinot-core/pom.xml| 5 ++---
 pinot-distribution/pom.xml| 7 +++
 pinot-integration-tests/pom.xml   | 5 ++---
 pinot-minion/pom.xml  | 5 ++---
 pinot-perf/pom.xml| 5 ++---
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 6 ++
 .../pinot-batch-ingestion-standalone/pom.xml  | 6 ++
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 7 +++
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml   | 7 +++
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 6 ++
 pinot-plugins/pinot-file-system/pom.xml   | 6 ++
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 5 ++---
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 6 ++
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 6 ++
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 6 ++
 pinot-plugins/pom.xml | 8 +++-
 pinot-server/pom.xml  | 5 ++---
 pinot-spi/pom.xml | 5 ++---
 pinot-tools/pom.xml   | 5 ++---
 pom.xml   | 7 +++
 42 files changed, 89 insertions(+), 149 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index d9e48e1..2fd885d 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://www.w3.org/2001/XMLSchema-instance; 
xmlns="http://maven.apache.org/POM/4.0.0;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0
   
 pinot
 org.apache.pinot
-${revision}${sha1}
+0.4.0
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 6a98e3d..615c5e9 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi

[incubator-pinot] branch release-0.4.0-rc3 updated (46863b1 -> 9c943e3)

2020-05-30 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


 discard 46863b1  [maven-release-plugin] prepare for next development iteration
 discard c3f36c2  [maven-release-plugin] prepare release release-0.4.0-rc3
 new 6ab6d4c  remove distributionManagement
 new 7bcdd1b  [maven-release-plugin] prepare release release-0.4.0-rc3
 new 9c943e3  [maven-release-plugin] prepare for next development iteration

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (46863b1)
\
 N -- N -- N   refs/heads/release-0.4.0-rc3 (9c943e3)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml | 8 
 1 file changed, 8 deletions(-)


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



[incubator-pinot] branch release-0.4.0-rc3 updated: [maven-release-plugin] prepare for next development iteration

2020-05-29 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/release-0.4.0-rc3 by this push:
 new 46863b1  [maven-release-plugin] prepare for next development iteration
46863b1 is described below

commit 46863b12ddbb45f6fdd82b592b55ea05ed8c8470
Author: Haibo Wang 
AuthorDate: Fri May 29 17:13:51 2020 -0700

[maven-release-plugin] prepare for next development iteration
---
 pinot-broker/pom.xml  | 2 +-
 pinot-clients/pinot-java-client/pom.xml   | 2 +-
 pinot-clients/pom.xml | 2 +-
 pinot-common/pom.xml  | 2 +-
 pinot-controller/pom.xml  | 2 +-
 pinot-core/pom.xml| 2 +-
 pinot-distribution/pom.xml| 2 +-
 pinot-integration-tests/pom.xml   | 2 +-
 pinot-minion/pom.xml  | 2 +-
 pinot-perf/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-standalone/pom.xml| 2 +-
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 2 +-
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 2 +-
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 2 +-
 pinot-plugins/pinot-file-system/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 2 +-
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 2 +-
 pinot-plugins/pom.xml | 2 +-
 pinot-server/pom.xml  | 2 +-
 pinot-spi/pom.xml | 2 +-
 pinot-tools/pom.xml   | 2 +-
 pom.xml   | 4 ++--
 42 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index 2fd885d..a884630 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 615c5e9..60177d7 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -24,7 +24,7 @@
   
 pinot-clients
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-java-client
diff --git a/pinot-clients/pom.xml b/pinot-clients/pom.xml
index e05e7ec..902f54f 100644
--- a/pinot-clients/pom.xml
+++ b/pinot-clients/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-clients
diff --git a/pinot-common/pom.xml b/pinot-common/pom.xml
index db2d28d..7f2a7fc 100644
--- a/pinot-common/pom.xml
+++ b/pinot-common/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT

[incubator-pinot] annotated tag release-0.4.0-rc3 updated (c3f36c2 -> bf16d5d)

2020-05-29 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to annotated tag release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


*** WARNING: tag release-0.4.0-rc3 was modified! ***

from c3f36c2  (commit)
  to bf16d5d  (tag)
 tagging c3f36c28b37e4ea216433be3d6eb8b5dc3603f3f (commit)
  by Haibo Wang
  on Fri May 29 17:13:47 2020 -0700

- Log -
[maven-release-plugin] copy for tag release-0.4.0-rc3
---


No new revisions were added by this update.

Summary of changes:


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



[incubator-pinot] branch release-0.4.0-rc3 created (now c3f36c2)

2020-05-29 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at c3f36c2  [maven-release-plugin] prepare release release-0.4.0-rc3

This branch includes the following new commits:

 new 7f65bfe  Add license
 new c3f36c2  [maven-release-plugin] prepare release release-0.4.0-rc3

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



[incubator-pinot] 01/02: Add license

2020-05-29 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 7f65bfe5e87dc3a3b2e743c991c534ab34a7aeac
Author: Haibo Wang 
AuthorDate: Fri May 29 01:10:14 2020 -0700

Add license
---
 licenses-binary/LICENSE-gpl-2.0.txt | 641 
 1 file changed, 641 insertions(+)

diff --git a/licenses-binary/LICENSE-gpl-2.0.txt 
b/licenses-binary/LICENSE-gpl-2.0.txt
new file mode 100644
index 000..b4a4b30
--- /dev/null
+++ b/licenses-binary/LICENSE-gpl-2.0.txt
@@ -0,0 +1,641 @@
+Apache Pinot (incubating)
+Copyright 2018 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+// --
+// NOTICE file corresponding to the section 4d of The Apache License,
+// Version 2.0, in this case for 
+// --
+
+The HermiteInterpolator class and its corresponding test have been imported 
from
+the orekit library distributed under the terms of the Apache 2 licence. 
Original
+source copyright:
+Copyright 2010-2012 CS Systèmes d'Information
+===
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+Apache Commons Configuration
+Copyright 2001-2008 The Apache Software Foundation
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+Apache Commons Collections
+Copyright 2001-2008 The Apache Software Foundation
+
+Apache Jakarta Commons Digester
+Copyright 2001-2006 The Apache Software Foundation
+
+Apache Commons BeanUtils
+Copyright 2000-2010 The Apache Software Foundation
+
+Apache Commons BeanUtils
+Copyright 2000-2008 The Apache Software Foundation
+
+Apache Commons Codec
+Copyright 2002-2011 The Apache Software Foundation
+
+
+src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java contains 
+test data from http://aspell.sourceforge.net/test/batch0.tab.
+
+Copyright (C) 2002 Kevin Atkinson (kev...@gnu.org). Verbatim copying
+and distribution of this entire article is permitted in any medium,
+provided this notice is preserved.
+
+
+Apache Commons IO
+Copyright 2002-2012 The Apache Software Foundation
+
+Apache Commons Lang
+Copyright 2001-2011 The Apache Software Foundation
+
+Apache Commons Logging
+Copyright 2003-2014 The Apache Software Foundation
+
+Apache Commons Lang
+Copyright 2001-2016 The Apache Software Foundation
+
+This product includes software from the Spring Framework,
+under the Apache License 2.0 (see: StringUtils.containsWhitespace())
+
+Apache Log4j SLF4J Binding
+Copyright 1999-2019 The Apache Software Foundation
+
+Apache Log4j API
+Copyright 1999-2019 The Apache Software Foundation
+
+Apache Log4j 1.x Compatibility API
+Copyright 1999-2019 The Apache Software Foundation
+
+=
+= NOTICE file corresponding to section 4d of the Apache License Version 2.0 =
+=
+This product includes software developed by
+Joda.org (https://www.joda.org/).
+
+# Jackson JSON processor
+
+Jackson is a high-performance, Free/Open Source JSON processing library.
+It was originally written by Tatu Saloranta (tatu.salora...@iki.fi), and has
+been in development since 2007.
+It is currently developed by a community of developers, as well as supported
+commercially by FasterXML.com.
+
+## Licensing
+
+Jackson core and extension components may be licensed under different licenses.
+To find the details that apply to this artifact see the accompanying LICENSE 
file.
+For more information, including possible other licensing options, contact
+FasterXML.com (http://fasterxml.com).
+
+## Credits
+
+A list of contributors may be found from CREDITS file, which is included
+in some artifacts (usually source distributions); but is always available
+from the source code management (SCM) system project uses.
+
+Apache Groovy
+Copyright 2003-2017 The Apache Software Foundation
+
+This product includes/uses ANTLR (http://www.antlr2.org/)
+developed by Terence Parr 1989-2006
+
+This product bundles icons from the famfamfam.com silk icons set
+http://www.famfamfam.com/lab/icons/silk/
+Licensed under the Creative Commons Attribution Licence v2.5
+http://creativecommons.org/licenses/by/2.5/
+
+Apache HttpClient Mime
+Copyright 1999-2017 The Apache Software Foundation
+
+Apache HttpClient
+Copyright 1999-2017 The Apache Software Foundation
+
+Apache HttpCore
+Copyright 2005-2017

[incubator-pinot] 02/02: [maven-release-plugin] prepare release release-0.4.0-rc3

2020-05-29 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit c3f36c28b37e4ea216433be3d6eb8b5dc3603f3f
Author: Haibo Wang 
AuthorDate: Fri May 29 17:13:32 2020 -0700

[maven-release-plugin] prepare release release-0.4.0-rc3
---
 pinot-broker/pom.xml  | 5 ++---
 pinot-clients/pinot-java-client/pom.xml   | 5 ++---
 pinot-clients/pom.xml | 6 ++
 pinot-common/pom.xml  | 5 ++---
 pinot-controller/pom.xml  | 5 ++---
 pinot-core/pom.xml| 5 ++---
 pinot-distribution/pom.xml| 7 +++
 pinot-integration-tests/pom.xml   | 5 ++---
 pinot-minion/pom.xml  | 5 ++---
 pinot-perf/pom.xml| 5 ++---
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 6 ++
 .../pinot-batch-ingestion-standalone/pom.xml  | 6 ++
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 7 +++
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml   | 7 +++
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 6 ++
 pinot-plugins/pinot-file-system/pom.xml   | 6 ++
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 5 ++---
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 6 ++
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 6 ++
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 6 ++
 pinot-plugins/pom.xml | 8 +++-
 pinot-server/pom.xml  | 5 ++---
 pinot-spi/pom.xml | 5 ++---
 pinot-tools/pom.xml   | 5 ++---
 pom.xml   | 7 +++
 42 files changed, 89 insertions(+), 149 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index d9e48e1..2fd885d 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://www.w3.org/2001/XMLSchema-instance; 
xmlns="http://maven.apache.org/POM/4.0.0;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0
   
 pinot
 org.apache.pinot
-${revision}${sha1}
+0.4.0
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 6a98e3d..615c5e9 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi

[incubator-pinot] tag release-0.4.0-rc2 created (now 0ee9083)

2020-05-29 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to tag release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at 0ee9083  (commit)
No new revisions were added by this update.


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



[incubator-pinot] tag release-0.4.0 created (now 0ee9083)

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to tag release-0.4.0
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at 0ee9083  (commit)
No new revisions were added by this update.


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



[incubator-pinot] branch release-0.4.0-rc2 created (now 0ee9083)

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at 0ee9083  [maven-release-plugin] prepare for next development iteration

This branch includes the following new commits:

 new f26f19b  Single Quote String Literal for function invoker results 
(#5456)
 new 75f58bc  Update release note
 new e425f5a  [maven-release-plugin] prepare release release-0.4.0-rc2
 new 0ee9083  [maven-release-plugin] prepare for next development iteration

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



[incubator-pinot] 01/04: Single Quote String Literal for function invoker results (#5456)

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit f26f19b674604dbd7afce9e81954198b245e4338
Author: Xiang Fu 
AuthorDate: Wed May 27 21:55:14 2020 -0700

Single Quote String Literal for function invoker results (#5456)
---
 .../org/apache/pinot/sql/parsers/CalciteSqlParser.java |  3 +++
 .../apache/pinot/sql/parsers/CalciteSqlCompilerTest.java   |  6 +++---
 .../integration/tests/OfflineClusterIntegrationTest.java   | 14 ++
 3 files changed, 20 insertions(+), 3 deletions(-)

diff --git 
a/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java 
b/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
index 45b3274..2aec8ec 100644
--- 
a/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
+++ 
b/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
@@ -676,6 +676,9 @@ public class CalciteSqlParser {
   try {
 FunctionInvoker invoker = new FunctionInvoker(functionInfo);
 Object result = invoker.process(arguments);
+if (result instanceof String) {
+  result = String.format("'%s'", result);
+}
 return RequestUtils.getLiteralExpression(result);
   } catch (Exception e) {
 throw new SqlCompilationException(new 
IllegalArgumentException("Unsupported function - " + funcName, e));
diff --git 
a/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
 
b/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
index ac0a5cf..aec7917 100644
--- 
a/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
+++ 
b/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
@@ -1534,7 +1534,7 @@ public class CalciteSqlCompilerTest {
 Function greaterThan = pinotQuery.getFilterExpression().getFunctionCall();
 String today = 
greaterThan.getOperands().get(1).getLiteral().getStringValue();
 String expectedTodayStr =
-
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z"));
+"'" + 
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z")) + "'";
 Assert.assertEquals(today, expectedTodayStr);
   }
 
@@ -1557,7 +1557,7 @@ public class CalciteSqlCompilerTest {
 Assert.assertTrue(expression.getLiteral() != null);
 String today = expression.getLiteral().getStringValue();
 String expectedTodayStr =
-
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z"));
+"'" + 
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z")) + "'";
 Assert.assertEquals(today, expectedTodayStr);
 expression = 
CalciteSqlParser.compileToExpression("toDateTime(playerName)");
 Assert.assertTrue(expression.getFunctionCall() != null);
@@ -1575,7 +1575,7 @@ public class CalciteSqlCompilerTest {
 Assert.assertTrue(expression.getFunctionCall() != null);
 expression = 
CalciteSqlParser.invokeCompileTimeFunctionExpression(expression);
 Assert.assertTrue(expression.getLiteral() != null);
-Assert.assertEquals(expression.getLiteral().getFieldValue(), "emaNreyalp");
+Assert.assertEquals(expression.getLiteral().getFieldValue(), 
"'emaNreyalp'");
 expression = CalciteSqlParser.compileToExpression("count(*)");
 Assert.assertTrue(expression.getFunctionCall() != null);
 expression = 
CalciteSqlParser.invokeCompileTimeFunctionExpression(expression);
diff --git 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
index f433a3e..223602c 100644
--- 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
+++ 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
@@ -24,6 +24,9 @@ import com.fasterxml.jackson.databind.node.ObjectNode;
 import com.google.common.collect.ImmutableList;
 import java.io.File;
 import java.io.IOException;
+import java.time.Instant;
+import java.time.ZoneId;
+import java.time.format.DateTimeFormatter;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collections;
@@ -309,6 +312,17 @@ public class OfflineClusterIntegrationTest extends 
BaseClusterIntegrationTestSet
   }
 
   @Test
+  public void testTimeFunc()
+  throws Exception {
+String sqlQuery = "SELECT toDateTime(now(), '-MM-dd z

[incubator-pinot] 02/04: Update release note

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 75f58bc279988d3818969bd9b8ce850b82202eaa
Author: Haibo Wang 
AuthorDate: Thu May 28 21:15:15 2020 -0700

Update release note
---
 LICENSE-binary | 155 ++---
 NOTICE-binary  |  53 +++-
 2 files changed, 157 insertions(+), 51 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index 5c0e3e4..04faf94 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -211,28 +211,32 @@ com.clearspring.analytics:stream:2.7.0
 com.fasterxml.jackson.core:jackson-annotations:2.9.8
 com.fasterxml.jackson.core:jackson-core:2.9.8
 com.fasterxml.jackson.core:jackson-databind:2.9.8
+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.8
 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.8
+com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.9.8
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.9.8
 com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.8
 com.fasterxml.jackson.module:jackson-module-paranamer:2.6.5
 com.fasterxml.jackson.module:jackson-module-scala_2.11:2.6.5
+com.fasterxml.woodstox:woodstox-core:5.0.3
 com.github.jnr:jffi:1.2.9
 com.github.jnr:jnr-constants:0.8.7
 com.github.jnr:jnr-ffi:2.0.3
+com.google.api-client:google-api-client
 com.google.api.grpc:proto-google-common-protos:1.17.0
 com.google.api.grpc:proto-google-iam-v1:0.13.0
 com.google.api:api-common:1.8.1
 com.google.api:gax:1.49.1
 com.google.api:gax-httpjson:0.66.1
-com.google.api:google-api-client:1.30.4
-com.google.api:google-api-services-storage:v1-rev20190910-1.30.3.jar
+com.google.apis:google-api-services-storage:v1-rev20190910-1.30.3
 com.google.auth:google-auth-library-credentials:0.18.0
 com.google.auth:google-auth-library-oauth2-http:0.18.0
 com.google.auto.value:auto-value-annotations:1.6.6
 com.google.cloud:google-cloud-core:1.91.3
 com.google.cloud:google-cloud-core-http:1.91.3
-com.google.cloud:google-cloud-storage:1.101.0
+com.google.cloud:google-cloud-nio:0.120.0-alpha
+com.google.cloud:google-cloud-storage:1.102.0
 com.google.code.findbugs:jsr305:3.0.0
 com.google.code.gson:gson:2.2.4
 com.google.errorprone:error_prone_annotations:2.3.2
@@ -240,21 +244,20 @@ com.google.guava:guava:20.0
 com.google.http-client:google-http-client-appengine:1.32.1
 com.google.http-client:google-http-client-jackson2:1.32.1
 com.google.http-client:google-http-client:1.32.1
-com.google.inject.extensions:guice-servlet:3.0
-com.google.inject:guice:3.0
 com.google.j2objc:j2objc-annotations:1.3
 com.google.oauth-client:google-oauth-client:1.30.3
 com.google.protobuf:protobuf-java-util:3.10.0
 com.google.protobuf:protobuf-java:2.5.0
 com.google.protobuf:protobuf-java:3.10.0
 com.jamesmurty.utils:java-xmlbuilder:0.4
+com.jamesmurty.utils:java-xmlbuilder:1.0
+com.jayway.jsonpath:json-path:2.4.0
 com.lmax:disruptor:3.3.4
 com.ning:async-http-client:1.9.21
 com.ning:compress-lzf:1.0.3
 com.tdunning:t-digest:3.2
-com.twitter:chill-java:0.8.0
-com.twitter:chill_2.11:0.8.0
-com.typesafe:config:1.3.2
+com.typesafe.netty:netty-reactive-streams-http:2.0.4
+com.typesafe.netty:netty-reactive-streams:2.0.4
 com.typesafe.scala-logging:scala-logging_2.11:3.9.0
 com.yammer.metrics:metrics-core:2.2.0
 commons-beanutils:commons-beanutils:1.8.3
@@ -271,15 +274,35 @@ commons-lang:commons-lang:2.6
 commons-logging:commons-logging:1.2
 commons-net:commons-net:3.1
 io.airlift:aircompressor:0.10
+io.confluent:common-config:5.3.1
+io.confluent:common-utils:5.3.1
+io.confluent:kafka-avro-serializer:5.3.1
+io.confluent:kafka-schema-registry-client:5.3.1
 io.dropwizard.metrics:metrics-core:3.2.3
-io.dropwizard.metrics:metrics-graphite:3.1.2
-io.dropwizard.metrics:metrics-json:3.1.2
-io.dropwizard.metrics:metrics-jvm:3.1.2
+io.dropwizard.metrics:metrics-graphite:3.2.3
+io.dropwizard.metrics:metrics-json:3.2.3
+io.dropwizard.metrics:metrics-jvm:3.2.3
 io.grpc:grpc-context:1.22.1
+io.netty:netty-all:4.1.42.Final
+io.netty:netty-buffer:4.1.42.Final
+io.netty:netty-codec-http2:4.1.42.Final
+io.netty:netty-codec-http:4.1.42.Final
+io.netty:netty-codec-socks:4.1.42.Final
+io.netty:netty-codec:4.1.42.Final
+io.netty:netty-common:4.1.42.Final
+io.netty:netty-handler-proxy:4.1.42.Final
+io.netty:netty-handler:4.1.42.Final
+io.netty:netty-resolver:4.1.42.Final
+io.netty:netty-tcnative-boringssl-static:2.0.26.Final
+io.netty:netty-transport-native-epoll:linux-x86_64:4.1.42.Final
+io.netty:netty-transport-native-unix-common:4.1.42.Final
+io.netty:netty-transport:4.1.42.Final
 io.netty:netty:3.9.6.Final
-io.netty:netty-all:4.1.28.Final
 io.opencensus:opencensus-api:0.24.0
 io.opencensus:opencensus-contrib-http-util:0.24.0
+io.projectreactor.addons:reactor-pool:0.1.0.RELEASE
+io.projectreactor.netty:reactor-netty:0.9.0.RELEASE

[incubator-pinot] 04/04: [maven-release-plugin] prepare for next development iteration

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 0ee908370bbca888bac5356304e1217391d54f78
Author: Haibo Wang 
AuthorDate: Thu May 28 22:00:09 2020 -0700

[maven-release-plugin] prepare for next development iteration
---
 licenses-binary/LICENSE-gpl-2.0.txt| 125 +
 pinot-broker/pom.xml   |   2 +-
 pinot-clients/pinot-java-client/pom.xml|   2 +-
 pinot-clients/pom.xml  |   2 +-
 pinot-common/pom.xml   |   2 +-
 pinot-controller/pom.xml   |   2 +-
 pinot-core/pom.xml |   2 +-
 pinot-distribution/pom.xml |   2 +-
 pinot-integration-tests/pom.xml|   2 +-
 pinot-minion/pom.xml   |   2 +-
 pinot-perf/pom.xml |   2 +-
 .../pinot-batch-ingestion-common/pom.xml   |   2 +-
 .../pinot-batch-ingestion-hadoop/pom.xml   |   2 +-
 .../pinot-batch-ingestion-spark/pom.xml|   2 +-
 .../pinot-batch-ingestion-standalone/pom.xml   |   2 +-
 pinot-plugins/pinot-batch-ingestion/pom.xml|   2 +-
 .../v0_deprecated/pinot-hadoop/pom.xml |   2 +-
 .../v0_deprecated/pinot-ingestion-common/pom.xml   |   2 +-
 .../v0_deprecated/pinot-spark/pom.xml  |   2 +-
 .../pinot-batch-ingestion/v0_deprecated/pom.xml|   2 +-
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml |   2 +-
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml  |   2 +-
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml |   2 +-
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml   |   2 +-
 pinot-plugins/pinot-file-system/pom.xml|   2 +-
 .../pinot-input-format/pinot-avro-base/pom.xml |   2 +-
 .../pinot-input-format/pinot-avro/pom.xml  |   2 +-
 .../pinot-confluent-avro/pom.xml   |   2 +-
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml |   2 +-
 .../pinot-input-format/pinot-json/pom.xml  |   2 +-
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml |   2 +-
 .../pinot-input-format/pinot-parquet/pom.xml   |   2 +-
 .../pinot-input-format/pinot-thrift/pom.xml|   2 +-
 pinot-plugins/pinot-input-format/pom.xml   |   2 +-
 .../pinot-stream-ingestion/pinot-kafka-0.9/pom.xml |   2 +-
 .../pinot-stream-ingestion/pinot-kafka-2.0/pom.xml |   2 +-
 .../pinot-kafka-base/pom.xml   |   2 +-
 pinot-plugins/pinot-stream-ingestion/pom.xml   |   2 +-
 pinot-plugins/pom.xml  |   2 +-
 pinot-server/pom.xml   |   2 +-
 pinot-spi/pom.xml  |   2 +-
 pinot-tools/pom.xml|   2 +-
 pom.xml|   4 +-
 43 files changed, 168 insertions(+), 43 deletions(-)

diff --git a/licenses-binary/LICENSE-gpl-2.0.txt 
b/licenses-binary/LICENSE-gpl-2.0.txt
new file mode 100644
index 000..0e102ee
--- /dev/null
+++ b/licenses-binary/LICENSE-gpl-2.0.txt
@@ -0,0 +1,125 @@
+GNU GENERAL PUBLIC LICENSE
+Version 2, June 1991
+
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+Preamble
+The licenses for most software are designed to take away your freedom to share 
and change it. By contrast, the GNU General Public License is intended to 
guarantee your freedom to share and change free software--to make sure the 
software is free for all its users. This General Public License applies to most 
of the Free Software Foundation's software and to any other program whose 
authors commit to using it. (Some other Free Software Foundation software is 
covered by the GNU Lesser General [...]
+
+When we speak of free software, we are referring to freedom, not price. Our 
General Public Licenses are designed to make sure that you have the freedom to 
distribute copies of free software (and charge for this service if you wish), 
that you receive source code or can get it if you want it, that you can change 
the software or use pieces of it in new free programs; and that you know you 
can do these things.
+
+To protect your rights, we need to make restrictions that forbid anyone to 
deny you these rights or to ask you to surrender the rights. These restrictions 
translate to certain responsibilities for you if you distribute copies of the 
software, or if you modify it.
+
+For example, if you distribute copies of such a program, whether gratis or for 
a fee, you must give the recipients all the rights that you have. You must make 
sure that they, too, receive or can get the source code

[incubator-pinot] 03/04: [maven-release-plugin] prepare release release-0.4.0-rc2

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit e425f5ae5a77955748cefcee94b92ebcbcd2559f
Author: Haibo Wang 
AuthorDate: Thu May 28 21:59:47 2020 -0700

[maven-release-plugin] prepare release release-0.4.0-rc2
---
 pinot-broker/pom.xml  | 5 ++---
 pinot-clients/pinot-java-client/pom.xml   | 5 ++---
 pinot-clients/pom.xml | 6 ++
 pinot-common/pom.xml  | 5 ++---
 pinot-controller/pom.xml  | 5 ++---
 pinot-core/pom.xml| 5 ++---
 pinot-distribution/pom.xml| 7 +++
 pinot-integration-tests/pom.xml   | 5 ++---
 pinot-minion/pom.xml  | 5 ++---
 pinot-perf/pom.xml| 5 ++---
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 6 ++
 .../pinot-batch-ingestion-standalone/pom.xml  | 6 ++
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 7 +++
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml   | 7 +++
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 6 ++
 pinot-plugins/pinot-file-system/pom.xml   | 6 ++
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 5 ++---
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 6 ++
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 6 ++
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 6 ++
 pinot-plugins/pom.xml | 8 +++-
 pinot-server/pom.xml  | 5 ++---
 pinot-spi/pom.xml | 5 ++---
 pinot-tools/pom.xml   | 5 ++---
 pom.xml   | 7 +++
 42 files changed, 89 insertions(+), 149 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index d9e48e1..2fd885d 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://www.w3.org/2001/XMLSchema-instance; 
xmlns="http://maven.apache.org/POM/4.0.0;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0
   
 pinot
 org.apache.pinot
-${revision}${sha1}
+0.4.0
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 6a98e3d..615c5e9 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi

[incubator-pinot] annotated tag release-0.4.0-rc2 updated (e425f5a -> b4269a6)

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to annotated tag release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


*** WARNING: tag release-0.4.0-rc2 was modified! ***

from e425f5a  (commit)
  to b4269a6  (tag)
 tagging e425f5ae5a77955748cefcee94b92ebcbcd2559f (commit)
  by Haibo Wang
  on Thu May 28 22:00:03 2020 -0700

- Log -
[maven-release-plugin] copy for tag release-0.4.0-rc2
---


No new revisions were added by this update.

Summary of changes:


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



[incubator-pinot] branch release-0.4.0-rc2 updated: [maven-release-plugin] prepare for next development iteration

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/release-0.4.0-rc2 by this push:
 new ead32f1  [maven-release-plugin] prepare for next development iteration
ead32f1 is described below

commit ead32f109fa790ab7c416f7b14f6da5c8aff1efb
Author: Haibo Wang 
AuthorDate: Thu May 28 22:00:09 2020 -0700

[maven-release-plugin] prepare for next development iteration
---
 pinot-broker/pom.xml  | 2 +-
 pinot-clients/pinot-java-client/pom.xml   | 2 +-
 pinot-clients/pom.xml | 2 +-
 pinot-common/pom.xml  | 2 +-
 pinot-controller/pom.xml  | 2 +-
 pinot-core/pom.xml| 2 +-
 pinot-distribution/pom.xml| 2 +-
 pinot-integration-tests/pom.xml   | 2 +-
 pinot-minion/pom.xml  | 2 +-
 pinot-perf/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 2 +-
 .../pinot-batch-ingestion/pinot-batch-ingestion-standalone/pom.xml| 2 +-
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 2 +-
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 2 +-
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml | 2 +-
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 2 +-
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 2 +-
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 2 +-
 pinot-plugins/pinot-file-system/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 2 +-
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 2 +-
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 2 +-
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 2 +-
 pinot-plugins/pinot-input-format/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 2 +-
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 2 +-
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 2 +-
 pinot-plugins/pom.xml | 2 +-
 pinot-server/pom.xml  | 2 +-
 pinot-spi/pom.xml | 2 +-
 pinot-tools/pom.xml   | 2 +-
 pom.xml   | 4 ++--
 42 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index 2fd885d..a884630 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 615c5e9..60177d7 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -24,7 +24,7 @@
   
 pinot-clients
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-java-client
diff --git a/pinot-clients/pom.xml b/pinot-clients/pom.xml
index e05e7ec..902f54f 100644
--- a/pinot-clients/pom.xml
+++ b/pinot-clients/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT
 ..
   
   pinot-clients
diff --git a/pinot-common/pom.xml b/pinot-common/pom.xml
index db2d28d..7f2a7fc 100644
--- a/pinot-common/pom.xml
+++ b/pinot-common/pom.xml
@@ -24,7 +24,7 @@
   
 pinot
 org.apache.pinot
-0.4.0
+0.5.0-SNAPSHOT

[incubator-pinot] 03/03: [maven-release-plugin] prepare release release-0.4.0-rc2

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit e425f5ae5a77955748cefcee94b92ebcbcd2559f
Author: Haibo Wang 
AuthorDate: Thu May 28 21:59:47 2020 -0700

[maven-release-plugin] prepare release release-0.4.0-rc2
---
 pinot-broker/pom.xml  | 5 ++---
 pinot-clients/pinot-java-client/pom.xml   | 5 ++---
 pinot-clients/pom.xml | 6 ++
 pinot-common/pom.xml  | 5 ++---
 pinot-controller/pom.xml  | 5 ++---
 pinot-core/pom.xml| 5 ++---
 pinot-distribution/pom.xml| 7 +++
 pinot-integration-tests/pom.xml   | 5 ++---
 pinot-minion/pom.xml  | 5 ++---
 pinot-perf/pom.xml| 5 ++---
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 6 ++
 .../pinot-batch-ingestion-standalone/pom.xml  | 6 ++
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 7 +++
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml   | 7 +++
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 6 ++
 pinot-plugins/pinot-file-system/pom.xml   | 6 ++
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 5 ++---
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 6 ++
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 6 ++
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 6 ++
 pinot-plugins/pom.xml | 8 +++-
 pinot-server/pom.xml  | 5 ++---
 pinot-spi/pom.xml | 5 ++---
 pinot-tools/pom.xml   | 5 ++---
 pom.xml   | 7 +++
 42 files changed, 89 insertions(+), 149 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index d9e48e1..2fd885d 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://www.w3.org/2001/XMLSchema-instance; 
xmlns="http://maven.apache.org/POM/4.0.0;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0
   
 pinot
 org.apache.pinot
-${revision}${sha1}
+0.4.0
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 6a98e3d..615c5e9 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi

[incubator-pinot] 01/03: Single Quote String Literal for function invoker results (#5456)

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit f26f19b674604dbd7afce9e81954198b245e4338
Author: Xiang Fu 
AuthorDate: Wed May 27 21:55:14 2020 -0700

Single Quote String Literal for function invoker results (#5456)
---
 .../org/apache/pinot/sql/parsers/CalciteSqlParser.java |  3 +++
 .../apache/pinot/sql/parsers/CalciteSqlCompilerTest.java   |  6 +++---
 .../integration/tests/OfflineClusterIntegrationTest.java   | 14 ++
 3 files changed, 20 insertions(+), 3 deletions(-)

diff --git 
a/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java 
b/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
index 45b3274..2aec8ec 100644
--- 
a/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
+++ 
b/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
@@ -676,6 +676,9 @@ public class CalciteSqlParser {
   try {
 FunctionInvoker invoker = new FunctionInvoker(functionInfo);
 Object result = invoker.process(arguments);
+if (result instanceof String) {
+  result = String.format("'%s'", result);
+}
 return RequestUtils.getLiteralExpression(result);
   } catch (Exception e) {
 throw new SqlCompilationException(new 
IllegalArgumentException("Unsupported function - " + funcName, e));
diff --git 
a/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
 
b/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
index ac0a5cf..aec7917 100644
--- 
a/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
+++ 
b/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
@@ -1534,7 +1534,7 @@ public class CalciteSqlCompilerTest {
 Function greaterThan = pinotQuery.getFilterExpression().getFunctionCall();
 String today = 
greaterThan.getOperands().get(1).getLiteral().getStringValue();
 String expectedTodayStr =
-
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z"));
+"'" + 
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z")) + "'";
 Assert.assertEquals(today, expectedTodayStr);
   }
 
@@ -1557,7 +1557,7 @@ public class CalciteSqlCompilerTest {
 Assert.assertTrue(expression.getLiteral() != null);
 String today = expression.getLiteral().getStringValue();
 String expectedTodayStr =
-
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z"));
+"'" + 
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z")) + "'";
 Assert.assertEquals(today, expectedTodayStr);
 expression = 
CalciteSqlParser.compileToExpression("toDateTime(playerName)");
 Assert.assertTrue(expression.getFunctionCall() != null);
@@ -1575,7 +1575,7 @@ public class CalciteSqlCompilerTest {
 Assert.assertTrue(expression.getFunctionCall() != null);
 expression = 
CalciteSqlParser.invokeCompileTimeFunctionExpression(expression);
 Assert.assertTrue(expression.getLiteral() != null);
-Assert.assertEquals(expression.getLiteral().getFieldValue(), "emaNreyalp");
+Assert.assertEquals(expression.getLiteral().getFieldValue(), 
"'emaNreyalp'");
 expression = CalciteSqlParser.compileToExpression("count(*)");
 Assert.assertTrue(expression.getFunctionCall() != null);
 expression = 
CalciteSqlParser.invokeCompileTimeFunctionExpression(expression);
diff --git 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
index f433a3e..223602c 100644
--- 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
+++ 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
@@ -24,6 +24,9 @@ import com.fasterxml.jackson.databind.node.ObjectNode;
 import com.google.common.collect.ImmutableList;
 import java.io.File;
 import java.io.IOException;
+import java.time.Instant;
+import java.time.ZoneId;
+import java.time.format.DateTimeFormatter;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collections;
@@ -309,6 +312,17 @@ public class OfflineClusterIntegrationTest extends 
BaseClusterIntegrationTestSet
   }
 
   @Test
+  public void testTimeFunc()
+  throws Exception {
+String sqlQuery = "SELECT toDateTime(now(), '-MM-dd z

[incubator-pinot] branch release-0.4.0-rc2 created (now e425f5a)

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at e425f5a  [maven-release-plugin] prepare release release-0.4.0-rc2

This branch includes the following new commits:

 new f26f19b  Single Quote String Literal for function invoker results 
(#5456)
 new 75f58bc  Update release note
 new e425f5a  [maven-release-plugin] prepare release release-0.4.0-rc2

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



[incubator-pinot] 02/03: Update release note

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 75f58bc279988d3818969bd9b8ce850b82202eaa
Author: Haibo Wang 
AuthorDate: Thu May 28 21:15:15 2020 -0700

Update release note
---
 LICENSE-binary | 155 ++---
 NOTICE-binary  |  53 +++-
 2 files changed, 157 insertions(+), 51 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index 5c0e3e4..04faf94 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -211,28 +211,32 @@ com.clearspring.analytics:stream:2.7.0
 com.fasterxml.jackson.core:jackson-annotations:2.9.8
 com.fasterxml.jackson.core:jackson-core:2.9.8
 com.fasterxml.jackson.core:jackson-databind:2.9.8
+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.8
 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.8
+com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.9.8
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.9.8
 com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.8
 com.fasterxml.jackson.module:jackson-module-paranamer:2.6.5
 com.fasterxml.jackson.module:jackson-module-scala_2.11:2.6.5
+com.fasterxml.woodstox:woodstox-core:5.0.3
 com.github.jnr:jffi:1.2.9
 com.github.jnr:jnr-constants:0.8.7
 com.github.jnr:jnr-ffi:2.0.3
+com.google.api-client:google-api-client
 com.google.api.grpc:proto-google-common-protos:1.17.0
 com.google.api.grpc:proto-google-iam-v1:0.13.0
 com.google.api:api-common:1.8.1
 com.google.api:gax:1.49.1
 com.google.api:gax-httpjson:0.66.1
-com.google.api:google-api-client:1.30.4
-com.google.api:google-api-services-storage:v1-rev20190910-1.30.3.jar
+com.google.apis:google-api-services-storage:v1-rev20190910-1.30.3
 com.google.auth:google-auth-library-credentials:0.18.0
 com.google.auth:google-auth-library-oauth2-http:0.18.0
 com.google.auto.value:auto-value-annotations:1.6.6
 com.google.cloud:google-cloud-core:1.91.3
 com.google.cloud:google-cloud-core-http:1.91.3
-com.google.cloud:google-cloud-storage:1.101.0
+com.google.cloud:google-cloud-nio:0.120.0-alpha
+com.google.cloud:google-cloud-storage:1.102.0
 com.google.code.findbugs:jsr305:3.0.0
 com.google.code.gson:gson:2.2.4
 com.google.errorprone:error_prone_annotations:2.3.2
@@ -240,21 +244,20 @@ com.google.guava:guava:20.0
 com.google.http-client:google-http-client-appengine:1.32.1
 com.google.http-client:google-http-client-jackson2:1.32.1
 com.google.http-client:google-http-client:1.32.1
-com.google.inject.extensions:guice-servlet:3.0
-com.google.inject:guice:3.0
 com.google.j2objc:j2objc-annotations:1.3
 com.google.oauth-client:google-oauth-client:1.30.3
 com.google.protobuf:protobuf-java-util:3.10.0
 com.google.protobuf:protobuf-java:2.5.0
 com.google.protobuf:protobuf-java:3.10.0
 com.jamesmurty.utils:java-xmlbuilder:0.4
+com.jamesmurty.utils:java-xmlbuilder:1.0
+com.jayway.jsonpath:json-path:2.4.0
 com.lmax:disruptor:3.3.4
 com.ning:async-http-client:1.9.21
 com.ning:compress-lzf:1.0.3
 com.tdunning:t-digest:3.2
-com.twitter:chill-java:0.8.0
-com.twitter:chill_2.11:0.8.0
-com.typesafe:config:1.3.2
+com.typesafe.netty:netty-reactive-streams-http:2.0.4
+com.typesafe.netty:netty-reactive-streams:2.0.4
 com.typesafe.scala-logging:scala-logging_2.11:3.9.0
 com.yammer.metrics:metrics-core:2.2.0
 commons-beanutils:commons-beanutils:1.8.3
@@ -271,15 +274,35 @@ commons-lang:commons-lang:2.6
 commons-logging:commons-logging:1.2
 commons-net:commons-net:3.1
 io.airlift:aircompressor:0.10
+io.confluent:common-config:5.3.1
+io.confluent:common-utils:5.3.1
+io.confluent:kafka-avro-serializer:5.3.1
+io.confluent:kafka-schema-registry-client:5.3.1
 io.dropwizard.metrics:metrics-core:3.2.3
-io.dropwizard.metrics:metrics-graphite:3.1.2
-io.dropwizard.metrics:metrics-json:3.1.2
-io.dropwizard.metrics:metrics-jvm:3.1.2
+io.dropwizard.metrics:metrics-graphite:3.2.3
+io.dropwizard.metrics:metrics-json:3.2.3
+io.dropwizard.metrics:metrics-jvm:3.2.3
 io.grpc:grpc-context:1.22.1
+io.netty:netty-all:4.1.42.Final
+io.netty:netty-buffer:4.1.42.Final
+io.netty:netty-codec-http2:4.1.42.Final
+io.netty:netty-codec-http:4.1.42.Final
+io.netty:netty-codec-socks:4.1.42.Final
+io.netty:netty-codec:4.1.42.Final
+io.netty:netty-common:4.1.42.Final
+io.netty:netty-handler-proxy:4.1.42.Final
+io.netty:netty-handler:4.1.42.Final
+io.netty:netty-resolver:4.1.42.Final
+io.netty:netty-tcnative-boringssl-static:2.0.26.Final
+io.netty:netty-transport-native-epoll:linux-x86_64:4.1.42.Final
+io.netty:netty-transport-native-unix-common:4.1.42.Final
+io.netty:netty-transport:4.1.42.Final
 io.netty:netty:3.9.6.Final
-io.netty:netty-all:4.1.28.Final
 io.opencensus:opencensus-api:0.24.0
 io.opencensus:opencensus-contrib-http-util:0.24.0
+io.projectreactor.addons:reactor-pool:0.1.0.RELEASE
+io.projectreactor.netty:reactor-netty:0.9.0.RELEASE

[incubator-pinot] 02/02: [maven-release-plugin] prepare release release-0.4.0-rc2

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit b359badceadcfcb3e27634a5ed2e2af6eff8e610
Author: Haibo Wang 
AuthorDate: Thu May 28 20:48:59 2020 -0700

[maven-release-plugin] prepare release release-0.4.0-rc2
---
 pinot-broker/pom.xml  | 5 ++---
 pinot-clients/pinot-java-client/pom.xml   | 5 ++---
 pinot-clients/pom.xml | 6 ++
 pinot-common/pom.xml  | 5 ++---
 pinot-controller/pom.xml  | 5 ++---
 pinot-core/pom.xml| 5 ++---
 pinot-distribution/pom.xml| 7 +++
 pinot-integration-tests/pom.xml   | 5 ++---
 pinot-minion/pom.xml  | 5 ++---
 pinot-perf/pom.xml| 5 ++---
 .../pinot-batch-ingestion/pinot-batch-ingestion-common/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-hadoop/pom.xml| 6 ++
 .../pinot-batch-ingestion/pinot-batch-ingestion-spark/pom.xml | 6 ++
 .../pinot-batch-ingestion-standalone/pom.xml  | 6 ++
 pinot-plugins/pinot-batch-ingestion/pom.xml   | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-hadoop/pom.xml  | 7 +++
 .../v0_deprecated/pinot-ingestion-common/pom.xml  | 6 ++
 .../pinot-batch-ingestion/v0_deprecated/pinot-spark/pom.xml   | 7 +++
 pinot-plugins/pinot-batch-ingestion/v0_deprecated/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-adls/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-gcs/pom.xml | 6 ++
 pinot-plugins/pinot-file-system/pinot-hdfs/pom.xml| 5 ++---
 pinot-plugins/pinot-file-system/pinot-s3/pom.xml  | 6 ++
 pinot-plugins/pinot-file-system/pom.xml   | 6 ++
 pinot-plugins/pinot-input-format/pinot-avro-base/pom.xml  | 5 ++---
 pinot-plugins/pinot-input-format/pinot-avro/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-confluent-avro/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pinot-csv/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-json/pom.xml   | 5 ++---
 pinot-plugins/pinot-input-format/pinot-orc/pom.xml| 6 ++
 pinot-plugins/pinot-input-format/pinot-parquet/pom.xml| 5 ++---
 pinot-plugins/pinot-input-format/pinot-thrift/pom.xml | 5 ++---
 pinot-plugins/pinot-input-format/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-0.9/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-2.0/pom.xml  | 6 ++
 pinot-plugins/pinot-stream-ingestion/pinot-kafka-base/pom.xml | 6 ++
 pinot-plugins/pinot-stream-ingestion/pom.xml  | 6 ++
 pinot-plugins/pom.xml | 8 +++-
 pinot-server/pom.xml  | 5 ++---
 pinot-spi/pom.xml | 5 ++---
 pinot-tools/pom.xml   | 5 ++---
 pom.xml   | 7 +++
 42 files changed, 89 insertions(+), 149 deletions(-)

diff --git a/pinot-broker/pom.xml b/pinot-broker/pom.xml
index d9e48e1..2fd885d 100644
--- a/pinot-broker/pom.xml
+++ b/pinot-broker/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://www.w3.org/2001/XMLSchema-instance; 
xmlns="http://maven.apache.org/POM/4.0.0;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
   4.0.0
   
 pinot
 org.apache.pinot
-${revision}${sha1}
+0.4.0
 ..
   
   pinot-broker
diff --git a/pinot-clients/pinot-java-client/pom.xml 
b/pinot-clients/pinot-java-client/pom.xml
index 6a98e3d..615c5e9 100644
--- a/pinot-clients/pinot-java-client/pom.xml
+++ b/pinot-clients/pinot-java-client/pom.xml
@@ -19,13 +19,12 @@
 under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi

[incubator-pinot] branch release-0.4.0-rc2 created (now b359bad)

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at b359bad  [maven-release-plugin] prepare release release-0.4.0-rc2

This branch includes the following new commits:

 new f26f19b  Single Quote String Literal for function invoker results 
(#5456)
 new b359bad  [maven-release-plugin] prepare release release-0.4.0-rc2

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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



[incubator-pinot] 01/02: Single Quote String Literal for function invoker results (#5456)

2020-05-28 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit f26f19b674604dbd7afce9e81954198b245e4338
Author: Xiang Fu 
AuthorDate: Wed May 27 21:55:14 2020 -0700

Single Quote String Literal for function invoker results (#5456)
---
 .../org/apache/pinot/sql/parsers/CalciteSqlParser.java |  3 +++
 .../apache/pinot/sql/parsers/CalciteSqlCompilerTest.java   |  6 +++---
 .../integration/tests/OfflineClusterIntegrationTest.java   | 14 ++
 3 files changed, 20 insertions(+), 3 deletions(-)

diff --git 
a/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java 
b/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
index 45b3274..2aec8ec 100644
--- 
a/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
+++ 
b/pinot-common/src/main/java/org/apache/pinot/sql/parsers/CalciteSqlParser.java
@@ -676,6 +676,9 @@ public class CalciteSqlParser {
   try {
 FunctionInvoker invoker = new FunctionInvoker(functionInfo);
 Object result = invoker.process(arguments);
+if (result instanceof String) {
+  result = String.format("'%s'", result);
+}
 return RequestUtils.getLiteralExpression(result);
   } catch (Exception e) {
 throw new SqlCompilationException(new 
IllegalArgumentException("Unsupported function - " + funcName, e));
diff --git 
a/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
 
b/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
index ac0a5cf..aec7917 100644
--- 
a/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
+++ 
b/pinot-common/src/test/java/org/apache/pinot/sql/parsers/CalciteSqlCompilerTest.java
@@ -1534,7 +1534,7 @@ public class CalciteSqlCompilerTest {
 Function greaterThan = pinotQuery.getFilterExpression().getFunctionCall();
 String today = 
greaterThan.getOperands().get(1).getLiteral().getStringValue();
 String expectedTodayStr =
-
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z"));
+"'" + 
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z")) + "'";
 Assert.assertEquals(today, expectedTodayStr);
   }
 
@@ -1557,7 +1557,7 @@ public class CalciteSqlCompilerTest {
 Assert.assertTrue(expression.getLiteral() != null);
 String today = expression.getLiteral().getStringValue();
 String expectedTodayStr =
-
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z"));
+"'" + 
Instant.now().atZone(ZoneId.of("UTC")).format(DateTimeFormatter.ofPattern("-MM-dd
 z")) + "'";
 Assert.assertEquals(today, expectedTodayStr);
 expression = 
CalciteSqlParser.compileToExpression("toDateTime(playerName)");
 Assert.assertTrue(expression.getFunctionCall() != null);
@@ -1575,7 +1575,7 @@ public class CalciteSqlCompilerTest {
 Assert.assertTrue(expression.getFunctionCall() != null);
 expression = 
CalciteSqlParser.invokeCompileTimeFunctionExpression(expression);
 Assert.assertTrue(expression.getLiteral() != null);
-Assert.assertEquals(expression.getLiteral().getFieldValue(), "emaNreyalp");
+Assert.assertEquals(expression.getLiteral().getFieldValue(), 
"'emaNreyalp'");
 expression = CalciteSqlParser.compileToExpression("count(*)");
 Assert.assertTrue(expression.getFunctionCall() != null);
 expression = 
CalciteSqlParser.invokeCompileTimeFunctionExpression(expression);
diff --git 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
index f433a3e..223602c 100644
--- 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
+++ 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/OfflineClusterIntegrationTest.java
@@ -24,6 +24,9 @@ import com.fasterxml.jackson.databind.node.ObjectNode;
 import com.google.common.collect.ImmutableList;
 import java.io.File;
 import java.io.IOException;
+import java.time.Instant;
+import java.time.ZoneId;
+import java.time.format.DateTimeFormatter;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collections;
@@ -309,6 +312,17 @@ public class OfflineClusterIntegrationTest extends 
BaseClusterIntegrationTestSet
   }
 
   @Test
+  public void testTimeFunc()
+  throws Exception {
+String sqlQuery = "SELECT toDateTime(now(), '-MM-dd z

[incubator-pinot] tag release-0.4.0 created (now 3f81191)

2020-05-27 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to tag release-0.4.0
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at 3f81191  (commit)
No new revisions were added by this update.


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



[incubator-pinot] 01/01: Prepare release-0.4.0-rc1

2020-05-25 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc1
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 3800ca82149c337e69cff602e5c2666fce2f9a74
Author: Haibo Wang 
AuthorDate: Mon May 25 17:39:53 2020 -0700

Prepare release-0.4.0-rc1
---
 LICENSE-binary | 154 ++---
 NOTICE-binary  |  52 ++-
 2 files changed, 155 insertions(+), 51 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index 5c0e3e4..b537893 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -211,28 +211,32 @@ com.clearspring.analytics:stream:2.7.0
 com.fasterxml.jackson.core:jackson-annotations:2.9.8
 com.fasterxml.jackson.core:jackson-core:2.9.8
 com.fasterxml.jackson.core:jackson-databind:2.9.8
+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.8
 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.8
+com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.9.8
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.9.8
 com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.8
 com.fasterxml.jackson.module:jackson-module-paranamer:2.6.5
 com.fasterxml.jackson.module:jackson-module-scala_2.11:2.6.5
+com.fasterxml.woodstox:woodstox-core:5.0.3
 com.github.jnr:jffi:1.2.9
 com.github.jnr:jnr-constants:0.8.7
 com.github.jnr:jnr-ffi:2.0.3
+com.google.api-client:google-api-client
 com.google.api.grpc:proto-google-common-protos:1.17.0
 com.google.api.grpc:proto-google-iam-v1:0.13.0
 com.google.api:api-common:1.8.1
 com.google.api:gax:1.49.1
 com.google.api:gax-httpjson:0.66.1
-com.google.api:google-api-client:1.30.4
-com.google.api:google-api-services-storage:v1-rev20190910-1.30.3.jar
+com.google.apis:google-api-services-storage:v1-rev20190910-1.30.3
 com.google.auth:google-auth-library-credentials:0.18.0
 com.google.auth:google-auth-library-oauth2-http:0.18.0
 com.google.auto.value:auto-value-annotations:1.6.6
 com.google.cloud:google-cloud-core:1.91.3
 com.google.cloud:google-cloud-core-http:1.91.3
-com.google.cloud:google-cloud-storage:1.101.0
+com.google.cloud:google-cloud-nio:0.120.0-alpha
+com.google.cloud:google-cloud-storage:1.102.0
 com.google.code.findbugs:jsr305:3.0.0
 com.google.code.gson:gson:2.2.4
 com.google.errorprone:error_prone_annotations:2.3.2
@@ -240,21 +244,20 @@ com.google.guava:guava:20.0
 com.google.http-client:google-http-client-appengine:1.32.1
 com.google.http-client:google-http-client-jackson2:1.32.1
 com.google.http-client:google-http-client:1.32.1
-com.google.inject.extensions:guice-servlet:3.0
-com.google.inject:guice:3.0
 com.google.j2objc:j2objc-annotations:1.3
 com.google.oauth-client:google-oauth-client:1.30.3
 com.google.protobuf:protobuf-java-util:3.10.0
 com.google.protobuf:protobuf-java:2.5.0
 com.google.protobuf:protobuf-java:3.10.0
 com.jamesmurty.utils:java-xmlbuilder:0.4
+com.jamesmurty.utils:java-xmlbuilder:1.0
+com.jayway.jsonpath:json-path:2.4.0
 com.lmax:disruptor:3.3.4
 com.ning:async-http-client:1.9.21
 com.ning:compress-lzf:1.0.3
 com.tdunning:t-digest:3.2
-com.twitter:chill-java:0.8.0
-com.twitter:chill_2.11:0.8.0
-com.typesafe:config:1.3.2
+com.typesafe.netty:netty-reactive-streams-http:2.0.4
+com.typesafe.netty:netty-reactive-streams:2.0.4
 com.typesafe.scala-logging:scala-logging_2.11:3.9.0
 com.yammer.metrics:metrics-core:2.2.0
 commons-beanutils:commons-beanutils:1.8.3
@@ -271,15 +274,35 @@ commons-lang:commons-lang:2.6
 commons-logging:commons-logging:1.2
 commons-net:commons-net:3.1
 io.airlift:aircompressor:0.10
+io.confluent:common-config:5.3.1
+io.confluent:common-utils:5.3.1
+io.confluent:kafka-avro-serializer:5.3.1
+io.confluent:kafka-schema-registry-client:5.3.1
 io.dropwizard.metrics:metrics-core:3.2.3
-io.dropwizard.metrics:metrics-graphite:3.1.2
-io.dropwizard.metrics:metrics-json:3.1.2
-io.dropwizard.metrics:metrics-jvm:3.1.2
+io.dropwizard.metrics:metrics-graphite:3.2.3
+io.dropwizard.metrics:metrics-json:3.2.3
+io.dropwizard.metrics:metrics-jvm:3.2.3
 io.grpc:grpc-context:1.22.1
+io.netty:netty-all:4.1.42.Final
+io.netty:netty-buffer:4.1.42.Final
+io.netty:netty-codec-http2:4.1.42.Final
+io.netty:netty-codec-http:4.1.42.Final
+io.netty:netty-codec-socks:4.1.42.Final
+io.netty:netty-codec:4.1.42.Final
+io.netty:netty-common:4.1.42.Final
+io.netty:netty-handler-proxy:4.1.42.Final
+io.netty:netty-handler:4.1.42.Final
+io.netty:netty-resolver:4.1.42.Final
+io.netty:netty-tcnative-boringssl-static:2.0.26.Final
+io.netty:netty-transport-native-epoll:linux-x86_64:4.1.42.Final
+io.netty:netty-transport-native-unix-common:4.1.42.Final
+io.netty:netty-transport:4.1.42.Final
 io.netty:netty:3.9.6.Final
-io.netty:netty-all:4.1.28.Final
 io.opencensus:opencensus-api:0.24.0
 io.opencensus:opencensus-contrib-http-util:0.24.0
+io.projectreactor.addons:reactor-pool:0.1.0.RELEASE
+io.projectreactor.netty:reactor-netty:0.9.0.RELEASE

[incubator-pinot] branch release-0.4.0-rc1 updated (88f41ea -> 3800ca8)

2020-05-25 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc1
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


 discard 88f41ea  WIP
 new 3800ca8  Prepare release-0.4.0-rc1

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (88f41ea)
\
 N -- N -- N   refs/heads/release-0.4.0-rc1 (3800ca8)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 licenses-binary/LICENSE-gpl-2.0.txt | 125 
 1 file changed, 125 deletions(-)
 delete mode 100644 licenses-binary/LICENSE-gpl-2.0.txt


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



[incubator-pinot] branch release-0.4.0-rc1 updated: WIP

2020-05-25 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a commit to branch release-0.4.0-rc1
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/release-0.4.0-rc1 by this push:
 new 88f41ea  WIP
88f41ea is described below

commit 88f41ea971258a11b437d75e248fc84140cb150f
Author: haibow 
AuthorDate: Mon May 25 16:23:33 2020 -0700

WIP
---
 LICENSE-binary  | 154 
 NOTICE-binary   |  52 +++-
 licenses-binary/LICENSE-gpl-2.0.txt | 125 +
 3 files changed, 280 insertions(+), 51 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index 5c0e3e4..b537893 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -211,28 +211,32 @@ com.clearspring.analytics:stream:2.7.0
 com.fasterxml.jackson.core:jackson-annotations:2.9.8
 com.fasterxml.jackson.core:jackson-core:2.9.8
 com.fasterxml.jackson.core:jackson-databind:2.9.8
+com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.8
 com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.8
+com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.0
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:2.9.8
 com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.9.8
 com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.8
 com.fasterxml.jackson.module:jackson-module-paranamer:2.6.5
 com.fasterxml.jackson.module:jackson-module-scala_2.11:2.6.5
+com.fasterxml.woodstox:woodstox-core:5.0.3
 com.github.jnr:jffi:1.2.9
 com.github.jnr:jnr-constants:0.8.7
 com.github.jnr:jnr-ffi:2.0.3
+com.google.api-client:google-api-client
 com.google.api.grpc:proto-google-common-protos:1.17.0
 com.google.api.grpc:proto-google-iam-v1:0.13.0
 com.google.api:api-common:1.8.1
 com.google.api:gax:1.49.1
 com.google.api:gax-httpjson:0.66.1
-com.google.api:google-api-client:1.30.4
-com.google.api:google-api-services-storage:v1-rev20190910-1.30.3.jar
+com.google.apis:google-api-services-storage:v1-rev20190910-1.30.3
 com.google.auth:google-auth-library-credentials:0.18.0
 com.google.auth:google-auth-library-oauth2-http:0.18.0
 com.google.auto.value:auto-value-annotations:1.6.6
 com.google.cloud:google-cloud-core:1.91.3
 com.google.cloud:google-cloud-core-http:1.91.3
-com.google.cloud:google-cloud-storage:1.101.0
+com.google.cloud:google-cloud-nio:0.120.0-alpha
+com.google.cloud:google-cloud-storage:1.102.0
 com.google.code.findbugs:jsr305:3.0.0
 com.google.code.gson:gson:2.2.4
 com.google.errorprone:error_prone_annotations:2.3.2
@@ -240,21 +244,20 @@ com.google.guava:guava:20.0
 com.google.http-client:google-http-client-appengine:1.32.1
 com.google.http-client:google-http-client-jackson2:1.32.1
 com.google.http-client:google-http-client:1.32.1
-com.google.inject.extensions:guice-servlet:3.0
-com.google.inject:guice:3.0
 com.google.j2objc:j2objc-annotations:1.3
 com.google.oauth-client:google-oauth-client:1.30.3
 com.google.protobuf:protobuf-java-util:3.10.0
 com.google.protobuf:protobuf-java:2.5.0
 com.google.protobuf:protobuf-java:3.10.0
 com.jamesmurty.utils:java-xmlbuilder:0.4
+com.jamesmurty.utils:java-xmlbuilder:1.0
+com.jayway.jsonpath:json-path:2.4.0
 com.lmax:disruptor:3.3.4
 com.ning:async-http-client:1.9.21
 com.ning:compress-lzf:1.0.3
 com.tdunning:t-digest:3.2
-com.twitter:chill-java:0.8.0
-com.twitter:chill_2.11:0.8.0
-com.typesafe:config:1.3.2
+com.typesafe.netty:netty-reactive-streams-http:2.0.4
+com.typesafe.netty:netty-reactive-streams:2.0.4
 com.typesafe.scala-logging:scala-logging_2.11:3.9.0
 com.yammer.metrics:metrics-core:2.2.0
 commons-beanutils:commons-beanutils:1.8.3
@@ -271,15 +274,35 @@ commons-lang:commons-lang:2.6
 commons-logging:commons-logging:1.2
 commons-net:commons-net:3.1
 io.airlift:aircompressor:0.10
+io.confluent:common-config:5.3.1
+io.confluent:common-utils:5.3.1
+io.confluent:kafka-avro-serializer:5.3.1
+io.confluent:kafka-schema-registry-client:5.3.1
 io.dropwizard.metrics:metrics-core:3.2.3
-io.dropwizard.metrics:metrics-graphite:3.1.2
-io.dropwizard.metrics:metrics-json:3.1.2
-io.dropwizard.metrics:metrics-jvm:3.1.2
+io.dropwizard.metrics:metrics-graphite:3.2.3
+io.dropwizard.metrics:metrics-json:3.2.3
+io.dropwizard.metrics:metrics-jvm:3.2.3
 io.grpc:grpc-context:1.22.1
+io.netty:netty-all:4.1.42.Final
+io.netty:netty-buffer:4.1.42.Final
+io.netty:netty-codec-http2:4.1.42.Final
+io.netty:netty-codec-http:4.1.42.Final
+io.netty:netty-codec-socks:4.1.42.Final
+io.netty:netty-codec:4.1.42.Final
+io.netty:netty-common:4.1.42.Final
+io.netty:netty-handler-proxy:4.1.42.Final
+io.netty:netty-handler:4.1.42.Final
+io.netty:netty-resolver:4.1.42.Final
+io.netty:netty-tcnative-boringssl-static:2.0.26.Final
+io.netty:netty-transport-native-epoll:linux-x86_64:4.1.42.Final
+io.netty:netty-transport-native-unix-common:4.1.42.Final
+io.netty:netty-transport:4.1.42.Final
 io.netty:netty:3.9.6.Final
-io.netty:netty-all:4.1.28.Final

[incubator-pinot] branch release-0.4.0-rc1 updated (d562e42 -> 5e49f27)

2020-05-25 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc1
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


from d562e42  Templatizing pinot helm chart configs, so it's possible to 
deploy multiple pinot helmCharts with different names in same namespace (#5433)
 add 5e49f27  Make Compilation time function evaluation after query parser 
(#5437)

No new revisions were added by this update.

Summary of changes:
 .../pinot/common/function/FunctionRegistry.java|  2 +
 .../pinot/common/function/StringFunctions.java | 16 ++--
 .../apache/pinot/sql/parsers/CalciteSqlParser.java | 92 +-
 .../pinot/sql/parsers/CalciteSqlCompilerTest.java  | 49 +++-
 4 files changed, 114 insertions(+), 45 deletions(-)
 copy 
pinot-controller/src/main/java/org/apache/pinot/controller/helix/starter/HelixConfig.java
 => 
pinot-common/src/main/java/org/apache/pinot/common/function/StringFunctions.java
 (77%)


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



[incubator-pinot] branch release-0.4.0-rc1 created (now d562e42)

2020-05-23 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch release-0.4.0-rc1
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


  at d562e42  Templatizing pinot helm chart configs, so it's possible to 
deploy multiple pinot helmCharts with different names in same namespace (#5433)

No new revisions were added by this update.


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



[incubator-pinot] branch master updated: Pinot website: fixing break links and updating installation guide (#5431)

2020-05-22 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new f35583f  Pinot website: fixing break links and updating installation 
guide (#5431)
f35583f is described below

commit f35583f794f9f65778b5d2bb4740f6d41b009bab
Author: Xiang Fu 
AuthorDate: Fri May 22 20:05:56 2020 -0700

Pinot website: fixing break links and updating installation guide (#5431)
---
 website/docusaurus.config.js |  6 +++---
 website/src/pages/index.js   | 26 +++---
 2 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index ae0fc2d..5ab8938 100755
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -62,10 +62,10 @@ module.exports = {
 },
 {
   label: 'Architecture',
-  to: 'https://docs.pinot.apache.org/concepts/architecture',
+  to: 'https://docs.pinot.apache.org/basics/architecture',
 },
 {
-  label: 'PluginsArchitecture',
+  label: 'Plugins Architecture',
   to: 'https://docs.pinot.apache.org/plugins/plugin-architecture',
 },
   ],
@@ -100,7 +100,7 @@ module.exports = {
 },
 {
   label: 'User Guide',
-  to: 'https://docs.pinot.apache.org/pinot-user-guide',
+  to: 'https://docs.pinot.apache.org/users',
 },
 {
   label: 'Administration',
diff --git a/website/src/pages/index.js b/website/src/pages/index.js
index 21056e8..7ad4752 100755
--- a/website/src/pages/index.js
+++ b/website/src/pages/index.js
@@ -212,20 +212,32 @@ function Installation() {
 
  For 
Humans, value: 'humans', },
-{ label: <> For Machines, 
value: 'machines', },
+{ label: <> Using 
Helm, value: 'helm', },
+{ label: <> Using 
Binary, value: 'binary', },
+{ label: <> Build From 
Source, value: 'github', },
   ]
 }>
-  
+  
 
-  wget 
https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.3.0/apache-pinot-incubating-0.3.0-bin.tar.gz
+  {
+`helm repo add pinot 
https://raw.githubusercontent.com/apache/incubator-pinot/master/kubernetes/helm\nkubectl
 create ns pinot\nhelm install pinot pinot/pinot -n pinot --set 
cluster.name=pinot`
+  }
 
   
-  
+  
 
-wget 
https://www.apache.org/dyn/closer.lua/incubator/pinot/apache-pinot-incubating-0.3.0/apache-pinot-incubating-0.3.0-src.tar.gz
 -y
+  {
+`VERSION=0.3.0\nwget 
https://downloads.apache.org/incubator/pinot/apache-pinot-incubating-$VERSION/apache-pinot-incubating-$VERSION-bin.tar.gz\ntar
 vxf apache-pinot-incubating-*-bin.tar.gz\ncd 
apache-pinot-incubating-*-bin\nbin/quick-start-batch.sh`
+  }
+
+  
+  
+
+  {
+`# Clone a repo\ngit clone 
https://github.com/apache/incubator-pinot.git\ncd incubator-pinot\n\n# Build 
Pinot\nmvn clean install -DskipTests -Pbin-dist\n\n# Run the Quick Demo\ncd 
pinot-distribution/target/apache-pinot-incubating-*-SNAPSHOT-bin/apache-pinot-incubating-*-SNAPSHOT-bin\nbin/quick-start-batch.sh`
+  }
 
   
 


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



[incubator-pinot] branch master updated (598c12b -> 6d3fbbe)

2020-05-21 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

haibow pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


from 598c12b  [TE] Added generic support for configuring Data Quality rules 
like SLA from Yaml (#5398)
 add 6d3fbbe  Fix website public cloud quickstart deadlink (#5429)

No new revisions were added by this update.

Summary of changes:
 website/src/pages/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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



svn commit: r39703 - /release/incubator/pinot/KEYS

2020-05-19 Thread haibow
Author: haibow
Date: Wed May 20 05:58:51 2020
New Revision: 39703

Log:
Update Pinot KEYS file for 

Modified:
release/incubator/pinot/KEYS

Modified: release/incubator/pinot/KEYS
==
--- release/incubator/pinot/KEYS (original)
+++ release/incubator/pinot/KEYS Wed May 20 05:58:51 2020
@@ -151,6 +151,13 @@ pQr/LuUeO9mT3XKUlwC6LNLN0iwvVtELloJzzaPa
 KMByjxyL1Co5Oyyh8hUvxvutnzPycf/8yg+fp+dEIRD+4P4vHka23KQ=
 =7uzM
 -END PGP PUBLIC KEY BLOCK-
+pub   rsa4096 2020-05-20 [SC]
+  C87E714FDE9677D3251C7A796CC169A6FC19C470
+uid   [ultimate] Haibo Wang 
+sig 36CC169A6FC19C470 2020-05-20  Haibo Wang 
+sub   rsa4096 2020-05-20 [E]
+sig  6CC169A6FC19C470 2020-05-20  Haibo Wang 
+
 -BEGIN PGP PUBLIC KEY BLOCK-
 
 mQINBF7EwW4BEACzIEOlcwKLhiscbcauwahsuopCt4MhIIoHft+PB/v6HKyemJYJ



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



svn commit: r39702 - /release/incubator/pinot/KEYS

2020-05-19 Thread haibow
Author: haibow
Date: Wed May 20 05:41:02 2020
New Revision: 39702

Log:
Update Pinot KEYS file for 

Modified:
release/incubator/pinot/KEYS

Modified: release/incubator/pinot/KEYS
==
--- release/incubator/pinot/KEYS (original)
+++ release/incubator/pinot/KEYS Wed May 20 05:41:02 2020
@@ -151,3 +151,54 @@ pQr/LuUeO9mT3XKUlwC6LNLN0iwvVtELloJzzaPa
 KMByjxyL1Co5Oyyh8hUvxvutnzPycf/8yg+fp+dEIRD+4P4vHka23KQ=
 =7uzM
 -END PGP PUBLIC KEY BLOCK-
+-BEGIN PGP PUBLIC KEY BLOCK-
+
+mQINBF7EwW4BEACzIEOlcwKLhiscbcauwahsuopCt4MhIIoHft+PB/v6HKyemJYJ
+nlR8aRsaKuNLkISB6Ih9GTQmBLWyjbVJ1v9M9YWIJNhX4/ph9FHl2JflvgTiZ21u
+VH6Pft82GFRf8wkAxPrhz2uc0+bsQmSD24jrSbyHw4USmH4d+hs0UxvXE4KCpYcO
+O96XV+LfrBAFDTOCMs3CdP9Z3rHQOgkquFEL5cUad/6Oe1+wu11G5+Y9AkJ/qAkR
+gSwK9pNgm00tJ0NGJ3RXEaQg1f9o4s/Rgh63a5Xe9HIQFhWJKHsoQHHnI4ADva7s
+5S5rM2epnghFSSZozOhgnjlTXzfNzyUyUjvXrekfGjRm8S7Kla1+JG33KOAQflEK
+ofMBPqzrgGrultomBjM/gx4qmCIvvwU4h7gorIZoznucxaN21RjNQv3qvaZk4X/G
+4jsmp6opRTmE1uhQQhmI8tDnW5Ll6njs5KxjKGMnlOs41Eb+gbAZrGlnONHFeg2K
+f4s6PqhCizsy1UuJa/W+DOg6gTErm3zR2gvLnojcL3s5NKfk4JdWog/pXuFcAQgq
+vZGs13V86Gv05YY9/+H+gPiP4Vy4crgzZw1wTljLH+ln7DyM+7W6a8yS89ipxkUH
+zhqh69b3zXZ7mEdjq5mdNDPr6pmAGsMR6gT8uPIWx+MY2l6Q9CvIJP3NZwARAQAB
+tB5IYWlibyBXYW5nIDxoYWlib3dAYXBhY2hlLm9yZz6JAk4EEwEIADgWIQTIfnFP
+3pZ30yUcenlswWmm/BnEcAUCXsTBbgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIX
+gAAKCRBswWmm/BnEcNTBD/4kTtceuPld6UxPbGFPSB99gxEHb3jorprgS7+TZiIJ
++C8xvi5W/yGSmDUbtzIfSmOyFHtkd6yA4fumA9fv18Y6lCVpjt7fphks/0S9Hylh
+trt6CjVXiQ+rw3kMGsxiyL52E3CRCa+em5ty62AQfOxK/0dyaN6tIg1LYm4+GHkX
+IZjB6YRq+9KU9gHQLhi7yno965kYSoSL+xGzyj5240K3+uKoM72yoLar92kGf2rW
+0r2xuLw8CUnQ+zjUGf7te1bWvXPldXJH3gvfJ5soV0PwM7nxLvBpfdeyI/CAYEOS
+uMjQBQgN6E7uC0Ka3Gd5YMrPNWQ11ETLfs055ZestQY4DhfSnIaQd/aieRxcVC/a
+tRstvJVQ8NxCRf5hGLUgg4De8VuDz7fwOBxVVEkIdGnbjdUeRr9l41ZWCrtDhRcB
+Rdu6Qpm32fBtv6e5c5L498RnaoeMK10CoAX78LGDQM+i+deVqTGe+2K+6Orwuj2B
+D7T6h/82JvGB7r8qyO2HAs3Q7hRkCgTfnVVGGEB9/iNVwWMRMpKh7+E37XmXGFOE
+1NUn0v4tml96VgVgrRo64pE6427Nt/NrXfIcQ0aFB5u5rODQ4UgsexMreS0Bnkab
+fE3a0iLl6OCLYZVnafOXP1jse2IHwrM604lU+cOrD4Ez7rv3A8Lfgdsuf/fu41V5
+CbkCDQRexMFuARAA3ciy8gKzuhL98nEL49nQUDk9Z5bsqTkE86Gqt/ijMBw0+sTh
+brBM4QqRp0x6suJQtYz+a3ao5ZZtWuHb2uNkHlDlzMfJAx7q1F1irNIGE8oBGUnE
+OZZxtAfSuRmCtk7fii45tqWRgzeBwasftwDUkilYhV1uWbM07zTrvOsmi+CstzXQ
+PNTjMlMzwD8CK6IppaKzdMN6ng2Vn95lLQqDagN4cPaRrblLNfMIeodMXFtKGTYl
+ldGF9+5xcbfPcmYjSpHH3s4IRwZHOf86Xc3fOlBZD+Be/7A5EDxs6bNulKKmizZ5
+5uRNsx6UNzqVkIqWsMQ4EpyLd7K9yPsMVoR7vUReqvMJ6JX4NhQ0cPj/SDOpgeqS
+u3rVub3eB+l4M/GlJNnhEzuuJP31s/1VZSgrzZEUdmAEOIkQj+buZozn2ZyFqCHl
+jTSoChtHA5w2rLW0z++apzCk4vwmevOb8p+Lh0OaYVn5EU0o/TXqsPlO1tc8I7Jm
+UxVsb86lgB1zt4QvqVp1rDuGdxHpct5hlZu/FKQFmfcy3XyTT7zkMQsIv9Hs3vr3
+nbUg6mHVuHlS0DYyaN3mC5y5Cut65CT4cWhum1esK6rsORUU1MOHHSKgHypJ41Hr
+FetLEDKMZEAJgA9Or5wRQTG0GhaMRxkbcjB/UwOwPK9dL/zc3+RZQ6ABms0AEQEA
+AYkCNgQYAQgAIBYhBMh+cU/elnfTJRx6eWzBaab8GcRwBQJexMFuAhsMAAoJEGzB
+aab8GcRw5iYP/AtjSiqeSrecvFri9NIODJjKdkbPEXfa6e1yeaVqbnKcGTXO2i7N
+mPlpRN2073Gw2MEEK+BBBXbnKm0ifismSsK2C3uIquvmK0XIS6uBMeJ3Ez6gXVMq
+WJcpmr3xZsi35sTub4bdbLvvob4+1rgFL/ahwBRunH51mD22SzehCn3MzwC7JZx9
+WvSLgz+45cuEqqvY6hZgtUCMlNnCuJ8wmcjCbSKu6am8gxG6+EZveYlvbBp2mKqu
+GCwds91FD7xE0IgLg502pGgg8y+J+BFP97iwnfZvCJPMlhlVPVkylCObmQbVBsrC
+Vii9EggD3VpoubNXaM7seVq/HIhsSa8gRA9cbNv/bfgWIcRGHOOyKRQAYd4a012j
+PSKKxuJQ8zPA65RkwzcjAxX0Ro9E2NshyZStX9efQyMv1hT9S7md/xX4zJl5ibhb
+xpQFaZc3LUs9kPBE1GObA0ylhUuL+ezGfdi1x/ZZ3M4eIfoG7XqH8hnVFU5myVvi
+PUoLFxHce371F0nfVIz52y95IOcqAkB+4bgvCTWFcg3UtBlsndTJhWjynVSweKG9
+xdent6ZIQzBmqeejdIlGIwuWqxB941Uzb69LP2IjPc7xA2DeBCe4SgqwfShPyBHW
+Edvmz/a9C7gikQzk1Q/R8qR/S+iQmNBC0tj1aWt8lTGeS7jtZrW0Gxfn
+=jvvz
+-END PGP PUBLIC KEY BLOCK-



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



[incubator-pinot] branch master updated: Remove timeFieldSpec getter from HybridClusterIntegrationTestRunner (#5397)

2020-05-15 Thread haibow
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 5dfefe7  Remove timeFieldSpec getter from 
HybridClusterIntegrationTestRunner (#5397)
5dfefe7 is described below

commit 5dfefe71210d1f799cd9d38dd9b7742635716612
Author: Neha Pawar 
AuthorDate: Fri May 15 20:24:19 2020 -0700

Remove timeFieldSpec getter from HybridClusterIntegrationTestRunner (#5397)
---
 .../tests/HybridClusterIntegrationTestCommandLineRunner.java | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/HybridClusterIntegrationTestCommandLineRunner.java
 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/HybridClusterIntegrationTestCommandLineRunner.java
index 9df57ee..b3eec4f 100644
--- 
a/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/HybridClusterIntegrationTestCommandLineRunner.java
+++ 
b/pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/HybridClusterIntegrationTestCommandLineRunner.java
@@ -39,7 +39,6 @@ import org.apache.pinot.common.segment.ReadMode;
 import org.apache.pinot.controller.ControllerConf;
 import org.apache.pinot.spi.config.table.TableConfig;
 import org.apache.pinot.spi.data.Schema;
-import org.apache.pinot.spi.data.TimeFieldSpec;
 import org.apache.pinot.spi.utils.JsonUtils;
 import org.apache.pinot.tools.query.comparison.QueryComparison;
 import org.apache.pinot.util.TestUtils;
@@ -89,14 +88,14 @@ public class HybridClusterIntegrationTestCommandLineRunner {
 
   public static void printUsage() {
 System.err.println(
-"Usage: pinot-hybrid-cluster.sh [--llc] tableName schemaFile dataDir 
invertedIndexColumns sortedColumn");
+"Usage: pinot-hybrid-cluster.sh [--llc] tableName schemaFile 
timeColumnName dataDir invertedIndexColumns sortedColumn");
 System.exit(1);
   }
 
   public static void main(String[] args)
   throws Exception {
 int numArgs = args.length;
-if (!((numArgs == 5) || (numArgs == 6 && args[0].equals("--llc" {
+if (!((numArgs == 6) || (numArgs == 7 && args[0].equals("--llc" {
   printUsage();
 }
 
@@ -111,6 +110,9 @@ public class HybridClusterIntegrationTestCommandLineRunner {
 CustomHybridClusterIntegrationTest._tableName = args[argIdx++];
 File schemaFile = new File(args[argIdx++]);
 CustomHybridClusterIntegrationTest._schema = Schema.fromFile(schemaFile);
+String timeColumnName = args[argIdx++];
+CustomHybridClusterIntegrationTest._timeColumnName =
+
(CustomHybridClusterIntegrationTest._schema.getFieldSpecFor(timeColumnName) != 
null) ? timeColumnName : null;
 File dataDir = new File(args[argIdx++]);
 Preconditions.checkState(dataDir.isDirectory());
 CustomHybridClusterIntegrationTest._dataDir = dataDir;
@@ -179,6 +181,7 @@ public class HybridClusterIntegrationTestCommandLineRunner {
 private static boolean _useLlc = false;
 private static String _tableName;
 private static Schema _schema;
+private static String _timeColumnName;
 private static File _dataDir;
 private static List _invertedIndexColumns;
 private static String _sortedColumn;
@@ -231,8 +234,7 @@ public class HybridClusterIntegrationTestCommandLineRunner {
 @Nullable
 @Override
 protected String getTimeColumnName() {
-  TimeFieldSpec timeFieldSpec = _schema.getTimeFieldSpec();
-  return timeFieldSpec != null ? timeFieldSpec.getName() : null;
+  return _timeColumnName;
 }
 
 @Override


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