zhangbutao commented on code in PR #6095:
URL: https://github.com/apache/hive/pull/6095#discussion_r2390414899


##########
iceberg/iceberg-handler/src/test/queries/positive/iceberg_create_locally_zordered_table.q:
##########
@@ -0,0 +1,110 @@
+-- Mask neededVirtualColumns due to non-strict order
+--! qt:replace:/(\s+neededVirtualColumns:\s)(.*)/$1#Masked#/
+-- Mask the totalSize value as it can have slight variability, causing test 
flakiness
+--! qt:replace:/(\s+totalSize\s+)\S+(\s+)/$1#Masked#$2/
+-- Mask random uuid
+--! qt:replace:/(\s+uuid\s+)\S+(\s*)/$1#Masked#$2/
+-- Mask a random snapshot id
+--! qt:replace:/(\s+current-snapshot-id\s+)\S+(\s*)/$1#Masked#/
+-- Mask added file size
+--! qt:replace:/(\S\"added-files-size\\\":\\\")(\d+)(\\\")/$1#Masked#$3/
+-- Mask total file size
+--! qt:replace:/(\S\"total-files-size\\\":\\\")(\d+)(\\\")/$1#Masked#$3/
+-- Mask removed file size
+--! qt:replace:/(\S\"removed-files-size\\\":\\\")(\d+)(\\\")/$1#Masked#$3/
+-- Mask current-snapshot-timestamp-ms
+--! qt:replace:/(\s+current-snapshot-timestamp-ms\s+)\S+(\s*)/$1#Masked#$2/
+--! 
qt:replace:/(MAJOR\s+succeeded\s+)[a-zA-Z0-9\-\.\s+]+(\s+manual)/$1#Masked#$2/
+-- Mask iceberg version
+--! 
qt:replace:/(\S\"iceberg-version\\\":\\\")(\w+\s\w+\s\d+\.\d+\.\d+\s\(\w+\s\w+\))(\\\")/$1#Masked#$3/
+set hive.llap.io.enabled=true;
+set hive.vectorized.execution.enabled=true;
+set hive.optimize.shared.work.merge.ts.schema=true;
+
+-- Validates z-order on CREATE via clause.
+CREATE TABLE default.zorder_it_nulls (

Review Comment:
   > @zhangbutao Current PR implements end-to-end functionality for ZOrder, 
including support for CREATE and INSERT. I will have two more commits coming in 
for alter and compaction zorder support. Next PR will focus on adding alter 
table support for Zorder.
   
   @kokila-19 That's ok. 
   BTW, could you please supplement the SQL documentation as well? I don't want 
such great features to go unused due to a lack of documentation, as it's likely 
that many users aren't even aware of them. 
   To be honest, I've even forgotten a lot of the semantics we implemented for 
Iceberg, haha. 
   Perhaps it's about time we gradually improve our Hive documentation too. :) 
   Thanks.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to