You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ShiftLeft/ShiftRight with long type left and integer type right expression causes DataFusion error #134
ShiftLeft/ShiftRight are bitwise shift left/right expressions in DataFusion. DataFusion assumes left and right expressions of above two expressions must be in same types. But in Spark, ShiftLeft/ShiftRight accepts long type and integer type for left expression, and integer type for right expression.
So when left expression is long type and right expression is integer type. DataFusion's bitwise shift expressions return Error:
Cause: org.apache.comet.CometNativeException: called `Result::unwrap()` on an `Err` value: Internal("Cannot convert Int32(2) to i64")
Steps to reproduce
Doing ShiftLeft/ShiftRight expressions with long type left and integer type right expressions.
Expected behavior
ShiftLeft/ShiftRight with long type left and integer type right expression should work with DataFusion.
Activity