kishendas commented on a change in pull request #1095:
URL: https://github.com/apache/hive/pull/1095#discussion_r443065722



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
##########
@@ -1230,14 +1255,22 @@ public void dropTable(String dbName, String tableName, 
boolean deleteData,
    */
   public void dropTable(String dbName, String tableName, boolean deleteData,
       boolean ignoreUnknownTab, boolean ifPurge) throws HiveException {
+
     try {
+      Table tbl = null;

Review comment:
       Removed

##########
File path: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
##########
@@ -5057,7 +5096,10 @@ public static boolean isHadoop1() {
   public List<Partition> exchangeTablePartitions(Map<String, String> 
partitionSpecs,
       String sourceDb, String sourceTable, String destDb,
       String destinationTableName) throws HiveException {
+
     try {
+      Table srcTbl = getTable(sourceDb, sourceTable);

Review comment:
       Removed

##########
File path: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
##########
@@ -5560,12 +5604,16 @@ public void cacheFileMetadata(
 
   public void dropConstraint(String dbName, String tableName, String 
constraintName)
     throws HiveException, NoSuchObjectException {
+
     try {
+      Table tbl = getTable(dbName, tableName);

Review comment:
       Removed




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

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