harshitaajoshi commented on code in PR #17526:
URL: https://github.com/apache/iceberg/pull/17526#discussion_r3723936598


##########
core/src/main/java/org/apache/iceberg/jdbc/JdbcCatalog.java:
##########
@@ -235,9 +237,13 @@ private void updateSchemaIfRequired() {
       connections.run(
           conn -> {
             DatabaseMetaData dbMeta = conn.getMetaData();
+            String escape = dbMeta.getSearchStringEscape();
             try (ResultSet typeColumn =
                 dbMeta.getColumns(
-                    null, null, JdbcUtil.CATALOG_TABLE_VIEW_NAME, 
JdbcUtil.RECORD_TYPE)) {
+                    JdbcUtil.metadataCatalog(conn),
+                    null,

Review Comment:
   Same reasoning as above, replied there.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to