Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

unable to persist/load data to Hive table

unable to persist/load data to Hive table

New Contributor

We are using a Scala program to persist data in Hive table on HDP 3.0.

We are executing following line of code.

final_df.write.format("com.hortonworks.spark.sql.hive.llap.HiveWarehouseConnector").mode("overwrite").option("table", tgttablename).save()

Once executed it does not give any error, neither it is writing any data into the hive table. Kindly look at this asap.

Don't have an account?
Coming from Hortonworks? Activate your account here