Uh oh!
There was an error while loading. Please reload this page.
[fix](nereids) fix generate column need add cast in stream load - #49167
Merged
Conversation
Thearas
commented
Mar 17, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
feiniaofeiafeiforce-pushed
the
fix_generated_column
branch
from
March 17, 2025 13:23
c1a6f62 to
a6c62b6Comparefeiniaofeiafei
commented
Mar 18, 2025
CollaboratorAuthor
run buildall |
doris-robot
commented
Mar 18, 2025
TPC-H: Total hot run time: 32124 ms |
doris-robot
commented
Mar 18, 2025
TPC-DS: Total hot run time: 185040 ms |
doris-robot
commented
Mar 18, 2025
ClickBench: Total hot run time: 31.74 s |
Comment on lines
+1036
to
+1043
| Expression expressionForLoad = expression.rewriteDownShortCircuit(e -> { | ||
| if (e instanceof SlotReference && !(e.getDataType() instanceof CharacterType)) { | ||
| return new Cast(e, e.getDataType()); | ||
| } | ||
| return e; | ||
| }); |
Contributor
There was a problem hiding this comment.
add comment to explain why need cast e to itself's type
feiniaofeiafeiforce-pushed
the
fix_generated_column
branch
2 times, most recently
from
March 20, 2025 10:02
afcb04d to
09e59c1Comparefeiniaofeiafei
commented
Mar 20, 2025
CollaboratorAuthor
run buildall |
doris-robot
commented
Mar 20, 2025
TPC-H: Total hot run time: 34082 ms |
doris-robot
commented
Mar 20, 2025
TPC-DS: Total hot run time: 186288 ms |
doris-robot
commented
Mar 20, 2025
ClickBench: Total hot run time: 31.05 s |
morrySnowforce-pushed
the
fix_generated_column
branch
from
March 31, 2025 03:26
09e59c1 to
35d36f1ComparemorrySnow
commented
Apr 1, 2025
Contributor
run buildall |
doris-robot
commented
Apr 1, 2025
TPC-H: Total hot run time: 34077 ms |
doris-robot
commented
Apr 1, 2025
TPC-DS: Total hot run time: 192277 ms |
doris-robot
commented
Apr 1, 2025
ClickBench: Total hot run time: 30.58 s |
morrySnowforce-pushed
the
fix_generated_column
branch
from
April 7, 2025 03:20
35d36f1 to
9e445b8ComparemorrySnow
commented
Apr 7, 2025
Contributor
run buildall |
doris-robot
commented
Apr 7, 2025
TPC-H: Total hot run time: 33953 ms |
doris-robot
commented
Apr 7, 2025
TPC-DS: Total hot run time: 191908 ms |
doris-robot
commented
Apr 7, 2025
ClickBench: Total hot run time: 31.42 s |
feiniaofeiafei
commented
Apr 7, 2025
CollaboratorAuthor
run feut |
starocean999
approved these changes
Apr 14, 2025
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
morrySnow
approved these changes
Apr 14, 2025
github-actionsBot
pushed a commit
that referenced
this pull request
Apr 14, 2025
### What problem does this PR solve? Related PR: #35284 Problem Summary: Generate column need add cast(casting slot to its own type) in stream load, because when loading data(stream load and other load), the slots reading from files are string type. So we need to cast it to its own type to avoid error.
seawinde pushed a commit
to seawinde/doris
that referenced
this pull request
Apr 17, 2025
…he#49167) ### What problem does this PR solve? Related PR: apache#35284 Problem Summary: Generate column need add cast(casting slot to its own type) in stream load, because when loading data(stream load and other load), the slots reading from files are string type. So we need to cast it to its own type to avoid error.
koarz pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
…he#49167) ### What problem does this PR solve? Related PR: apache#35284 Problem Summary: Generate column need add cast(casting slot to its own type) in stream load, because when loading data(stream load and other load), the slots reading from files are string type. So we need to cast it to its own type to avoid error.
suxiaogang223 pushed a commit
to suxiaogang223/doris
that referenced
this pull request
Jul 15, 2025
Hastyshell pushed a commit
to Hastyshell/doris
that referenced
this pull request
Jul 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #35284
Problem Summary:
Generate column need add cast(casting slot to its own type) in stream load, because when loading data(stream load and other load), the slots reading from files are string type. So we need to cast it to its own type to avoid error.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)