dengzhhu653 commented on a change in pull request #2344:
URL: https://github.com/apache/hive/pull/2344#discussion_r702828047
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java
##########
@@ -1554,41 +1553,45 @@ private boolean dropCreationMetadata(String catName,
String dbName, String table
constraintname =
constraintname!=null?normalizeIdentifier(constraintname):null;
List<MConstraint> mConstraints = null;
List<String> constraintNames = new ArrayList<>();
- Query query = null;
+ Query queryForConstraintName = null;
+ Query queryForMConstraint = null;
try {
- query = pm.newQuery("select constraintName from
org.apache.hadoop.hive.metastore.model.MConstraint where "
+ queryForConstraintName = pm.newQuery("select constraintName from
org.apache.hadoop.hive.metastore.model.MConstraint where "
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]