1
0

[HUDI-2180] Fix Compile Error For Spark3 (#3274)

This commit is contained in:
pengzhiwei
2021-07-15 00:02:28 +08:00
committed by GitHub
parent 52524b659d
commit 93967404a7

View File

@@ -35,9 +35,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
public class TestParquet2SparkSchemaUtils {
private final SparkToParquetSchemaConverter spark2ParquetConverter =
new SparkToParquetSchemaConverter(
(Boolean) SQLConf.PARQUET_WRITE_LEGACY_FORMAT().defaultValue().get(),
SQLConf.ParquetOutputTimestampType$.MODULE$.INT96());
new SparkToParquetSchemaConverter(new SQLConf());
private final SparkSqlParser parser = new SparkSqlParser(new SQLConf());
@Test