@@ -3036,18 +3036,9 @@ index 56076175d60..5872d9962cc 100644
30363036 val e = testSchemaMismatch(dir.getCanonicalPath, vectorizedReaderEnabled = true)
30373037 assert(e.getCause.isInstanceOf[SchemaColumnConvertNotSupportedException])
30383038diff --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
3039- index 09ed6955a51..82924c83eb5 100644
3039+ index 09ed6955a51..236a4e99824 100644
30403040--- a/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetTypeWideningSuite.scala
30413041+++ b/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetTypeWideningSuite.scala
3042- @@ -24,7 +24,7 @@ import org.apache.parquet.format.converter.ParquetMetadataConverter
3043- import org.apache.parquet.hadoop.{ParquetFileReader, ParquetOutputFormat}
3044-
3045- import org.apache.spark.SparkException
3046- - import org.apache.spark.sql.{DataFrame, QueryTest, Row}
3047- + import org.apache.spark.sql.{DataFrame, IgnoreCometNativeDataFusion, QueryTest, Row}
3048- import org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanHelper
3049- import org.apache.spark.sql.execution.datasources.SchemaColumnConvertNotSupportedException
3050- import org.apache.spark.sql.functions.col
30513042@@ -65,7 +65,9 @@ class ParquetTypeWideningSuite
30523043 withClue(
30533044 s"with dictionary encoding '$dictionaryEnabled' with timestamp rebase mode " +
@@ -3078,66 +3069,6 @@ index 09ed6955a51..82924c83eb5 100644
30783069 )
30793070 }
30803071 test(s"parquet widening conversion $fromType -> $toType") {
3081- @@ -231,7 +234,8 @@ class ParquetTypeWideningSuite
3082- (Seq("2020-01-01", "2020-01-02", "1312-02-27"), DateType, TimestampType)
3083- )
3084- }
3085- - test(s"unsupported parquet conversion $fromType -> $toType") {
3086- + test(s"unsupported parquet conversion $fromType -> $toType",
3087- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3088- checkAllParquetReaders(values, fromType, toType, expectError = true)
3089- }
3090-
3091- @@ -257,7 +261,8 @@ class ParquetTypeWideningSuite
3092- (Seq("1", "2"), LongType, DecimalType(LongDecimal.precision, 1))
3093- )
3094- }
3095- - test(s"unsupported parquet conversion $fromType -> $toType") {
3096- + test(s"unsupported parquet conversion $fromType -> $toType",
3097- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3098- checkAllParquetReaders(values, fromType, toType,
3099- expectError =
3100- // parquet-mr allows reading decimals into a smaller precision decimal type without
3101- @@ -271,7 +276,8 @@ class ParquetTypeWideningSuite
3102- (Seq("2020-01-01", "2020-01-02", "1312-02-27"), TimestampNTZType, DateType))
3103- outputTimestampType <- ParquetOutputTimestampType.values
3104- }
3105- - test(s"unsupported parquet timestamp conversion $fromType ($outputTimestampType) -> $toType") {
3106- + test(s"unsupported parquet timestamp conversion $fromType ($outputTimestampType) -> $toType",
3107- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3108- withSQLConf(
3109- SQLConf.PARQUET_OUTPUT_TIMESTAMP_TYPE.key -> outputTimestampType.toString,
3110- SQLConf.PARQUET_INT96_REBASE_MODE_IN_WRITE.key -> LegacyBehaviorPolicy.CORRECTED.toString
3111- @@ -291,7 +297,8 @@ class ParquetTypeWideningSuite
3112- Seq(7 -> 5, 10 -> 5, 20 -> 5, 12 -> 10, 20 -> 10, 22 -> 20)
3113- }
3114- test(
3115- - s"parquet decimal precision change Decimal($fromPrecision, 2) -> Decimal($toPrecision, 2)") {
3116- + s"parquet decimal precision change Decimal($fromPrecision, 2) -> Decimal($toPrecision, 2)",
3117- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3118- checkAllParquetReaders(
3119- values = Seq("1.23", "10.34"),
3120- fromType = DecimalType(fromPrecision, 2),
3121- @@ -322,7 +329,8 @@ class ParquetTypeWideningSuite
3122- Seq((5, 2) -> (6, 4), (10, 4) -> (12, 7), (20, 5) -> (22, 8))
3123- }
3124- test(s"parquet decimal precision and scale change Decimal($fromPrecision, $fromScale) -> " +
3125- - s"Decimal($toPrecision, $toScale)"
3126- + s"Decimal($toPrecision, $toScale)",
3127- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")
3128- ) {
3129- checkAllParquetReaders(
3130- values = Seq("1.23", "10.34"),
3131- @@ -336,7 +344,8 @@ class ParquetTypeWideningSuite
3132- )
3133- }
3134-
3135- - test("parquet decimal type change Decimal(5, 2) -> Decimal(3, 2) overflows with parquet-mr") {
3136- + test("parquet decimal type change Decimal(5, 2) -> Decimal(3, 2) overflows with parquet-mr",
3137- + IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/4352")) {
3138- withTempDir { dir =>
3139- withSQLConf(SQLConf.PARQUET_VECTORIZED_READER_ENABLED.key -> "false") {
3140- writeParquetFiles(
31413072diff --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
31423073index 1cc6d3afbee..8275727fbb4 100644
31433074--- a/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetVariantShreddingSuite.scala
0 commit comments