-
- Downloads
[SQL][SPARK-6471]: Metastore schema should only be a subset of parquet schema...
[SQL][SPARK-6471]: Metastore schema should only be a subset of parquet schema to support dropping of columns using replace columns Currently in the parquet relation 2 implementation, error is thrown in case merged schema is not exactly the same as metastore schema. But to support cases like deletion of column using replace column command, we can relax the restriction so that even if metastore schema is a subset of merged parquet schema, the query will work. Author: Yash Datta <Yash.Datta@guavus.com> Closes #5141 from saucam/replace_col and squashes the following commits: e858d5b [Yash Datta] SPARK-6471: Fix test cases, add a new test case for metastore schema to be subset of parquet schema 5f2f467 [Yash Datta] SPARK-6471: Metastore schema should only be a subset of parquet schema to support dropping of columns using replace columns
Showing
- sql/core/src/main/scala/org/apache/spark/sql/parquet/newParquet.scala 3 additions, 2 deletions.../main/scala/org/apache/spark/sql/parquet/newParquet.scala
- sql/core/src/test/scala/org/apache/spark/sql/parquet/ParquetSchemaSuite.scala 16 additions, 2 deletions...ala/org/apache/spark/sql/parquet/ParquetSchemaSuite.scala
Please register or sign in to comment