Skip to content

Conversation

@eldenmoon
Copy link
Member

@eldenmoon eldenmoon commented Oct 30, 2023

Proposed changes

    select null;

The above sql from thrift api will cause crash in write_column_to_arrow since it's column const,
we should convert to full column

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

…e to arrow format

```
select null;
```

The above sql from thrift api will cause crash in `write_column_to_arrow` since it's column const,
we should convert to full column
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@eldenmoon eldenmoon added usercase Important user case type label dev/2.0.3 labels Oct 30, 2023
@eldenmoon
Copy link
Member Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.37% (8475/22676)
Line Coverage: 29.67% (68530/230981)
Region Coverage: 28.24% (35585/126030)
Branch Coverage: 25.11% (18221/72564)
Coverage Report: http://coverage.selectdb-in.cc/coverage/cb2a102a837ad6578ae0dd5c3c5097b06ae6c972_cb2a102a837ad6578ae0dd5c3c5097b06ae6c972/report/index.html

@doris-robot
Copy link

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.31 seconds
stream load tsv: 556 seconds loaded 74807831229 Bytes, about 128 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size: 17162013411 Bytes

Copy link
Contributor

@xiaokang xiaokang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 30, 2023
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@xiaokang
Copy link
Contributor

can you add a testcase

@eldenmoon
Copy link
Member Author

can you add a testcase

such case is difficult to add, and i cant find any demo

Copy link
Contributor

@qidaye qidaye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qidaye qidaye merged commit 619f2bb into apache:master Oct 30, 2023
@eldenmoon eldenmoon deleted the dev-thrift-null branch November 2, 2023 02:00
eldenmoon added a commit to eldenmoon/incubator-doris that referenced this pull request Nov 2, 2023
…e to arrow format (apache#26111)

```
select null;
```

The above sql from thrift api will cause crash in `write_column_to_arrow` since it's column const,
we should convert to full column
xiaokang pushed a commit that referenced this pull request Nov 2, 2023
…e to arrow format (#26111) (#26264)

The sql `select null` from thrift api will cause crash in `write_column_to_arrow` since it's column const,
we should convert to full column
dutyu pushed a commit to dutyu/doris that referenced this pull request Nov 4, 2023
…e to arrow format (apache#26111)

```
select null;
```

The above sql from thrift api will cause crash in `write_column_to_arrow` since it's column const,
we should convert to full column
seawinde pushed a commit to seawinde/doris that referenced this pull request Nov 13, 2023
…e to arrow format (apache#26111)

```
select null;
```

The above sql from thrift api will cause crash in `write_column_to_arrow` since it's column const,
we should convert to full column
gnehil pushed a commit to gnehil/doris that referenced this pull request Dec 4, 2023
…e to arrow format (apache#26111) (apache#26264)

The sql `select null` from thrift api will cause crash in `write_column_to_arrow` since it's column const,
we should convert to full column
XuJianxu pushed a commit to XuJianxu/doris that referenced this pull request Dec 14, 2023
…e to arrow format (apache#26111)

```
select null;
```

The above sql from thrift api will cause crash in `write_column_to_arrow` since it's column const,
we should convert to full column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.0.3-merged reviewed usercase Important user case type label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants