Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-615] Add tackling for ColumnarEqualTo type in getResultAttrFromExpr of ConverterUtils #616

Merged
merged 1 commit into from
Dec 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,9 @@ object ConverterUtils extends Logging {
new AttributeReference(name, DoubleType, d.nullable)()
case m: ColumnarMultiply =>
new AttributeReference(name, m.dataType, m.nullable)()
// for situation like: case when x = y
case cet: ColumnarEqualTo =>
new AttributeReference(name, cet.dataType, cet.nullable)()
case other =>
val a = if (name != "None") {
new Alias(other, name)()
Expand Down