Member since
01-09-2019
1
Post
0
Kudos Received
0
Solutions
01-09-2019
02:30 PM
I'm trying to save dateframe in table hive,: .toDF() .repartition($"col", $"col2", $"col3", $"col4") .write .format("parquet") .mode(saveMode) .partitionBy("col", "col2", "col3", "col4") .saveAsTable("db.bloc_views") But i get this error. The format of the existing table project_bsc_dhr.bloc_views is `HiveFileFormat`. It doesn't match the specified format `ParquetFileFormat`.;
org.apache.spark.sql.AnalysisException: The format of the existing table project_bsc_dhr.bloc_views is `HiveFileFormat`. It doesn't match the specified format `ParquetFileFormat`.;
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Spark