This is an automated email from the ASF dual-hosted git repository. xiangfu pushed a change to branch time-functions-in-query in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.
discard b91b4f3 Adding support to execute functions during query compilation add 86aea53 Clean slate on every quickstart run (#5395) add 9b65c9e Do not release the PinotDataBuffer when closing the index (#5400) add 3453128 Removes redundant DateTimeFormatter cache in DateTimeHandler (#5405) add 6d95bb7 Adding support to execute functions during query compilation 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 (b91b4f3) \ N -- N -- N refs/heads/time-functions-in-query (6d95bb7) 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/common}/function/FunctionInfo.java | 2 +- .../pinot/common}/function/FunctionInvoker.java | 2 +- .../pinot/common/function/FunctionRegistry.java | 43 ++++++++--- .../pinot/common/function/ScalarFunctionType.java | 37 +++------ .../function/scalar/DateScalarFunctions.java | 21 +++++ .../apache/pinot/sql/parsers/CalciteSqlParser.java | 55 +++++++------ .../pinot/sql/parsers/CalciteSqlCompilerTest.java | 20 +++-- .../core/data/function/DateTimeFunctions.java | 55 ++++++------- .../core/data/function/DateTimePatternHandler.java | 19 ++--- .../data/function/FunctionEvaluatorFactory.java | 10 +-- .../data/function/FunctionRegistryFactory.java | 81 -------------------- .../data/function/InbuiltFunctionEvaluator.java | 45 ++++++++++- .../pinot/core/data/function/JsonFunctions.java | 2 +- .../recordtransformer/ExpressionTransformer.java | 4 +- .../immutable/ImmutableSegmentImpl.java | 38 +++------ .../indexsegment/mutable/MutableSegmentImpl.java | 27 ++++--- .../impl/FixedByteSingleValueMultiColReader.java | 89 ++++++++-------------- .../reader/impl/v1/BaseChunkSingleValueReader.java | 46 +++++------ .../reader/impl/v1/FixedBitMultiValueReader.java | 9 +-- .../reader/impl/v1/FixedBitSingleValueReader.java | 4 +- ...ixedByteSingleColumnMultiValueReaderWriter.java | 89 +++++++++------------- ...xedByteSingleColumnSingleValueReaderWriter.java | 30 +++----- ...ixedByteSingleValueMultiColumnReaderWriter.java | 24 ++---- .../core/io/util/FixedBitIntReaderWriter.java | 20 +---- .../core/io/util/FixedByteValueReaderWriter.java | 24 ++---- .../apache/pinot/core/io/util/PinotDataBitSet.java | 7 +- .../org/apache/pinot/core/io/util/ValueReader.java | 7 +- .../io/util/VarLengthBytesValueReaderWriter.java | 10 +-- .../impl/FixedByteSingleValueMultiColWriter.java | 87 ++++++++++----------- .../writer/impl/MutableOffHeapByteArrayStore.java | 14 ++-- .../writer/impl/v1/BaseChunkSingleValueWriter.java | 1 - .../dictionary/BaseOffHeapMutableDictionary.java | 24 +----- .../segment/index/column/ColumnIndexContainer.java | 3 +- .../index/column/PhysicalColumnIndexContainer.java | 15 ++++ .../core/segment/index/loader/LoaderUtils.java | 8 +- .../index/readers/BitmapInvertedIndexReader.java | 37 ++++----- .../index/readers/NullValueVectorReaderImpl.java | 6 +- .../segment/index/readers/RangeIndexReader.java | 60 +++++++-------- .../pinot/core/segment/memory/PinotByteBuffer.java | 3 - .../virtualcolumn/VirtualColumnIndexContainer.java | 13 ++++ .../apache/pinot/core/startree/v2/StarTreeV2.java | 3 +- .../core/startree/v2/store/StarTreeDataSource.java | 3 +- .../startree/v2/store/StarTreeLoaderUtils.java | 10 +++ .../pinot/core/util/FixedIntArrayOffHeapIdMap.java | 11 --- .../java/org/apache/pinot/core/util/IdMap.java | 10 +-- .../org/apache/pinot/core/util/SchemaUtils.java | 6 +- .../function/DateTimeFunctionEvaluatorTest.java | 7 +- .../function/InbuiltFunctionEvaluatorTest.java | 66 +++++----------- .../pinot/core/data/function/MyTestFunction.java} | 32 ++++++-- .../pinot/core/io/util/PinotDataBitSetTest.java | 19 +++-- .../index/loader/SegmentPreProcessorTest.java | 9 +-- .../store/ColumnIndexDirectoryTestHelper.java | 30 ++++---- .../segment/store/FilePerIndexDirectoryTest.java | 73 +++++++----------- .../store/SingleFileIndexDirectoryTest.java | 85 +++++++-------------- .../v1/creator/FixedIntArrayIdMapTest.java | 22 +----- .../tests/BaseClusterIntegrationTest.java | 2 +- .../org/apache/pinot/tools/HybridQuickstart.java | 44 +++++------ .../java/org/apache/pinot/tools/Quickstart.java | 26 +++---- .../apache/pinot/tools/QuickstartTableRequest.java | 12 +-- .../org/apache/pinot/tools/RealtimeQuickStart.java | 20 +++-- .../tools/admin/command/QuickstartRunner.java | 13 +++- pom.xml | 2 +- 62 files changed, 674 insertions(+), 922 deletions(-) rename {pinot-core/src/main/java/org/apache/pinot/core/data => pinot-common/src/main/java/org/apache/pinot/common}/function/FunctionInfo.java (98%) rename {pinot-core/src/main/java/org/apache/pinot/core/data => pinot-common/src/main/java/org/apache/pinot/common}/function/FunctionInvoker.java (98%) rename pinot-core/src/main/java/org/apache/pinot/core/data/function/InbuiltFunctionRegistry.java => pinot-common/src/main/java/org/apache/pinot/common/function/FunctionRegistry.java (53%) create mode 100644 pinot-common/src/main/java/org/apache/pinot/common/function/scalar/DateScalarFunctions.java delete mode 100644 pinot-core/src/main/java/org/apache/pinot/core/data/function/FunctionRegistryFactory.java copy pinot-core/src/{main/java/org/apache/pinot/core/operator/transform/transformer/timeunit/TimeUnitTransformer.java => test/java/org/apache/pinot/core/data/function/MyTestFunction.java} (53%) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org