Details
Description
When case class InsertIntoHiveTable intializes a serde it explicitly passes null for the Configuration in Spark 1.5.0:
While in Spark 2.0.0, the HiveWriterContainer intializes a serde it also just passes null for the Configuration:
When we implement a hive serde, we want to use the hive configuration to get some static and dynamic settings, but we can not do it !
So this patch add the configuration when initialize hive serde.
Attachments
Attachments
Issue Links
- relates to
-
SPARK-19580 Support for avro.schema.url while writing to hive table
-
- Resolved
-
-
SPARK-17920 HiveWriterContainer passes null configuration to serde.initialize, causing NullPointerException in AvroSerde when using avro.schema.url
-
- Resolved
-
- links to