BiteTheDDDDt opened a new pull request, #46631:
URL: https://github.com/apache/doris/pull/46631
### What problem does this PR solve?
forbid create mv with order clause number not equal with non-agg columns in
select clause
```cpp
*** Query id: 0-0 ***\
*** is nereids: 0 ***\
*** tablet id: 0 ***\
*** Aborted at 1736320677 (unix time) try "date -d @1736320677" if you are
using GNU date ***\
*** Current BE git commitID: 62a58bff4c ***\
*** SIGSEGV address not mapped to object (@0x0) received by PID 2618610 (TID
2619505 OR 0x7f090dacf700) from PID 0; stack trace: ***\
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int,
siginfo_t*, void*) at
/home/zcp/repo_center/doris_release/doris/be/src/common/signal_handler.h:421\
1# PosixSignals::chained_handler(int, siginfo*, void*) [clone .part.0] in
/home/sgalinis/java/jdk-17.0.12/lib/server/libjvm.so\
2# JVM_handle_linux_signal in
/home/sgalinis/java/jdk-17.0.12/lib/server/libjvm.so\
3# 0x00007F0B47C4E5B0 in /lib64/libc.so.6\
4#
doris::MultiBlockMerger::merge(std::vector<std::unique_ptr<doris::vectorized::Block,
std::default_delete<doris::vectorized::Block> >,
std::allocator<std::unique_ptr<doris::vectorized::Block,
std::default_delete<doris::vectorized::Block> > > > const&,
doris::RowsetWriter*, unsigned long*) at
/home/zcp/repo_center/doris_release/doris/be/src/olap/schema_change.cpp:142\
5#
doris::VBaseSchemaChangeWithSorting::_internal_sorting(std::vector<std::unique_ptr<doris::vectorized::Block,
std::default_delete<doris::vectorized::Block> >,
std::allocator<std::unique_ptr<doris::vectorized::Block,
std::default_delete<doris::vectorized::Block> > > > const&, doris::Version
const&, long, std::shared_ptr<doris::BaseTablet>, doris::RowsetTypePB,
doris::SegmentsOverlapPB, std::shared_ptr<doris::TabletSchema>) at
/home/zcp/repo_center/doris_release/doris/be/src/olap/schema_change.cpp:653\
6#
doris::VBaseSchemaChangeWithSorting::_inner_process(std::shared_ptr<doris::RowsetReader>,
doris::RowsetWriter*, std::shared_ptr<doris::BaseTablet>,
std::shared_ptr<doris::TabletSchema>,
std::shared_ptr<doris::TabletSchema>)::$_0::operator()() const at
/home/zcp/repo_center/doris_release/doris/be/src/olap/schema_change.cpp:564\
7#
doris::VBaseSchemaChangeWithSorting::_inner_process(std::shared_ptr<doris::RowsetReader>,
doris::RowsetWriter*, std::shared_ptr<doris::BaseTablet>,
std::shared_ptr<doris::TabletSchema>, std::shared_ptr<doris::TabletSchema>) at
/home/zcp/repo_center/doris_release/doris/be/src/olap/schema_change.cpp:620\
8# doris::SchemaChange::process(std::shared_ptr<doris::RowsetReader>,
doris::RowsetWriter*, std::shared_ptr<doris::BaseTablet>,
std::shared_ptr<doris::BaseTablet>, std::shared_ptr<doris::TabletSchema>,
std::shared_ptr<doris::TabletSchema>) at
/home/zcp/repo_center/doris_release/doris/be/src/olap/schema_change.h:120\
9#
doris::CloudSchemaChangeJob::_convert_historical_rowsets(doris::SchemaChangeParams
const&, doris::cloud::TabletJobInfoPB&) at
/home/zcp/repo_center/doris_release/doris/be/src/cloud/cloud_schema_change_job.cpp:300\
10#
doris::CloudSchemaChangeJob::process_alter_tablet(doris::TAlterTabletReqV2
const&) in /home/sgalinis/doris/apache-doris-3.0.3-rc04-bin-x64/be/lib/doris_be\
11# doris::alter_cloud_tablet_callback(doris::CloudStorageEngine&,
doris::TAgentTaskRequest const&) at
/home/zcp/repo_center/doris_release/doris/be/src/agent/task_worker_pool.cpp:1979\
12# std::_Function_handler<void (),
doris::TaskWorkerPool::submit_task(doris::TAgentTaskRequest
const&)::$_0::operator()<doris::TAgentTaskRequest
const&>(doris::TAgentTaskRequest const&)
const::\{lambda()#1\}>::_M_invoke(std::_Any_data const&) at
/var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/std_function.h:291\
13# doris::ThreadPool::dispatch_thread() in
/home/sgalinis/doris/apache-doris-3.0.3-rc04-bin-x64/be/lib/doris_be\
14# doris::Thread::supervise_thread(void*) at
/home/zcp/repo_center/doris_release/doris/be/src/util/thread.cpp:499\
15# start_thread in /lib64/libpthread.so.0\
16# __GI___clone in /lib64/libc.so.6}
```
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]