soumyakanti3578 commented on code in PR #6197:
URL: https://github.com/apache/hive/pull/6197#discussion_r2662819437
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java:
##########
@@ -3179,8 +3180,8 @@ private RelNode genTableLogicalPlan(String tableAlias, QB
qb) throws SemanticExc
LOG.warn("No password found for accessing {} table via JDBC",
fullyQualifiedTabName);
}
final String catalogName =
tabMetaData.getProperty(Constants.JDBC_CATALOG);
- final String schemaName =
tabMetaData.getProperty(Constants.JDBC_SCHEMA);
- final String tableName =
tabMetaData.getProperty(Constants.JDBC_TABLE);
+ final String schemaName =
unescapeHiveJdbcIdentifier(tabMetaData.getProperty(Constants.JDBC_SCHEMA));
+ final String tableName =
unescapeHiveJdbcIdentifier(tabMetaData.getProperty(Constants.JDBC_TABLE));
Review Comment:
As discussed above in another comment, we should maybe decide on a quoting
character for Hive.
--
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]