Hello!
  I would like to know if there is any feature in Spark Dataframe that when
is writing data to a Impala table, to also create that table when this
table was not previously cretaed in Impala .

For example, the code:

myDatafarme.write.mode(SaveMode.Overwrite).jdbc(jdbcURL, "books",
connectionProperties)

should create the table if it doesn't exists.

The table schema should be determined from the dataframe schema.

I look forward for your sugestions/ideas.

Regards,
 Florin

Reply via email to