Skip to content

support unsigned numeric data type in UnwrapCastInBinaryComparison rule #3702

@liukun4515

Description

@liukun4515
    This plan doesn't look ideal to me -- since `col_int32` is int32 I think the exprs could be rewritten to 
CASE WHEN #test.col_int32 > Int32(0) THEN Int32(1) ELSE Int32(0) END

Could be done as a follow on PR for sure

Originally posted by @alamb in #3699 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions