title: SparkSQL table creation CLUSTER BY not supported
body: <p>As per the Spark doc <a href="https://spark.apache.org/docs/2.1.0/sql-programming-guide.html#supported-hive-features" rel="noreferrer">https://spark.apache.org/docs/2.1.0/sql-programming-guide.html#supported-hive-features</a> the hive statement CLUSTER BY is supported. But when i tried to create a table using the following query from beeline</p>
  
  <pre><code>CREATE TABLE set_bucketing_test (key INT, value STRING) CLUSTERED BY (key) INTO 10 BUCKETS;
  </code></pre>
  
  <p>i get the following error</p>
  
  <pre><code>Error: org.apache.spark.sql.catalyst.parser.ParseException:
  Operation not allowed: CREATE TABLE ... CLUSTERED BY(line 1, pos 0)
  </code></pre>
  
  <p>Not sure what mistake i'm doing. Any help?</p>