File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import org.apache.parquet.io.ParquetDecodingException
2424import org .apache .parquet .schema .{MessageType , MessageTypeParser }
2525
2626import org .apache .spark .SparkException
27- import org .apache .spark .sql .AnalysisException
2827import org .apache .spark .sql .catalyst .ScalaReflection
2928import org .apache .spark .sql .execution .QueryExecutionException
3029import org .apache .spark .sql .execution .datasources .SchemaColumnConvertNotSupportedException
@@ -1591,7 +1590,7 @@ class ParquetSchemaSuite extends ParquetSchemaTest {
15911590 .add(" a" , nestedType, nullable = true )
15921591 .add(" c" , IntegerType , nullable = true )
15931592 }
1594- assertThrows[AnalysisException ] {
1593+ assertThrows[RuntimeException ] {
15951594 ParquetReadSupport .clipParquetSchema(
15961595 MessageTypeParser .parseMessageType(parquetSchema), catalystSchema, caseSensitive = false )
15971596 }
You can’t perform that action at this time.
0 commit comments