This is an automated email from the ASF dual-hosted git repository.
xiangfu0 pushed a change to branch xiangfu0/agg-rewrite/03-mode
in repository https://gitbox.apache.org/repos/asf/pinot.git
omit efd180e4bb2 Merge master into xiangfu0/agg-rewrite/03-mode
omit ff11dd135a8 Merge xiangfu0/agg-rewrite/01-first-last-with-time into
xiangfu0/agg-rewrite/03-mode
omit e1b44ffe17e Rely on the type argument rewrite to reject unsupported
FIRST/LAST_WITH_TIME data types
omit 3ad6bb71d1a Merge xiangfu0/agg-rewrite/01-first-last-with-time into
xiangfu0/agg-rewrite/03-mode
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
omit 417d6163fc0 Merge xiangfu0/agg-rewrite/01-first-last-with-time into
xiangfu0/agg-rewrite/03-mode
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
omit e51e502d830 Support MODE on STRING, BOOLEAN and TIMESTAMP inputs
omit ca994132205 Fail FIRST/LAST_WITH_TIME type inference on unsupported
data columns
omit 1d796d0ae08 Validate FIRST/LAST_WITH_TIME operands in the type checker
and always apply the type argument rewrite
omit 7725620917e Support all single-value data types in FIRST/LAST_WITH_TIME
omit 25fa06fb5f3 Infer STRING for JSON data columns in FIRST/LAST_WITH_TIME
rewrite
omit 97ddb8ea5c0 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 59761d779c8 Support MODE on STRING, BOOLEAN and TIMESTAMP inputs
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 (efd180e4bb2)
\
N -- N -- N refs/heads/xiangfu0/agg-rewrite/03-mode (59761d779c8)
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 ++----
.../function/ModeAggregationFunction.java | 26 +-
.../org/apache/pinot/core/util/NumberUtils.java | 122 +-----
.../pinot/core/function/FunctionRegistryTest.java | 2 +-
.../ArrayLiteralTransformFunctionTest.java | 29 ++
.../JsonExtractScalarTransformFunctionTest.java | 34 +-
.../apache/pinot/core/util/NumberUtilsTest.java | 12 +
.../org/apache/pinot/queries/ModeQueriesTest.java | 15 +
.../integration/tests/custom/JsonPathTest.java | 107 +++++
.../resources/udf-test-results/all-functions.yaml | 3 +-
.../PinotAggregateTypeArgumentRewriteRule.java | 3 +-
.../rel/rules/PinotEvaluateLiteralRule.java | 55 ++-
.../query/planner/logical/RexExpressionUtils.java | 50 ++-
.../apache/pinot/query/QueryCompilationTest.java | 118 ++++++
.../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 | 26 +-
.../segment/local/utils/TableConfigUtils.java | 424 ++++++++++---------
.../segment/local/utils/TableConfigUtilsTest.java | 200 +++++----
43 files changed, 2399 insertions(+), 697 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]