wzhero1 commented on code in PR #6858:
URL: https://github.com/apache/paimon/pull/6858#discussion_r2652138385


##########
paimon-core/src/main/java/org/apache/paimon/table/system/AuditLogTable.java:
##########
@@ -722,19 +699,14 @@ public void setRowKind(RowKind kind) {
 
         @Override
         public boolean isNullAt(int pos) {
-            if (indexMapping[pos] < 0) {
-                // row kind is always not null
-                return false;
-            }
-            return super.isNullAt(pos);
+            return pos == rowkindPos ? false : super.isNullAt(pos);
         }
 
         @Override
         public BinaryString getString(int pos) {
-            if (indexMapping[pos] < 0) {
-                return BinaryString.fromString(row.getRowKind().shortString());
-            }
-            return super.getString(pos);
+            return pos == rowkindPos
+                    ? BinaryString.fromString(getRowKind().shortString())

Review Comment:
   For ap table, we need to get the `rowKind` column field (the regular column 
in schema) from `getRowKind()`



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

Reply via email to