[GitHub] [pinot] xiangfu0 commented on a diff in pull request #8467: pinot-java-client controller based broker selector

2022-04-14 Thread GitBox
xiangfu0 commented on code in PR #8467: URL: https://github.com/apache/pinot/pull/8467#discussion_r850918760 ## pinot-clients/pinot-java-client/src/main/java/org/apache/pinot/client/UpdatableBrokerCache.java: ## @@ -0,0 +1,34 @@ +/** + * Licensed to the Apache Software Foundatio

[GitHub] [pinot] WangCHX commented on a diff in pull request #8498: Support st_contains using H3 index

2022-04-14 Thread GitBox
WangCHX commented on code in PR #8498: URL: https://github.com/apache/pinot/pull/8498#discussion_r851047468 ## pinot-core/src/main/java/org/apache/pinot/core/operator/filter/H3InclusionIndexFilterOperator.java: ## @@ -0,0 +1,128 @@ +/** + * Licensed to the Apache Software Founda

[GitHub] [pinot] WangCHX commented on a diff in pull request #8498: Support st_contains using H3 index

2022-04-14 Thread GitBox
WangCHX commented on code in PR #8498: URL: https://github.com/apache/pinot/pull/8498#discussion_r851047468 ## pinot-core/src/main/java/org/apache/pinot/core/operator/filter/H3InclusionIndexFilterOperator.java: ## @@ -0,0 +1,128 @@ +/** + * Licensed to the Apache Software Founda

[GitHub] [pinot] WangCHX opened a new issue, #8547: ST_Contain function can be optimized to skip fully contained h3 cells inside a polygon

2022-04-14 Thread GitBox
WangCHX opened a new issue, #8547: URL: https://github.com/apache/pinot/issues/8547 see title. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: comm

[GitHub] [pinot] WangCHX commented on a diff in pull request #8498: Support st_contains using H3 index

2022-04-14 Thread GitBox
WangCHX commented on code in PR #8498: URL: https://github.com/apache/pinot/pull/8498#discussion_r851044182 ## pinot-core/src/main/java/org/apache/pinot/core/operator/filter/H3InclusionIndexFilterOperator.java: ## @@ -0,0 +1,128 @@ +/** + * Licensed to the Apache Software Founda

[GitHub] [pinot] yupeng9 commented on a diff in pull request #8498: Support st_contains using H3 index

2022-04-14 Thread GitBox
yupeng9 commented on code in PR #8498: URL: https://github.com/apache/pinot/pull/8498#discussion_r851031667 ## pinot-core/src/main/java/org/apache/pinot/core/operator/filter/H3InclusionIndexFilterOperator.java: ## @@ -0,0 +1,128 @@ +/** + * Licensed to the Apache Software Founda

[GitHub] [pinot] dongxiaoman commented on a diff in pull request #8506: Upgrade helix to 0.9.10

2022-04-14 Thread GitBox
dongxiaoman commented on code in PR #8506: URL: https://github.com/apache/pinot/pull/8506#discussion_r850928592 ## pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/HelixZNodeSizeLimitTest.java: ## @@ -0,0 +1,91 @@ +/** + * Licensed to the Apache Software

[GitHub] [pinot] jackjlli commented on a diff in pull request #8506: Upgrade helix to 0.9.10

2022-04-14 Thread GitBox
jackjlli commented on code in PR #8506: URL: https://github.com/apache/pinot/pull/8506#discussion_r850920845 ## pinot-integration-tests/src/test/java/org/apache/pinot/integration/tests/HelixZNodeSizeLimitTest.java: ## @@ -0,0 +1,91 @@ +/** + * Licensed to the Apache Software Fou

[GitHub] [pinot] xiangfu0 commented on a diff in pull request #8467: pinot-java-client controller based broker selector

