MehulBatra commented on code in PR #2347:
URL: https://github.com/apache/fluss/pull/2347#discussion_r2712760921
##########
fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/catalog/FlinkCatalog.java:
##########
@@ -303,6 +305,18 @@ public CatalogBaseTable getTable(ObjectPath objectPath)
throws TableNotExistException, CatalogException {
// may be should be as a datalake table
String tableName = objectPath.getObjectName();
+
+ // Check if this is a virtual table ($changelog or $binlog)
+ if (tableName.endsWith(CHANGELOG_TABLE_SUFFIX)) {
+ return getVirtualChangelogTable(objectPath);
+ } else if (tableName.endsWith(BINLOG_TABLE_SUFFIX)) {
Review Comment:
Good catch, I would have missed it
--
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]