LiebingYu commented on code in PR #2273:
URL: https://github.com/apache/fluss/pull/2273#discussion_r2867211785
##########
fluss-server/src/main/java/org/apache/fluss/server/coordinator/CoordinatorRequestBatch.java:
##########
@@ -83,6 +84,7 @@ public class CoordinatorRequestBatch {
private static final Schema EMPTY_SCHEMA = Schema.newBuilder().build();
private static final TableDescriptor EMPTY_TABLE_DESCRIPTOR =
TableDescriptor.builder().schema(EMPTY_SCHEMA).distributedBy(0).build();
+ private static final FsPath EMPTY_REMOTE_DATA_DIR = new FsPath("/");
Review Comment:
The rationale here is to ensure TableInfo.remoteDataDir is never null,
thereby avoiding excessive null-checks throughout the codebase.
--
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]