I am trying to understand the spark DataFrame API method called saveAsTable.
I have following question
- If I simply write a dataframe using saveAsTable API
df7.write.saveAsTable("t1")
, (assuming t1 did not exist earlier), will the newly created table be a hive table which can be read outside spark using Hive QL ? - Does spark also create some non-hive table (which are created using saveAsTable API but can not be read outside spark using HiveQL)?
- How can check if a table is Hive Table or Non-Hive table ?
(I am new to big data processing, so pardon me if question is not phrased properly)