This is an automated email from the ASF dual-hosted git repository.
xiangfu0 pushed a change to branch xiangfu0/agg-rewrite/04-any-value
in repository https://gitbox.apache.org/repos/asf/pinot.git
discard e2c8a8915ff Merge remote-tracking branch 'origin/master' into
xiangfu0/agg-rewrite/04-any-value
discard 6a4c97eff09 Merge remote-tracking branch
'origin/xiangfu0/agg-rewrite/01-first-last-with-time' into
xiangfu0/agg-rewrite/04-any-value
omit e1b44ffe17e Rely on the type argument rewrite to reject unsupported
FIRST/LAST_WITH_TIME data types
discard fd63decc800 Merge remote-tracking branch
'origin/xiangfu0/agg-rewrite/01-first-last-with-time' into
xiangfu0/agg-rewrite/04-any-value
omit f5f56c0b3a0 Cross-reference the FIRST/LAST_WITH_TIME type lists and
cover UUID at runtime
omit b5dfcd7b41a Give each dimension table test its own temp directory
discard 894506592d1 Merge remote-tracking branch
'origin/xiangfu0/agg-rewrite/01-first-last-with-time' into
xiangfu0/agg-rewrite/04-any-value
omit 2dab20473fe Fail FIRST/LAST_WITH_TIME type inference on unsupported
data columns
omit c22fa5911aa Validate FIRST/LAST_WITH_TIME operands in the type checker
and always apply the type argument rewrite
omit 0ffc52ed761 Support all single-value data types in FIRST/LAST_WITH_TIME
omit 75a35985b5e Infer STRING for JSON data columns in FIRST/LAST_WITH_TIME
rewrite
omit 0b950ee4baa Support FIRST_WITH_TIME and LAST_WITH_TIME without a data
type
discard c994748a3ef Merge remote-tracking branch
'origin/xiangfu0/agg-rewrite/01-first-last-with-time' into
xiangfu0/agg-rewrite/04-any-value
discard ca994132205 Fail FIRST/LAST_WITH_TIME type inference on unsupported
data columns
discard 4ab811ed69c Merge remote-tracking branch
'origin/xiangfu0/agg-rewrite/01-first-last-with-time' into
xiangfu0/agg-rewrite/04-any-value
discard 1d796d0ae08 Validate FIRST/LAST_WITH_TIME operands in the type checker
and always apply the type argument rewrite
discard 608abbeafbb Merge remote-tracking branch
'origin/xiangfu0/agg-rewrite/01-first-last-with-time' into
xiangfu0/agg-rewrite/04-any-value
discard 7725620917e Support all single-value data types in FIRST/LAST_WITH_TIME
discard 25fa06fb5f3 Infer STRING for JSON data columns in FIRST/LAST_WITH_TIME
rewrite
discard 97ddb8ea5c0 Support FIRST_WITH_TIME and LAST_WITH_TIME without a data
type
discard d9ccb8a7906 Return the input's logical type from ANY_VALUE
discard 2b499339456 Infer STRING for JSON data columns in FIRST/LAST_WITH_TIME
rewrite
discard 3664aab77db Support FIRST_WITH_TIME and LAST_WITH_TIME without a data
type
add d3893e27874 Parse validationTypesToSkip once and apply it consistently
(#20019)
add ac12baf5be9 Add jsonExtractScalar scalar function for
JSON_EXTRACT_SCALAR (#18979)
add 921fee07970 Return the input's logical type from ANY_VALUE
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 (e2c8a8915ff)
\
N -- N -- N refs/heads/xiangfu0/agg-rewrite/04-any-value
(921fee07970)
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.
No new revisions were added by this update.
Summary of changes:
.../pinot/client/admin/TableAdminClient.java | 6 +-
.../pinot/common/function/JsonPathCache.java | 11 +-
.../common/function/TransformFunctionType.java | 6 +
.../common/function/scalar/JsonFunctions.java | 458 ++++++++++++++++++++-
.../apache/pinot/common/utils/JsonNumberUtils.java | 207 ++++++++++
.../rewriter/CompileTimeFunctionsInvoker.java | 7 +
.../common/function/FastJsonPathExtractorTest.java | 21 +-
.../pinot/common/function/JsonFunctionsTest.java | 352 ++++++++++++++++
.../pinot/common/utils/JsonNumberUtilsTest.java | 86 ++--
.../pinot/sql/parsers/CalciteSqlCompilerTest.java | 17 +
.../api/resources/PinotTableRestletResource.java | 29 +-
.../api/resources/TableConfigValidationUtils.java | 51 ++-
.../api/resources/TableConfigsRestletResource.java | 43 +-
.../pinot/controller/util/TaskConfigUtils.java | 24 +-
.../api/TableConfigsRestletResourceTest.java | 7 -
.../pinot/controller/util/TaskConfigUtilsTest.java | 16 +
.../function/ArrayLiteralTransformFunction.java | 20 +
.../JsonExtractScalarTransformFunction.java | 123 ++----
.../AggregateFunctionRewriteOptimizer.java | 63 ++-
.../org/apache/pinot/core/util/NumberUtils.java | 122 +-----
.../pinot/core/function/FunctionRegistryTest.java | 2 +-
.../ArrayLiteralTransformFunctionTest.java | 29 ++
.../JsonExtractScalarTransformFunctionTest.java | 34 +-
.../AggregateFunctionRewriteOptimizerTest.java | 13 +-
.../apache/pinot/core/util/NumberUtilsTest.java | 12 +
.../integration/tests/custom/JsonPathTest.java | 107 +++++
.../resources/udf-test-results/all-functions.yaml | 3 +-
.../PinotAggregateTypeArgumentRewriteRule.java | 95 +++--
.../rel/rules/PinotEvaluateLiteralRule.java | 55 ++-
.../calcite/rel/rules/PinotQueryRuleSets.java | 4 -
.../org/apache/pinot/query/QueryEnvironment.java | 18 +-
.../query/planner/logical/RexExpressionUtils.java | 50 ++-
.../apache/pinot/query/QueryCompilationTest.java | 118 ++++++
.../src/test/resources/queries/AggregatePlans.json | 29 +-
.../query/runtime/operator/BaseJoinOperator.java | 8 +-
.../query/runtime/operator/FilterOperator.java | 4 +-
.../query/runtime/operator/LookupJoinOperator.java | 5 +-
.../query/runtime/operator/TransformOperator.java | 5 +-
.../query/runtime/operator/UnnestOperator.java | 4 +-
.../runtime/operator/operands/FilterOperand.java | 45 +-
.../runtime/operator/operands/FunctionOperand.java | 60 ++-
.../operator/operands/TransformOperandFactory.java | 38 +-
.../query/runtime/queries/QueryRunnerTest.java | 217 +++++++++-
.../src/test/resources/queries/UDFAggregates.json | 4 +
.../segment/local/utils/TableConfigUtils.java | 424 ++++++++++---------
.../segment/local/utils/TableConfigUtilsTest.java | 200 +++++----
.../pinot/segment/spi/AggregationFunctionType.java | 56 +--
.../apache/pinot/spi/utils/CommonConstants.java | 3 -
48 files changed, 2488 insertions(+), 823 deletions(-)
create mode 100644
pinot-common/src/main/java/org/apache/pinot/common/utils/JsonNumberUtils.java
copy pinot-core/src/test/java/org/apache/pinot/core/util/NumberUtilsTest.java
=>
pinot-common/src/test/java/org/apache/pinot/common/utils/JsonNumberUtilsTest.java
(59%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]