You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "hailin0 (via GitHub)" <gi...@apache.org> on 2023/05/25 14:06:53 UTC

[GitHub] [seatunnel] hailin0 commented on a diff in pull request #4786: [Hotfix][SQL Transform] SQL transform plugin bug

hailin0 commented on code in PR #4786:
URL: https://github.com/apache/seatunnel/pull/4786#discussion_r1205574862


##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/zeta/ZetaSQLEngine.java:
##########
@@ -182,8 +182,9 @@ public SeaTunnelRow transformBySQL(SeaTunnelRow inputRow) {
 
         // Project
         Object[] outputFields = project(inputFields);
-
-        return new SeaTunnelRow(outputFields);
+        SeaTunnelRow seaTunnelRow = new SeaTunnelRow(outputFields);
+        seaTunnelRow.setRowKind(inputRow.getRowKind());

Review Comment:
   good



-- 
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: commits-unsubscribe@seatunnel.apache.org

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