How to write a table to hive from spark without using the warehouse connector in HDP 3.1
问题 when trying to use spark 2.3 on HDP 3.1 to write to a Hive table without the warehouse connector directly into hives schema using: spark-shell --driver-memory 16g --master local[3] --conf spark.hadoop.metastore.catalog.default=hive val df = Seq(1,2,3,4).toDF spark.sql("create database foo") df.write.saveAsTable("foo.my_table_01") fails with: Table foo.my_table_01 failed strict managed table checks due to the following reason: Table is marked as a managed table but is not transactional but a: