Skip to content

[fix](Nereids) cast to boolean wrong when constant folding by be (#39019)#39128

Merged
yiguolei merged 1 commit intoapache:branch-2.1from
morrySnow:2.1_39019
Aug 8, 2024
Merged

[fix](Nereids) cast to boolean wrong when constant folding by be (#39019)#39128
yiguolei merged 1 commit intoapache:branch-2.1from
morrySnow:2.1_39019

Conversation

@morrySnow
Copy link
Copy Markdown
Contributor

pick from master #39019

not add case because be return wrong answer for this

select cast(2.0 as boolean); -- should return 1 not 2

…che#39019)

pick from master apache#39019

not add case because be return wrong answer for this

select cast(2.0 as boolean); -- should return 1 not 2
@doris-robot
Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morrySnow
Copy link
Copy Markdown
Contributor Author

run buildall

@yiguolei yiguolei merged commit 08bd2ba into apache:branch-2.1 Aug 8, 2024
@morrySnow morrySnow deleted the 2.1_39019 branch August 9, 2024 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants