yuqi1129 commented on code in PR #14764:
URL: https://github.com/apache/gravitino/pull/14764#discussion_r4509348742


##########
catalogs/catalog-jdbc-doris/src/main/java/org/apache/gravitino/catalog/doris/operation/DorisTableOperations.java:
##########
@@ -805,7 +801,7 @@ protected void getTableStatus(Connection connection, String 
databaseName, String
     String sql =
         String.format(
             "SHOW ALTER TABLE COLUMN WHERE TableName = '%s' ORDER BY JobId 
DESC limit 1",
-            tableName);
+            escapeSqlLiteral(tableName, '\''));

Review Comment:
   OK, I will track the problem in the follow-up issue and do not expand the 
scope in this one. 



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