We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c3b9cd commit 1082f5bCopy full SHA for 1082f5b
1 file changed
native/spark-expr/src/conversion_funcs/cast.rs
@@ -1148,9 +1148,6 @@ fn is_datafusion_spark_compatible(
1148
| DataType::Utf8
1149
),
1150
DataType::Int8 | DataType::Int16 | DataType::Int32 | DataType::Int64 => {
1151
- // note that the cast from Int32/Int64 -> Decimal128 here is actually
1152
- // not compatible with Spark (no overflow checks) but we have tests that
1153
- // rely on this cast working, so we have to leave it here for now
1154
matches!(
1155
to_type,
1156
DataType::Boolean
0 commit comments