Spark sql create external table