Hi, 

I am trying to create an external table WITH partitions using SPARK. 

Currently I am using catalog.createExternalTable(cleanTableName, "ORC",
schema, Map("path" -> s"s3://$location/"))

Does createExternalTable have options that can create a table with
partitions? I assume it would be a key-value in the options argument such as
"partitioned by" -> "date".

There is no documentation at
https://spark.apache.org/docs/preview/api/java/org/apache/spark/sql/catalog/Catalog.html
 
So any help would be appreciated! 

Thanks



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Options-for-method-createExternalTable-tp27764.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to