In the Spark docs, there are 2 ways to CREATE TABLE
- DATA_SOURCE format
- Hive format
Syntactically, there doesn't seem to be much difference between them other than the storage clauses. i.e. 'USING <>' (for datasource) vs 'STORED AS <>' (for hive format).
Internally, what are the differences between the two? What are the situations when someone should prefer one over the other?
Thanks!