zhangbutao commented on code in PR #4292:
URL: https://github.com/apache/hive/pull/4292#discussion_r1208405617
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/QBParseInfo.java:
##########
@@ -211,8 +211,13 @@ public boolean isDestToOpTypeInsertOverwrite(String
clause) {
/**
* See also {@link #getInsertOverwriteTables()}
*/
- public boolean isInsertIntoTable(String dbName, String table) {
- String fullName = dbName + "." + table;
+ public boolean isInsertIntoTable(String dbName, String table, String
branchName) {
+ String fullName;
+ if (branchName != null) {
Review Comment:
Done. Thanks.
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java:
##########
@@ -5406,16 +5406,16 @@ protected Table getTableObjectByName(String tabName,
boolean throwException) thr
String[] names = Utilities.getDbTableName(tabName);
final String tableName = names[1];
final String dbName = names[0];
- String metaTable = null;
+ String tableIdentifier = null;
if (names.length == 3) {
- metaTable = names[2];
+ tableIdentifier = names[2];
}
String fullyQualName = dbName + "." + tableName;
- if (metaTable != null) {
- fullyQualName = fullyQualName + "." + metaTable;
+ if (tableIdentifier != null) {
+ fullyQualName = fullyQualName + "." + tableIdentifier;
Review Comment:
Done.
--
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]