Skip to content

Commit 1082f5b

Browse files
author
Bhargava Vadlamani
committed
integral_types_decimal_cast_native_support
1 parent 8c3b9cd commit 1082f5b

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • native/spark-expr/src/conversion_funcs

native/spark-expr/src/conversion_funcs/cast.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,9 +1148,6 @@ fn is_datafusion_spark_compatible(
11481148
| DataType::Utf8
11491149
),
11501150
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
11541151
matches!(
11551152
to_type,
11561153
DataType::Boolean

0 commit comments

Comments
 (0)