2022-04-14 Thread GitBox
xiangfu0 commented on code in PR #8467: URL: https://github.com/apache/pinot/pull/8467#discussion_r850913123 ## pinot-spi/pom.xml: ## @@ -149,6 +149,20 @@ org.reflections reflections + Review Comment: Please also apply the same pom changes for https:

[GitHub] [pinot] xiangfu0 commented on a diff in pull request #8467: pinot-java-client controller based broker selector

2022-04-14 Thread GitBox
xiangfu0 commented on code in PR #8467: URL: https://github.com/apache/pinot/pull/8467#discussion_r850911012 ## pinot-clients/pinot-java-client/src/main/java/org/apache/pinot/client/ControllerURLUtils.java: ## @@ -0,0 +1,35 @@ +/** + * Licensed to the Apache Software Foundation

[GitHub] [pinot] richardstartin commented on a diff in pull request #8513: push counts down to range index when v2 is in use

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8513: URL: https://github.com/apache/pinot/pull/8513#discussion_r850854605 ## pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/reader/RangeIndexReader.java: ## @@ -26,6 +26,51 @@ * @param */ public interface RangeIn

[GitHub] [pinot] walterddr commented on a diff in pull request #8513: push counts down to range index when v2 is in use

2022-04-14 Thread GitBox
walterddr commented on code in PR #8513: URL: https://github.com/apache/pinot/pull/8513#discussion_r850853486 ## pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/reader/RangeIndexReader.java: ## @@ -26,6 +26,51 @@ * @param */ public interface RangeIndexRe

[GitHub] [pinot] richardstartin commented on a diff in pull request #8513: push counts down to range index when v2 is in use

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8513: URL: https://github.com/apache/pinot/pull/8513#discussion_r850844404 ## pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/index/reader/RangeIndexReader.java: ## @@ -26,6 +26,51 @@ * @param */ public interface RangeIn

[GitHub] [pinot] richardstartin commented on a diff in pull request #8513: push counts down to range index when v2 is in use

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8513: URL: https://github.com/apache/pinot/pull/8513#discussion_r850843713 ## pinot-core/src/main/java/org/apache/pinot/core/operator/filter/RangeIndexBasedFilterOperator.java: ## @@ -145,10 +127,178 @@ public List getChildOperators() {

[GitHub] [pinot] walterddr commented on a diff in pull request #8513: push counts down to range index when v2 is in use

2022-04-14 Thread GitBox
walterddr commented on code in PR #8513: URL: https://github.com/apache/pinot/pull/8513#discussion_r850830798 ## pinot-core/src/main/java/org/apache/pinot/core/operator/filter/RangeIndexBasedFilterOperator.java: ## @@ -145,10 +127,178 @@ public List getChildOperators() { @O

[GitHub] [pinot] Jackie-Jiang commented on a diff in pull request #7358: [issue-7357] Add support for Avro logical types in both realtime and batch ingestion

2022-04-14 Thread GitBox
Jackie-Jiang commented on code in PR #7358: URL: https://github.com/apache/pinot/pull/7358#discussion_r850814130 ## pinot-plugins/pinot-input-format/pinot-avro-base/src/main/java/org/apache/pinot/plugin/inputformat/avro/AvroRecordExtractor.java: ## @@ -33,14 +35,19 @@ /** -

[GitHub] [pinot] richardstartin commented on a diff in pull request #8523: Add tracing for operator planning

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8523: URL: https://github.com/apache/pinot/pull/8523#discussion_r850814317 ## pinot-core/src/main/java/org/apache/pinot/core/plan/CombinePlanNode.java: ## @@ -185,4 +136,84 @@ public List callJob() { return new DistinctCombineOperat

[GitHub] [pinot] richardstartin commented on a diff in pull request #8523: Add tracing for operator planning

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8523: URL: https://github.com/apache/pinot/pull/8523#discussion_r850814317 ## pinot-core/src/main/java/org/apache/pinot/core/plan/CombinePlanNode.java: ## @@ -185,4 +136,84 @@ public List callJob() { return new DistinctCombineOperat

