Savemode.append to existing Hive table


#1

Hi
I have one use case
step 1: create an hive table using .hql
step 2: read from a dataframe and write it to the table created as part of above step.
dataframe.write.mode(SaveMode.Append). saveAsTable(“order_jit_2”)

its not working
error : format of the existing table is hie format and it doesnt match the specified format parquet file

But if i create the table using spark it is working

Please share the reason


Learn Spark 1.6.x or Spark 2.x on our state of the art big data labs

  • Click here for access to state of the art 13 node Hadoop and Spark Cluster