It seems that the Hortonworks Hive Warehouse Connector up to v.1.0.0 doesn't support schema updates. I try to use
hive
.createTable(tableName)
.ifNotExists()
.column(name, type)
.create()
if table exist but with different schema and nothing happens. And then I try to write DataFrame with different schema.
dataFrame
.write
.format("com.hortonworks.spark.sql.hive.llap.HiveWarehouseConnector")
.save()
and nothing happens too. I expect that an AnalysisException should be thrown as Spark does it.