okumin commented on code in PR #5541:
URL: https://github.com/apache/hive/pull/5541#discussion_r1879310338


##########
parser/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g:
##########
@@ -1840,6 +1841,14 @@ tableImplBuckets
     -> ^(TOK_ALTERTABLE_BUCKETS $num)
     ;
 
+tableWriteOrdered
+@init { pushMsg("table sorted specification", state); }
+@after { popMsg(state); }
+    :
+      KW_WRITE KW_ORDERED KW_BY sortCols=columnNameOrderList

Review Comment:
   First of all, I think the consistency between ALTER TABLE and CREATE TABLE 
is the most important.
   On top of that, I think Spark is the most common engine for Iceberg. I'm 
reading O'Reilly's "Apache Iceberg: The Definitive Guide", and the first 
example of any feature is almost always Spark SQL. My preference here is to use 
the syntax introduced for Spark.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to