Description
In V1, we can create table with sorted bucket like the following:
sql("CREATE TABLE tbl(a INT, b INT) USING parquet " + "CLUSTERED BY (a) SORTED BY (b) INTO 5 BUCKETS")
However, creating table with sorted bucket in V2 failed with Exception
org.apache.spark.sql.AnalysisException: Cannot convert bucketing with sort columns to a transform.
We should be able to create table with sorted bucket in V2.