Files
doris/be
amory b1ac39587b [fix](variant) fix variant used in order by back to legacy planner would meet core (#48332)
### What problem does this PR solve?
sql 
```
 SELECT    *,    ROW_NUMBER() OVER (     PARTITION BY orderid      ORDER BY v DESC   ) AS row_idfirst  FROM test_v_legacy order by orderid;
```
core:
```
F20250225 11:23:08.735848 1788347 column_object.h:439] should not call the method in column object
*** Check failure stack trace: ***
F20250225 11:23:08.736686 1788345 column_object.h:439] should not call the method in column object
*** Check failure stack trace: ***
    @     0x5555fa0821b6  google::LogMessage::SendToLog()
    @     0x5555fa0821b6  google::LogMessage::SendToLog()
    @     0x5555fa07ec00  google::LogMessage::Flush()
    @     0x5555fa07ec00  google::LogMessage::Flush()
    @     0x5555fa0829f9  google::LogMessageFatal::~LogMessageFatal()
    @     0x5555fa0829f9  google::LogMessageFatal::~LogMessageFatal()
    @     0x5555dd722b1c  doris::vectorized::ColumnObject::get_permutation()
    @     0x5555dd722b1c  doris::vectorized::ColumnObject::get_permutation()
    @     0x5555dd6b933c  doris::vectorized::ColumnNullable::get_permutation()
    @     0x5555dd6b933c  doris::vectorized::ColumnNullable::get_permutation()
    @     0x5555dde3997f  doris::vectorized::sort_block()
    @     0x5555dde3997f  doris::vectorized::sort_block()
    @     0x5555e2f13646  doris::vectorized::Sorter::partial_sort()
    @     0x5555e2f13646  doris::vectorized::Sorter::partial_sort()
    @     0x5555e2f1503b  doris::vectorized::FullSorter::_do_sort()
    @     0x5555e2f1503b  doris::vectorized::FullSorter::_do_sort()
    @     0x5555e2f15a2f  doris::vectorized::FullSorter::prepare_for_read()
    @     0x5555e2f15a2f  doris::vectorized::FullSorter::prepare_for_read()
    @     0x5555f97fb76a  doris::pipeline::SortSinkOperatorX::sink()
    @     0x5555f97fb76a  doris::pipeline::SortSinkOperatorX::sink()
    @     0x5555fa018798  doris::pipeline::PipelineXTask::execute()
    @     0x5555fa018798  doris::pipeline::PipelineXTask::execute()
    @     0x5555fa04efe5  doris::pipeline::TaskScheduler::_do_work()
    @     0x5555fa04efe5  doris::pipeline::TaskScheduler::_do_work()
    @     0x5555fa052f2b  doris::pipeline::TaskScheduler::start()::$_0::operator()()
    @     0x5555fa052f2b  doris::pipeline::TaskScheduler::start()::$_0::operator()()

```
Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [x] 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 -->
2025-02-26 20:27:43 +08:00
..