nsivarajan commented on code in PR #63240:
URL: https://github.com/apache/doris/pull/63240#discussion_r3256377027


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -4861,6 +4865,10 @@ public static void getDdlStmt(Command command, String 
dbName, TableIf table, Lis
             if (icebergExternalTable.hasSortOrder()) {
                 sb.append("\n").append(icebergExternalTable.getSortOrderSql());
             }
+            String partitionSpecSql = 
icebergExternalTable.getPartitionSpecSql();
+            if (!partitionSpecSql.isEmpty()) {

Review Comment:
   This PR followed , getSortOrderSql() pattern - missed on edge case, now a 
new commit fixes it. fixing getSortOrderSql() will be done in next PR



-- 
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