-
- Downloads
[SQL] Add test case with workaround for reading partitioned Avro files
In order to read from partitioned Avro files we need to also set the `SERDEPROPERTIES` since `TBLPROPERTIES` are not passed to the initialization. This PR simply adds a test to make sure we don't break this workaround. Author: Michael Armbrust <michael@databricks.com> Closes #2340 from marmbrus/avroPartitioned and squashes the following commits: 6b969d6 [Michael Armbrust] fix style fea2124 [Michael Armbrust] Add test case with workaround for reading partitioned avro files.
Showing
- sql/hive/src/main/scala/org/apache/spark/sql/hive/TestHive.scala 68 additions, 1 deletion...e/src/main/scala/org/apache/spark/sql/hive/TestHive.scala
- sql/hive/src/test/resources/golden/Read Partitioned with AvroSerDe-0-e4501461c855cc9071a872a64186c3de 8 additions, 0 deletions...itioned with AvroSerDe-0-e4501461c855cc9071a872a64186c3de
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveSerDeSuite.scala 2 additions, 0 deletions.../org/apache/spark/sql/hive/execution/HiveSerDeSuite.scala
Loading
Please register or sign in to comment