JingsongLi commented on code in PR #6296:
URL: https://github.com/apache/paimon/pull/6296#discussion_r2371149021


##########
paimon-spark/paimon-spark-common/src/main/java/org/apache/paimon/spark/SparkCatalog.java:
##########
@@ -661,6 +662,32 @@ private static FileTable convertToFileTable(Identifier 
ident, FormatTable format
         pathList.add(formatTable.location());
         Options options = Options.fromMap(formatTable.options());
         CaseInsensitiveStringMap dsOptions = new 
CaseInsensitiveStringMap(options.toMap());
+        FileTable sparkFileTable =

Review Comment:
   Create a method: `toSparkFormatTable`.
   
   And in this method, if use paimon implementation, create 
`PaimonFormatTable`, else `convertToFileTable`.



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