@@ -3081,18 +3081,9 @@ index 56076175d60..5872d9962cc 100644
30813081 val e = testSchemaMismatch(dir.getCanonicalPath, vectorizedReaderEnabled = true)
30823082 assert(e.getCause.isInstanceOf[SchemaColumnConvertNotSupportedException])
30833083diff --git a/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetTypeWideningSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetTypeWideningSuite.scala
3084- index 09ed6955a51..82924c83eb5 100644
3084+ index 09ed6955a51..236a4e99824 100644
30853085--- a/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetTypeWideningSuite.scala
30863086+++ b/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetTypeWideningSuite.scala
3087- @@ -24,7 +24,7 @@ import org.apache.parquet.format.converter.ParquetMetadataConverter
3088- import org.apache.parquet.hadoop.{ParquetFileReader, ParquetOutputFormat}
3089-
3090- import org.apache.spark.SparkException
3091- - import org.apache.spark.sql.{DataFrame, QueryTest, Row}
3092- + import org.apache.spark.sql.{DataFrame, IgnoreCometNativeDataFusion, QueryTest, Row}
3093- import org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanHelper
3094- import org.apache.spark.sql.execution.datasources.SchemaColumnConvertNotSupportedException
3095- import org.apache.spark.sql.functions.col
30963087@@ -65,7 +65,9 @@ class ParquetTypeWideningSuite
30973088 withClue(
30983089 s"with dictionary encoding '$dictionaryEnabled' with timestamp rebase mode " +
@@ -3123,66 +3114,6 @@ index 09ed6955a51..82924c83eb5 100644
31233114 )
31243115 }
31253116 test(s"parquet widening conversion $fromType -> $toType") {
3126- @@ -231,7 +234,8 @@ class ParquetTypeWideningSuite
3127- (Seq("2020-01-01", "2020-01-02", "1312-02-27"), DateType, TimestampType)
3128- )
3129- }
3130- - test(s"unsupported parquet conversion $fromType -> $toType") {
3131- + test(s"unsupported parquet conversion $fromType -> $toType",
3132- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3133- checkAllParquetReaders(values, fromType, toType, expectError = true)
3134- }
3135-
3136- @@ -257,7 +261,8 @@ class ParquetTypeWideningSuite
3137- (Seq("1", "2"), LongType, DecimalType(LongDecimal.precision, 1))
3138- )
3139- }
3140- - test(s"unsupported parquet conversion $fromType -> $toType") {
3141- + test(s"unsupported parquet conversion $fromType -> $toType",
3142- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3143- checkAllParquetReaders(values, fromType, toType,
3144- expectError =
3145- // parquet-mr allows reading decimals into a smaller precision decimal type without
3146- @@ -271,7 +276,8 @@ class ParquetTypeWideningSuite
3147- (Seq("2020-01-01", "2020-01-02", "1312-02-27"), TimestampNTZType, DateType))
3148- outputTimestampType <- ParquetOutputTimestampType.values
3149- }
3150- - test(s"unsupported parquet timestamp conversion $fromType ($outputTimestampType) -> $toType") {
3151- + test(s"unsupported parquet timestamp conversion $fromType ($outputTimestampType) -> $toType",
3152- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3153- withSQLConf(
3154- SQLConf.PARQUET_OUTPUT_TIMESTAMP_TYPE.key -> outputTimestampType.toString,
3155- SQLConf.PARQUET_INT96_REBASE_MODE_IN_WRITE.key -> LegacyBehaviorPolicy.CORRECTED.toString
3156- @@ -291,7 +297,8 @@ class ParquetTypeWideningSuite
3157- Seq(7 -> 5, 10 -> 5, 20 -> 5, 12 -> 10, 20 -> 10, 22 -> 20)
3158- }
3159- test(
3160- - s"parquet decimal precision change Decimal($fromPrecision, 2) -> Decimal($toPrecision, 2)") {
3161- + s"parquet decimal precision change Decimal($fromPrecision, 2) -> Decimal($toPrecision, 2)",
3162- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3163- checkAllParquetReaders(
3164- values = Seq("1.23", "10.34"),
3165- fromType = DecimalType(fromPrecision, 2),
3166- @@ -322,7 +329,8 @@ class ParquetTypeWideningSuite
3167- Seq((5, 2) -> (6, 4), (10, 4) -> (12, 7), (20, 5) -> (22, 8))
3168- }
3169- test(s"parquet decimal precision and scale change Decimal($fromPrecision, $fromScale) -> " +
3170- - s"Decimal($toPrecision, $toScale)"
3171- + s"Decimal($toPrecision, $toScale)",
3172- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")
3173- ) {
3174- checkAllParquetReaders(
3175- values = Seq("1.23", "10.34"),
3176- @@ -336,7 +344,8 @@ class ParquetTypeWideningSuite
3177- )
3178- }
3179-
3180- - test("parquet decimal type change Decimal(5, 2) -> Decimal(3, 2) overflows with parquet-mr") {
3181- + test("parquet decimal type change Decimal(5, 2) -> Decimal(3, 2) overflows with parquet-mr",
3182- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3183- withTempDir { dir =>
3184- withSQLConf(SQLConf.PARQUET_VECTORIZED_READER_ENABLED.key -> "false") {
3185- writeParquetFiles(
31863117diff --git a/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetVariantShreddingSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetVariantShreddingSuite.scala
31873118index 1cc6d3afbee..8275727fbb4 100644
31883119--- a/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetVariantShreddingSuite.scala
0 commit comments