[GitHub] [pinot] richardstartin commented on a diff in pull request #8523: Add tracing for operator planning

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8523: URL: https://github.com/apache/pinot/pull/8523#discussion_r850813387 ## pinot-core/src/main/java/org/apache/pinot/core/plan/CombinePlanNode.java: ## @@ -185,4 +136,84 @@ public List callJob() { return new DistinctCombineOperat

[GitHub] [pinot] Jackie-Jiang commented on a diff in pull request #8523: Add tracing for operator planning

2022-04-14 Thread GitBox
Jackie-Jiang commented on code in PR #8523: URL: https://github.com/apache/pinot/pull/8523#discussion_r850808333 ## pinot-core/src/main/java/org/apache/pinot/core/plan/CombinePlanNode.java: ## @@ -185,4 +136,84 @@ public List callJob() { return new DistinctCombineOperator

[GitHub] [pinot] amrishlal commented on a diff in pull request #8518: Support filtering on bool/scalar fields without evaluator

2022-04-14 Thread GitBox
amrishlal commented on code in PR #8518: URL: https://github.com/apache/pinot/pull/8518#discussion_r850793054 ## pinot-common/src/main/java/org/apache/pinot/pql/parsers/pql2/ast/FilterKind.java: ## @@ -39,13 +41,26 @@ public enum FilterKind { TEXT_MATCH, JSON_MATCH; + p

[GitHub] [pinot] xiangfu0 commented on a diff in pull request #8545: Refactor ControllerRequestClient from pinot-controller to pinot-common module

2022-04-14 Thread GitBox
xiangfu0 commented on code in PR #8545: URL: https://github.com/apache/pinot/pull/8545#discussion_r850790979 ## pinot-common/src/main/java/org/apache/pinot/common/controller/ControllerRequestClient.java: ## @@ -16,7 +16,7 @@ * specific language governing permissions and limita

[GitHub] [pinot] Jackie-Jiang commented on issue #8418: Add support for BigDecimal as a Pinot data type

2022-04-14 Thread GitBox
Jackie-Jiang commented on issue #8418: URL: https://github.com/apache/pinot/issues/8418#issuecomment-1099604467 I think the reason for the 38 precision digits is that we can use 128 bits to represent the value. If we know the digits after the decimal point (e.g. `DECIMAL(38, 10)`), we don't

[GitHub] [pinot] nizarhejazi commented on a diff in pull request #8503: Support single-valued BigDecimal in schema, type conversion, SQL statements and minimum set of transforms.

2022-04-14 Thread GitBox
nizarhejazi commented on code in PR #8503: URL: https://github.com/apache/pinot/pull/8503#discussion_r850790282 ## pinot-core/src/main/java/org/apache/pinot/core/operator/transform/function/JsonExtractScalarTransformFunction.java: ## @@ -301,7 +313,7 @@ private String[] transfo

[GitHub] [pinot] nizarhejazi commented on a diff in pull request #8503: Support single-valued BigDecimal in schema, type conversion, SQL statements and minimum set of transforms.

2022-04-14 Thread GitBox
nizarhejazi commented on code in PR #8503: URL: https://github.com/apache/pinot/pull/8503#discussion_r850788721 ## pinot-core/src/main/java/org/apache/pinot/core/operator/transform/function/BaseTransformFunction.java: ## @@ -55,6 +58,7 @@ public abstract class BaseTransformFunct

[GitHub] [pinot] walterddr commented on a diff in pull request #8545: Refactor ControllerRequestClient from pinot-controller to pinot-common module

2022-04-14 Thread GitBox
walterddr commented on code in PR #8545: URL: https://github.com/apache/pinot/pull/8545#discussion_r850780320 ## pinot-common/src/main/java/org/apache/pinot/common/controller/ControllerRequestClient.java: ## @@ -16,7 +16,7 @@ * specific language governing permissions and limit

