LiebingYu commented on code in PR #2273:
URL: https://github.com/apache/fluss/pull/2273#discussion_r2867201688


##########
fluss-server/src/main/java/org/apache/fluss/server/utils/ServerRpcMessageUtils.java:
##########
@@ -530,6 +530,7 @@ private static PbTableMetadata 
toPbTableMetadata(TableMetadata tableMetadata) {
                         .setTableId(tableInfo.getTableId())
                         .setSchemaId(tableInfo.getSchemaId())
                         
.setTableJson(tableInfo.toTableDescriptor().toJsonBytes())
+                        
.setRemoteDataDir(tableInfo.getRemoteDataDir().toString())

Review Comment:
   No, `remoteDataDir` will never be `null` of `TableInfo`. For tables meta 
created by old cluster which don't have `remoteDataDir` info will be fill by 
the default `remote.data.dir`.



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