This is an automated email from the ASF dual-hosted git repository.
924060929 pushed a change to branch fe_local_shuffle_rebase3
in repository https://gitbox.apache.org/repos/asf/doris.git
discard 8608ab21660 [doc](local shuffle) DANGER ZONE on sender_count to
prevent repeated mistakes
discard c848ecf08da [revert](local shuffle) Roll back the sender_count
std::max patch
omit ef4ea66a66f [fix](local shuffle) Mirror BE partition_exprs and
sender_count for FE-planned LE
omit 4e05e7bfbb8 [test](local shuffle) Switch order-sensitive checks to
order_qt_*
omit fd3733b99cc [fix](local shuffle) Skip LocalExchange under
RecursiveCteNode and mark it serial (DORIS-25865)
omit dc393f63f94 [fix](local shuffle) Restore LoadStatistic fileNum
tracking under FE local-shuffle planner
omit 7e5ab2fabf5 [test](local shuffle) Drop stats-sensitive shape
assertions from test_multilevel_join_agg_local_shuffle
omit 41ff45ebc4a [test](local shuffle) Rewrite LocalExchangePlannerTest
with PlanShape DSL
omit 9016e5a105f [refactor](local shuffle) Move local exchange planning
from BE to FE
add cfe94e17d04 [Enhancement](udf) Support volatility property for scalar
UDF (#62698)
add 8f696e0ecaf [fix](be) Preserve collect aggregate limit during merge
(#63361)
add 8d3bd8a037e [fix](be) Rebind storage common expr slots (#63279)
add be49e67d7b0 [improve](streaming-job) async chunk splitting for cdc
source job (#63079)
add 4483daf9f03 [fix](be) Clean up aggregate states and use Doris hash
containers (#63174)
add 2d9ec456a7a [improvement](cloud) Add enable_recycler config to skip
recycler dynamically (#63286)
add 1891f71d5aa [fix](fe) add --drop_backends param to start_fe.sh (#63306)
add 55107434cf4 [enhancement](agent) Add more agent behavior calibration
instructions (#63395)
add f318357c820 [Fix](topn) Reject non-positive topn count argument
(#63350)
add 7ac81600cde [fix](be) Use debug point for string overflow conversion
(#63392)
add 0338e0efee8 [fix](docker) allow overriding fdb image (#63393)
add fc9dde0b263 [fix](case)Fix test_orc_lazy_mat_profile failure caused by
condition cache. (#63382)
add 2a2856189cc [fix](fe) Skip broken external tables in show tables
(#63407)
add 9bf0817dc3b fix: block type reset after dict filter (#63168)
add b96bb6b49be [fix](fe) Preserve narrowing datetimev2 casts in simplify
in predicate (#63343)
add afe30f383fe [fix](view) Prevent invalid alias rewrite in view
definitions (#63353)
add d527c14d90f [refactor](fe) Add typed filesystem properties for S3
(#63252)
add a0685f450d3 [doc](be) Document JSONB path compatibility (#63364)
add 5d82f600b20 [fix](nereids) Fix pre-aggregation context leakage across
join branches (#63357)
add f4ce70ed503 [fix](be) Remove pure attribute from assert_cast (#63417)
add 06f55c0ac14 [Enhancement](CI) Auto refresh AI Review credential
(#63431)
add 820f51b474a [refactor](fe) Refine volatile expression handling (#63403)
add a70c212956c [fix](uniform function) fix constant argument handling
and use ColumnView
(#63076)
add bad5649d6d5 [improvement](be) Optimize nested loop join
materialization (#62956)
add 3d7b76454c6 [fix](be) Remove unsafe JsonbWriter key overload (#63355)
add ec722fd6a12 [fix](be) Avoid signaling unbuilt shared hash table
(#63345)
add d449371b20a [fix](agg)Adjust agg strategy when table satisfy distinct
key distribution (#61248)
add 36f096fb55c [refactor](local shuffle) Move local exchange planning
from BE to FE
add b685ab0a4c0 [test](local shuffle) Rewrite LocalExchangePlannerTest
with PlanShape DSL
add b208c094e06 [test](local shuffle) Drop stats-sensitive shape
assertions from test_multilevel_join_agg_local_shuffle
add 4e58f3035d0 [fix](local shuffle) Restore LoadStatistic fileNum
tracking under FE local-shuffle planner
add 4bce60abf79 [fix](local shuffle) Skip LocalExchange under
RecursiveCteNode and mark it serial (DORIS-25865)
add 729943679f5 [test](local shuffle) Switch order-sensitive checks to
order_qt_*
add 065c1865237 [fix](local shuffle) Mirror BE partition_exprs and
sender_count for FE-planned LE
add bec9ad46b49 [revert](local shuffle) Roll back the sender_count
std::max patch
add 3ac8525eaac [doc](local shuffle) DANGER ZONE on sender_count to
prevent repeated mistakes
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 (8608ab21660)
\
N -- N -- N refs/heads/fe_local_shuffle_rebase3 (3ac8525eaac)
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:
.claude/skills/be-code-style/SKILL.md | 9 +
.github/workflows/opencode-review-runner.yml | 58 +-
AGENTS.md | 2 +
be/src/common/config.cpp | 2 -
be/src/common/config.h | 3 -
be/src/core/assert_cast.h | 2 +-
be/src/core/column/column_string.cpp | 14 +-
be/src/core/column/column_string.h | 12 +-
be/src/exec/operator/hashjoin_build_sink.cpp | 22 +-
.../operator/nested_loop_join_probe_operator.cpp | 642 ++++++++++++++++++++-
.../operator/nested_loop_join_probe_operator.h | 64 +-
be/src/exprs/aggregate/aggregate_function.h | 54 +-
.../exprs/aggregate/aggregate_function_collect.h | 13 +-
.../exprs/aggregate/aggregate_function_distinct.h | 8 +-
be/src/exprs/aggregate/aggregate_function_map.h | 2 +-
be/src/exprs/aggregate/aggregate_function_map_v2.h | 2 +-
be/src/exprs/function/uniform.cpp | 14 +-
be/src/exprs/virtual_slot_ref.h | 2 +-
be/src/exprs/vslot_ref.h | 2 +-
be/src/format/parquet/vparquet_group_reader.cpp | 1 +
be/src/storage/segment/segment_iterator.cpp | 119 ++++
be/src/util/jsonb_document.h | 12 +-
be/src/util/jsonb_writer.h | 2 -
be/test/core/block/block_test.cpp | 50 --
be/test/core/column/column_string_test.cpp | 42 +-
be/test/core/jsonb/convert_field_to_type_test.cpp | 4 +-
be/test/core/jsonb/jsonb_document_test.cpp | 37 +-
be/test/exec/operator/hashjoin_build_sink_test.cpp | 26 +
be/test/exprs/aggregate/agg_collect_test.cpp | 72 ++-
.../aggregate_function_exception_test.cpp | 162 ++++++
be/test/exprs/hybrid_set_test.cpp | 17 +-
be/test/exprs/minmax_predicate_test.cpp | 19 +-
be/test/util/jsonb_serialize_test.cpp | 8 +-
bin/start_fe.sh | 14 +-
cloud/src/common/config.h | 2 +
cloud/src/recycler/recycler.cpp | 45 +-
cloud/test/recycler_test.cpp | 81 +++
docker/runtime/doris-compose/command.py | 10 +-
docker/runtime/doris-compose/resource/init_fe.sh | 2 +-
.../postgresql/postgresql-14.yaml.tpl | 4 +-
.../java/org/apache/doris/catalog/Function.java | 11 +
.../apache/doris/catalog/FunctionVolatility.java} | 38 +-
.../main/java/org/apache/doris/common/Config.java | 3 +
.../job/cdc/request/FetchTableSplitsRequest.java | 12 +
.../src/main/java/org/apache/doris/DorisFE.java | 5 +
.../main/java/org/apache/doris/catalog/Env.java | 22 +
.../doris/catalog/FunctionToSqlConverter.java | 67 ++-
.../java/org/apache/doris/common/FeConstants.java | 1 +
.../apache/doris/datasource/ExternalDatabase.java | 11 +-
.../insert/streaming/StreamingInsertJob.java | 39 +-
.../streaming/StreamingJobSchedulerTask.java | 7 +
.../doris/job/offset/SourceOffsetProvider.java | 24 +-
.../job/offset/jdbc/JdbcSourceOffsetProvider.java | 503 ++++++++++++----
.../offset/jdbc/JdbcTvfSourceOffsetProvider.java | 60 +-
.../apache/doris/job/util/StreamingJobUtils.java | 72 ++-
.../glue/translator/PhysicalPlanTranslator.java | 35 +-
.../doris/nereids/jobs/executor/Rewriter.java | 8 +-
.../post/PushDownFilterThroughProject.java | 2 +-
.../org/apache/doris/nereids/rules/RuleType.java | 2 +-
.../nereids/rules/analysis/BindExpression.java | 23 +-
.../rules/InPredicateExtractNonConstant.java | 2 +-
.../expression/rules/PushIntoCaseWhenBranch.java | 4 +-
.../expression/rules/SimplifyInPredicate.java | 11 +-
.../LogicalOlapScanToPhysicalOlapScan.java | 12 +-
...n.java => AddProjectForVolatileExpression.java} | 58 +-
.../rules/rewrite/CollectFilterAboveConsumer.java | 2 +-
.../rules/rewrite/DistinctAggregateRewriter.java | 115 ++++
.../rules/rewrite/JoinExtractOrFromCaseWhen.java | 2 +-
.../rewrite/MergeOneRowRelationIntoUnion.java | 6 +-
.../rewrite/PushDownFilterThroughAggregation.java | 2 +-
.../rewrite/PushDownFilterThroughGenerate.java | 2 +-
.../rules/rewrite/PushDownFilterThroughJoin.java | 4 +-
.../rewrite/PushDownFilterThroughProject.java | 2 +-
.../PushDownVirtualColumnsIntoOlapScan.java | 2 +-
.../rules/rewrite/PushFilterInsideJoin.java | 2 +-
.../rules/rewrite/PushProjectIntoUnion.java | 2 +-
.../doris/nereids/rules/rewrite/ReorderJoin.java | 4 +-
.../nereids/rules/rewrite/SetPreAggStatus.java | 1 +
.../rewrite/eageraggregation/EagerAggRewriter.java | 2 +-
.../nereids/trees/expressions/Expression.java | 5 -
.../trees/expressions/VolatileExpression.java} | 27 +-
.../trees/expressions/VolatileIdentity.java | 90 +++
.../expressions/functions/ExpressionTrait.java | 15 +-
.../trees/expressions/functions/agg/TopN.java | 14 +
.../trees/expressions/functions/agg/TopNArray.java | 14 +
.../expressions/functions/agg/TopNWeighted.java | 14 +
.../trees/expressions/functions/scalar/Random.java | 27 +-
.../expressions/functions/scalar/RandomBytes.java | 11 +-
.../functions/scalar/UniqueFunction.java | 56 +-
.../functions/scalar/UniqueFunctionParams.java | 17 +-
.../trees/expressions/functions/scalar/Uuid.java | 11 +-
.../expressions/functions/scalar/UuidNumeric.java | 11 +-
.../trees/expressions/functions/udf/JavaUdf.java | 65 ++-
.../expressions/functions/udf/JavaUdfBuilder.java | 2 +-
.../trees/expressions/functions/udf/PythonUdf.java | 65 ++-
.../functions/udf/PythonUdfBuilder.java | 4 +-
.../plans/commands/CreateFunctionCommand.java | 28 +
.../trees/plans/commands/ShowFunctionsCommand.java | 11 +-
.../trees/plans/logical/LogicalAggregate.java | 4 +-
.../trees/plans/logical/LogicalLoadProject.java | 2 +-
.../trees/plans/logical/LogicalProject.java | 2 +-
.../trees/plans/logical/LogicalSubQueryAlias.java | 7 +-
.../physical/PhysicalBucketedHashAggregate.java | 4 +-
.../plans/physical/PhysicalHashAggregate.java | 4 +-
.../apache/doris/nereids/util/ExpressionUtils.java | 17 +-
.../org/apache/doris/nereids/util/PlanUtils.java | 2 +-
.../java/org/apache/doris/nereids/util/Utils.java | 16 +
.../apache/doris/planner/NestedLoopJoinNode.java | 50 ++
.../apache/doris/catalog/CreateFunctionTest.java | 23 +
.../org/apache/doris/catalog/CreateViewTest.java | 24 +
.../doris/catalog/FunctionToSqlConverterTest.java | 136 ++++-
.../JdbcSourceOffsetProviderAsyncSplitTest.java | 486 ++++++++++++++++
.../doris/job/offset/jdbc/SplitProgressTest.java | 60 ++
.../rules/expression/SimplifyInPredicateTest.java | 62 +-
...va => AddProjectForVolatileExpressionTest.java} | 43 +-
.../rewrite/CollectFilterAboveConsumerTest.java | 2 +-
.../rewrite/DistinctAggregateRewriterTest.java | 224 ++++++-
.../functions/scalar/UniqueFunctionTest.java | 2 +-
.../functions/udf/UdfVolatilityTest.java | 91 +++
.../plans/commands/ShowFunctionsCommandTest.java | 50 ++
.../filesystem/properties/BackendStorageKind.java} | 49 +-
.../properties/BackendStorageProperties.java | 43 ++
.../properties/FileSystemProperties.java | 92 +++
.../properties/HadoopStorageProperties.java} | 36 +-
.../S3CompatibleFileSystemProperties.java | 80 +++
.../doris/filesystem/properties/StorageKind.java} | 45 +-
.../doris/filesystem/cos/CosObjStorageTest.java | 9 +-
.../doris/filesystem/obs/ObsObjStorageTest.java | 2 +
.../doris/filesystem/oss/OssObjStorageTest.java | 1 +
fe/fe-filesystem/fe-filesystem-s3/pom.xml | 17 +
.../s3/S3CredentialsProviderFactory.java | 201 +++++++
.../filesystem/s3/S3CredentialsProviderType.java | 70 +++
.../apache/doris/filesystem/s3/S3FileSystem.java | 17 +
.../filesystem/s3/S3FileSystemProperties.java | 398 +++++++++++++
.../doris/filesystem/s3/S3FileSystemProvider.java | 69 ++-
.../apache/doris/filesystem/s3/S3ObjStorage.java | 195 ++-----
.../s3/S3CredentialsProviderFactoryTest.java | 103 ++++
.../filesystem/s3/S3FileSystemPropertiesTest.java | 245 ++++++++
.../filesystem/s3/S3FileSystemProviderTest.java | 73 +++
.../doris/filesystem/s3/S3ObjStorageMockTest.java | 82 ++-
.../doris/filesystem/s3/S3ObjStorageTest.java | 156 ++---
.../doris/filesystem/s3/S3OutputStreamTest.java | 4 +-
.../doris/filesystem/spi/FileSystemProvider.java | 23 +
.../source/reader/JdbcIncrementalSourceReader.java | 216 +++----
.../source/reader/mysql/MySqlSourceReader.java | 212 ++++---
gensrc/thrift/PlanNodes.thrift | 5 +
...doris_25531_string_overflow_fault_injection.out | 7 +
.../agg_skew_rewrite/agg_skew_rewrite.out | 6 +-
.../nereids_rules_p0/agg_strategy/agg_strategy.out | 22 +-
.../bind_relation/bind_view_alias_star_agg.out | 3 +
.../test_simplify_in_predicate.out | 7 +
.../data/shape_check/clickbench/query10.out | 11 +-
.../data/shape_check/clickbench/query11.out | 7 +-
.../data/shape_check/clickbench/query12.out | 7 +-
.../data/shape_check/clickbench/query14.out | 7 +-
.../data/shape_check/clickbench/query23.out | 7 +-
.../data/shape_check/clickbench/query9.out | 5 +-
.../hive/test_orc_lazy_mat_profile.groovy | 1 +
...is_25531_string_overflow_fault_injection.groovy | 87 +--
.../suites/javaudf_p0/test_javaudf_float.groovy | 3 +-
.../test_streaming_mysql_job_async_split.groovy | 160 +++++
...t_streaming_mysql_job_async_split_uneven.groovy | 195 +++++++
...ing_postgres_job_async_split_multi_table.groovy | 178 ++++++
...ng_postgres_job_async_split_pause_resume.groovy | 172 ++++++
...treaming_postgres_job_async_split_uneven.groovy | 198 +++++++
...stgres_job_async_split_uneven_restart_fe.groovy | 207 +++++++
...streaming_postgres_job_binlog_restart_fe.groovy | 191 ++++++
...st_streaming_postgres_job_special_offset.groovy | 15 +-
...ming_job_cdc_stream_postgres_async_split.groovy | 193 +++++++
...c_stream_postgres_async_split_restart_fe.groovy | 218 +++++++
.../suites/mtmv_p0/test_expand_star_mtmv.groovy | 3 +-
.../agg_function/topn/topn.groovy | 32 +
.../nereids_function_p0/scalar_function/U.groovy | 2 +
.../bind_relation/bind_view_alias_star_agg.groovy | 46 ++
.../distinct_split/disitinct_split.groovy | 1 +
.../predicate_infer/infer_predicate.groovy | 36 ++
.../nereids_rules_p0/set_preagg/set_preagg.groovy | 25 +-
.../test_simplify_in_predicate.groovy | 28 +
.../pythonudf_p0/test_pythonudf_aggregate.groovy | 6 +-
.../pythonudf_p0/test_pythonudf_float.groovy | 3 +-
.../pythonudf_p0/test_pythonudf_volatility.groovy | 204 +++++++
.../test_nestedloop_lazy_materialization.groovy | 256 ++++++++
182 files changed, 8253 insertions(+), 1373 deletions(-)
create mode 100644
be/test/exprs/aggregate/aggregate_function_exception_test.cpp
copy
fe/{fe-common/src/main/java/org/apache/doris/job/cdc/request/FetchTableSplitsRequest.java
=> fe-catalog/src/main/java/org/apache/doris/catalog/FunctionVolatility.java}
(51%)
rename
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/{AddProjectForUniqueFunction.java
=> AddProjectForVolatileExpression.java} (84%)
copy
fe/{fe-common/src/main/java/org/apache/doris/job/cdc/request/FetchTableSplitsRequest.java
=>
fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/VolatileExpression.java}
(54%)
create mode 100644
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/VolatileIdentity.java
create mode 100644
fe/fe-core/src/test/java/org/apache/doris/job/offset/jdbc/JdbcSourceOffsetProviderAsyncSplitTest.java
create mode 100644
fe/fe-core/src/test/java/org/apache/doris/job/offset/jdbc/SplitProgressTest.java
rename
fe/fe-core/src/test/java/org/apache/doris/nereids/rules/rewrite/{AddProjectForUniqueFunctionTest.java
=> AddProjectForVolatileExpressionTest.java} (78%)
create mode 100644
fe/fe-core/src/test/java/org/apache/doris/nereids/trees/expressions/functions/udf/UdfVolatilityTest.java
copy
fe/{fe-common/src/main/java/org/apache/doris/job/cdc/request/FetchTableSplitsRequest.java
=>
fe-filesystem/fe-filesystem-api/src/main/java/org/apache/doris/filesystem/properties/BackendStorageKind.java}
(50%)
create mode 100644
fe/fe-filesystem/fe-filesystem-api/src/main/java/org/apache/doris/filesystem/properties/BackendStorageProperties.java
create mode 100644
fe/fe-filesystem/fe-filesystem-api/src/main/java/org/apache/doris/filesystem/properties/FileSystemProperties.java
copy
fe/{fe-common/src/main/java/org/apache/doris/job/cdc/request/FetchTableSplitsRequest.java
=>
fe-filesystem/fe-filesystem-api/src/main/java/org/apache/doris/filesystem/properties/HadoopStorageProperties.java}
(51%)
create mode 100644
fe/fe-filesystem/fe-filesystem-api/src/main/java/org/apache/doris/filesystem/properties/S3CompatibleFileSystemProperties.java
copy
fe/{fe-common/src/main/java/org/apache/doris/job/cdc/request/FetchTableSplitsRequest.java
=>
fe-filesystem/fe-filesystem-api/src/main/java/org/apache/doris/filesystem/properties/StorageKind.java}
(54%)
create mode 100644
fe/fe-filesystem/fe-filesystem-s3/src/main/java/org/apache/doris/filesystem/s3/S3CredentialsProviderFactory.java
create mode 100644
fe/fe-filesystem/fe-filesystem-s3/src/main/java/org/apache/doris/filesystem/s3/S3CredentialsProviderType.java
create mode 100644
fe/fe-filesystem/fe-filesystem-s3/src/main/java/org/apache/doris/filesystem/s3/S3FileSystemProperties.java
create mode 100644
fe/fe-filesystem/fe-filesystem-s3/src/test/java/org/apache/doris/filesystem/s3/S3CredentialsProviderFactoryTest.java
create mode 100644
fe/fe-filesystem/fe-filesystem-s3/src/test/java/org/apache/doris/filesystem/s3/S3FileSystemPropertiesTest.java
create mode 100644
regression-test/data/fault_injection_p0/test_doris_25531_string_overflow_fault_injection.out
create mode 100644
regression-test/data/nereids_rules_p0/bind_relation/bind_view_alias_star_agg.out
create mode 100644
regression-test/data/nereids_syntax_p0/test_simplify_in_predicate.out
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_mysql_job_async_split.groovy
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_mysql_job_async_split_uneven.groovy
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_postgres_job_async_split_multi_table.groovy
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_postgres_job_async_split_pause_resume.groovy
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_postgres_job_async_split_uneven.groovy
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_postgres_job_async_split_uneven_restart_fe.groovy
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/test_streaming_postgres_job_binlog_restart_fe.groovy
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/tvf/test_streaming_job_cdc_stream_postgres_async_split.groovy
create mode 100644
regression-test/suites/job_p0/streaming_job/cdc/tvf/test_streaming_job_cdc_stream_postgres_async_split_restart_fe.groovy
create mode 100644
regression-test/suites/nereids_rules_p0/bind_relation/bind_view_alias_star_agg.groovy
create mode 100644
regression-test/suites/pythonudf_p0/test_pythonudf_volatility.groovy
create mode 100644
regression-test/suites/query_p0/join/test_nestedloop_lazy_materialization.groovy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]