[GitHub] [pinot] siddharthteotia merged pull request #8544: Only discover public methods annotated with @ScalarFunction

2022-04-14 Thread GitBox
siddharthteotia merged PR #8544: URL: https://github.com/apache/pinot/pull/8544 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pino

[GitHub] [pinot] xiangfu0 commented on a diff in pull request #8545: Refactor ControllerRequestClient from pinot-controller to pinot-common module

2022-04-14 Thread GitBox
xiangfu0 commented on code in PR #8545: URL: https://github.com/apache/pinot/pull/8545#discussion_r850775547 ## pinot-common/src/main/java/org/apache/pinot/common/controller/ControllerRequestClient.java: ## @@ -16,7 +16,7 @@ * specific language governing permissions and limita

[pinot] branch master updated (fe7247fb96 -> d503d505b2)

2022-04-14 Thread siddteotia
This is an automated email from the ASF dual-hosted git repository. siddteotia pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/pinot.git from fe7247fb96 create task queue as needed for adhoc task (#8540) add d503d505b2 Only discover public methods anno

[GitHub] [pinot] walterddr commented on a diff in pull request #8545: Refactor ControllerRequestClient from pinot-controller to pinot-common module

2022-04-14 Thread GitBox
walterddr commented on code in PR #8545: URL: https://github.com/apache/pinot/pull/8545#discussion_r850773595 ## pinot-common/src/main/java/org/apache/pinot/common/controller/ControllerRequestClient.java: ## @@ -16,7 +16,7 @@ * specific language governing permissions and limit

[GitHub] [pinot] richardstartin commented on pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on PR #8535: URL: https://github.com/apache/pinot/pull/8535#issuecomment-1099568551 Can we get this merged then? @Jackie-Jiang @walterddr -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the UR

[GitHub] [pinot] Jackie-Jiang commented on issue #8418: Add support for BigDecimal as a Pinot data type

2022-04-14 Thread GitBox
Jackie-Jiang commented on issue #8418: URL: https://github.com/apache/pinot/issues/8418#issuecomment-1099563171 Currently we store `BigDecimal` as bytes, but because the ordering of `BigDecimal` is different from bytes, we might have to introduce the `BigDecimal` into the data representatio

[GitHub] [pinot] walterddr commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
walterddr commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850747579 ## pinot-common/src/main/java/org/apache/pinot/common/function/scalar/DataTypeConversionFunctions.java: ## @@ -32,6 +39,33 @@ public class DataTypeConversionFunctions {

[GitHub] [pinot] walterddr commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
walterddr commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850742106 ## pinot-common/src/main/java/org/apache/pinot/common/function/scalar/DataTypeConversionFunctions.java: ## @@ -32,6 +39,33 @@ public class DataTypeConversionFunctions {

[GitHub] [pinot] richardstartin commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850746889 ## pinot-common/src/main/java/org/apache/pinot/common/function/scalar/DataTypeConversionFunctions.java: ## @@ -32,6 +39,33 @@ public class DataTypeConversionFunctio

[GitHub] [pinot] richardstartin commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850745869 ## pinot-core/src/test/java/org/apache/pinot/queries/CastQueriesTest.java: ## @@ -0,0 +1,171 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one

[GitHub] [pinot] Jackie-Jiang commented on issue #8418: Add support for BigDecimal as a Pinot data type

2022-04-14 Thread GitBox
Jackie-Jiang commented on issue #8418: URL: https://github.com/apache/pinot/issues/8418#issuecomment-109978 Link the PR: #8503 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific co

[GitHub] [pinot] walterddr commented on pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
walterddr commented on PR #8535: URL: https://github.com/apache/pinot/pull/8535#issuecomment-1099554115 > and we should add some queries test to ensure it works end-to-end and covers ingestion, compilation, aggregation and post-aggregation. I'd suggest first adding the basic support for SV,

[GitHub] [pinot] xiangfu0 opened a new pull request, #8545: Refactor ControllerRequestClient from pinot-controller to pinot-common module

2022-04-14 Thread GitBox
xiangfu0 opened a new pull request, #8545: URL: https://github.com/apache/pinot/pull/8545 Refactor ControllerRequestClient from `pinot-controller` to `pinot-common` module E.g. Broker can use this client to submit minion tasks. -- This is an automated message from the Apa

[GitHub] [pinot] walterddr commented on issue #8424: CAST after expression causes weird exception

2022-04-14 Thread GitBox
walterddr commented on issue #8424: URL: https://github.com/apache/pinot/issues/8424#issuecomment-1099552719 > I doubt the cause is the absence of a scalar function then. The motivation of that PR is to ensure casts in filters don’t prevent index use. for the purpose of index use i th

[GitHub] [pinot] walterddr commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
walterddr commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850742106 ## pinot-common/src/main/java/org/apache/pinot/common/function/scalar/DataTypeConversionFunctions.java: ## @@ -32,6 +39,33 @@ public class DataTypeConversionFunctions {

[GitHub] [pinot] walterddr commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
walterddr commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850740019 ## pinot-core/src/test/java/org/apache/pinot/queries/CastQueriesTest.java: ## @@ -0,0 +1,171 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * o

[GitHub] [pinot] Jackie-Jiang closed issue #5904: Support for a fixed precision Decimal column type

2022-04-14 Thread GitBox
Jackie-Jiang closed issue #5904: Support for a fixed precision Decimal column type URL: https://github.com/apache/pinot/issues/5904 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comme

[GitHub] [pinot] Jackie-Jiang commented on issue #5904: Support for a fixed precision Decimal column type

2022-04-14 Thread GitBox
Jackie-Jiang commented on issue #5904: URL: https://github.com/apache/pinot/issues/5904#issuecomment-1099546031 `SumPrecision` aggregation function introduced in #6053 solves the basic requirement #8418 is adding the native BIG_DECIMAL data type into Pinot. Closing this issue and use tha

[GitHub] [pinot] richardstartin commented on issue #8424: CAST after expression causes weird exception

2022-04-14 Thread GitBox
richardstartin commented on issue #8424: URL: https://github.com/apache/pinot/issues/8424#issuecomment-1099545422 I doubt the cause is the absence of a scalar function then. The motivation of that PR is to ensure casts in filters don’t prevent index use. -- This is an automated message fr

[GitHub] [pinot] Jackie-Jiang commented on a diff in pull request #8503: Support single-valued BigDecimal in schema, type conversion, SQL statements and minimum set of transforms.

2022-04-14 Thread GitBox
Jackie-Jiang commented on code in PR #8503: URL: https://github.com/apache/pinot/pull/8503#discussion_r850664743 ## pinot-core/src/main/java/org/apache/pinot/core/common/evaluators/DefaultJsonPathEvaluator.java: ## @@ -38,8 +41,13 @@ public final class DefaultJsonPathEvaluato

[GitHub] [pinot] walterddr commented on issue #8424: CAST after expression causes weird exception

2022-04-14 Thread GitBox
walterddr commented on issue #8424: URL: https://github.com/apache/pinot/issues/8424#issuecomment-1099533365 checked out the PR and tested. still doesn't work. let me poke around. thanks for the info @richardstartin -- This is an automated message from the Apache Git Service. To respond

[GitHub] [pinot] richardstartin commented on a diff in pull request #8518: Support filtering on bool/scalar fields without evaluator

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8518: URL: https://github.com/apache/pinot/pull/8518#discussion_r850721889 ## pinot-common/src/main/java/org/apache/pinot/pql/parsers/pql2/ast/FilterKind.java: ## @@ -39,13 +41,26 @@ public enum FilterKind { TEXT_MATCH, JSON_MATCH;

[GitHub] [pinot] kishoreg commented on pull request #8543: Support INSERT INTO table FROM inputDirURI statement

2022-04-14 Thread GitBox
kishoreg commented on PR #8543: URL: https://github.com/apache/pinot/pull/8543#issuecomment-1099505941 +1 on supporting this call on the broker -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [pinot] npawar commented on a diff in pull request #8539: Add brokerURL and better handle TimeoutException in QueryRunner

2022-04-14 Thread GitBox
npawar commented on code in PR #8539: URL: https://github.com/apache/pinot/pull/8539#discussion_r850688941 ## pinot-tools/src/main/java/org/apache/pinot/tools/perf/QueryRunner.java: ## @@ -416,42 +422,49 @@ public static QuerySummary multiThreadedQueryRunner(PerfBenchmarkDriver

[GitHub] [pinot] amrishlal commented on a diff in pull request #8518: Support filtering on bool/scalar fields without evaluator

2022-04-14 Thread GitBox
amrishlal commented on code in PR #8518: URL: https://github.com/apache/pinot/pull/8518#discussion_r850680318 ## pinot-common/src/main/java/org/apache/pinot/pql/parsers/pql2/ast/FilterKind.java: ## @@ -39,13 +41,26 @@ public enum FilterKind { TEXT_MATCH, JSON_MATCH; + p

[GitHub] [pinot] richardstartin commented on issue #8424: CAST after expression causes weird exception

2022-04-14 Thread GitBox
richardstartin commented on issue #8424: URL: https://github.com/apache/pinot/issues/8424#issuecomment-1099473370 > new finding is that > > ``` > select > playerID, > cast((hits - runs) as long) AS hitMinusRun > from baseballStats > ``` > > will work. thus

[GitHub] [pinot] walterddr commented on issue #8424: CAST after expression causes weird exception

2022-04-14 Thread GitBox
walterddr commented on issue #8424: URL: https://github.com/apache/pinot/issues/8424#issuecomment-1099469841 new finding is that ``` select playerID, cast((hits - runs) as long) AS hitMinusRun from baseballStats ``` will work. thus the CAST functionKind exist, jus

[GitHub] [pinot] richardstartin commented on pull request #8544: only discover public functions

2022-04-14 Thread GitBox
richardstartin commented on PR #8544: URL: https://github.com/apache/pinot/pull/8544#issuecomment-1099458599 It appears illegal reflective access is relied on even internally -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [pinot] codecov-commenter commented on pull request #8544: only discover public functions

2022-04-14 Thread GitBox
codecov-commenter commented on PR #8544: URL: https://github.com/apache/pinot/pull/8544#issuecomment-1099456915 # [Codecov](https://codecov.io/gh/apache/pinot/pull/8544?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Softwar

[pinot] branch minimize-instance-movement updated (e54fb59b85 -> 8c3afa9883)

2022-04-14 Thread jlli
This is an automated email from the ASF dual-hosted git repository. jlli pushed a change to branch minimize-instance-movement in repository https://gitbox.apache.org/repos/asf/pinot.git omit e54fb59b85 Reuse InstanceReplicaGroupPartitionSelector add 8c3afa9883 Reuse InstanceReplicaGroup

[pinot] branch minimize-instance-movement updated (24fbc0cc44 -> e54fb59b85)

2022-04-14 Thread jlli
This is an automated email from the ASF dual-hosted git repository. jlli pushed a change to branch minimize-instance-movement in repository https://gitbox.apache.org/repos/asf/pinot.git discard 24fbc0cc44 Reuse InstanceReplicaGroupPartitionSelector add e54fb59b85 Reuse InstanceReplicaGroup

[GitHub] [pinot] xiangfu0 commented on pull request #8543: Support INSERT INTO table FROM inputDirURI statement

2022-04-14 Thread GitBox
xiangfu0 commented on PR #8543: URL: https://github.com/apache/pinot/pull/8543#issuecomment-1099402997 Good point. I'm testing it from the UI, so it's simpler to put the logic in controller. The same logic can definitely be moved to broker request handler. Just the controller call nee

[GitHub] [pinot] richardstartin opened a new pull request, #8544: only discover public functions

2022-04-14 Thread GitBox
richardstartin opened a new pull request, #8544: URL: https://github.com/apache/pinot/pull/8544 Experiment to disallow discovery of private scalar functions to avoid unpredictable illegal reflective acces -- This is an automated message from the Apache Git Service. To respond to the messa

[GitHub] [pinot] amrishlal commented on pull request #8543: Support INSERT INTO table FROM inputDirURI statement

2022-04-14 Thread GitBox
amrishlal commented on PR #8543: URL: https://github.com/apache/pinot/pull/8543#issuecomment-1099393573 This query appears to be processed on the Controller side. Would the query still work if it is sent to Broker API? If not, then can the Broker forward the query to the controller for proc

[GitHub] [pinot] ddcprg commented on a diff in pull request #7358: [issue-7357] Add support for Avro logical types in both realtime and batch ingestion

2022-04-14 Thread GitBox
ddcprg commented on code in PR #7358: URL: https://github.com/apache/pinot/pull/7358#discussion_r850331077 ## pinot-plugins/pinot-input-format/pinot-avro-base/src/main/java/org/apache/pinot/plugin/inputformat/avro/AvroRecordExtractor.java: ## @@ -107,4 +121,25 @@ protected Objec

[GitHub] [pinot] richardstartin commented on a diff in pull request #8539: Add brokerURL and better handle TimeoutException in QueryRunner

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8539: URL: https://github.com/apache/pinot/pull/8539#discussion_r850312126 ## pinot-tools/src/main/java/org/apache/pinot/tools/perf/QueryRunner.java: ## @@ -416,42 +422,49 @@ public static QuerySummary multiThreadedQueryRunner(PerfBenchma

[GitHub] [pinot] richardstartin commented on issue #8529: Support JDK17

2022-04-14 Thread GitBox
richardstartin commented on issue #8529: URL: https://github.com/apache/pinot/issues/8529#issuecomment-1099019879 Remaining blockers to running on JDK17 are: * illegal reflective access in `FunctionInvoker` which blindly makes discovered methods accessible. This could be easily replac

[GitHub] [pinot] richardstartin commented on pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on PR #8535: URL: https://github.com/apache/pinot/pull/8535#issuecomment-1098905816 Dropped MV support. Testing for: * unit * calcite sql compilation * use post aggregation, in filters * consistency with transform function used for projections

[GitHub] [pinot] ddcprg commented on pull request #7358: [issue-7357] Add support for Avro logical types in both realtime and batch ingestion

2022-04-14 Thread GitBox
ddcprg commented on PR #7358: URL: https://github.com/apache/pinot/pull/7358#issuecomment-1098874275 Thanks @Jackie-Jiang in that case I'll add more unit tests around record extractor. I'll squash all the commits into one after that -- This is an automated message from the Apache Git Serv

[GitHub] [pinot] xiangfu0 opened a new pull request, #8543: Support INSERT INTO table FROM inputDirURI statement

2022-04-14 Thread GitBox
xiangfu0 opened a new pull request, #8543: URL: https://github.com/apache/pinot/pull/8543 Support INSERT INTO table FROM inputDirURI statement -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[GitHub] [pinot] xiangfu0 merged pull request #8540: create task queue as needed for adhoc task

2022-04-14 Thread GitBox
xiangfu0 merged PR #8540: URL: https://github.com/apache/pinot/pull/8540 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apach

[pinot] branch master updated: create task queue as needed for adhoc task (#8540)

2022-04-14 Thread xiangfu
This is an automated email from the ASF dual-hosted git repository. xiangfu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pinot.git The following commit(s) were added to refs/heads/master by this push: new fe7247fb96 create task queue as needed for adhoc

[GitHub] [pinot] richardstartin commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850189997 ## pinot-common/src/main/java/org/apache/pinot/common/function/scalar/DataTypeConversionFunctions.java: ## @@ -32,6 +36,51 @@ public class DataTypeConversionFunctio

[GitHub] [pinot] richardstartin commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850189527 ## pinot-common/src/main/java/org/apache/pinot/common/function/scalar/DataTypeConversionFunctions.java: ## @@ -32,6 +36,51 @@ public class DataTypeConversionFunctio

[GitHub] [pinot] richardstartin commented on a diff in pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8535: URL: https://github.com/apache/pinot/pull/8535#discussion_r850188589 ## pinot-common/src/test/java/org/apache/pinot/common/function/scalar/DataTypeConversionFunctionsTest.java: ## @@ -0,0 +1,71 @@ +/** + * Licensed to the Apache Soft

[GitHub] [pinot] richardstartin commented on pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on PR #8535: URL: https://github.com/apache/pinot/pull/8535#issuecomment-1098822932 > Some thoughts: > > 1. one option may be to drop the cast function if it is casting something to a numeric type. For example `intColumn > cast(10.3 as long)` could just be re

[GitHub] [pinot] richardstartin commented on pull request #8535: add scalar function for cast so it can be calculated at compile time

2022-04-14 Thread GitBox
richardstartin commented on PR #8535: URL: https://github.com/apache/pinot/pull/8535#issuecomment-1098820054 > Currently `CastTransformFunction` doesn't support multi-valued column casting. We should keep the scalar function and transform function consistent (either both support MV or both

[GitHub] [pinot] richardstartin commented on a diff in pull request #8523: Add tracing for operator planning

2022-04-14 Thread GitBox
richardstartin commented on code in PR #8523: URL: https://github.com/apache/pinot/pull/8523#discussion_r850184819 ## pinot-core/src/main/java/org/apache/pinot/core/plan/CombinePlanNode.java: ## @@ -185,4 +136,84 @@ public List callJob() { return new DistinctCombineOperat

[GitHub] [pinot] KKcorps opened a new pull request, #8542: Upgrade Spark Version to 3.2.1

2022-04-14 Thread GitBox
KKcorps opened a new pull request, #8542: URL: https://github.com/apache/pinot/pull/8542 - Upgrading Spark Version to 3.2.1 from 2.4.0 - - Requires upgrade of Scala to 2.12 - - Also, requires upgrade of Jackson libraries otherwise it throws - - `Scala module 2.12.3 requi

[GitHub] [pinot] richardstartin merged pull request #8530: make ConfigUtils testable without illegal reflective access

2022-04-14 Thread GitBox
richardstartin merged PR #8530: URL: https://github.com/apache/pinot/pull/8530 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot

[pinot] branch master updated: make ConfigUtils testable without illegal reflective access (#8530)

2022-04-14 Thread richardstartin
This is an automated email from the ASF dual-hosted git repository. richardstartin pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pinot.git The following commit(s) were added to refs/heads/master by this push: new aadd0cddcf make ConfigUtils testable with

[GitHub] [pinot] Akshay2Agarwal commented on issue #8541: Query fails due to error in long conversion of millisecond time column in WHERE clause

2022-04-14 Thread GitBox
Akshay2Agarwal commented on issue #8541: URL: https://github.com/apache/pinot/issues/8541#issuecomment-1098779444 I realized schema was missing my bad. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to g

[GitHub] [pinot] Akshay2Agarwal closed issue #8541: Query fails due to error in long conversion of millisecond time column in WHERE clause

2022-04-14 Thread GitBox
Akshay2Agarwal closed issue #8541: Query fails due to error in long conversion of millisecond time column in WHERE clause URL: https://github.com/apache/pinot/issues/8541 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th