pvary commented on a change in pull request #1341:
URL: https://github.com/apache/hive/pull/1341#discussion_r463404741



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java
##########
@@ -2960,4 +2977,22 @@ public void lockDbTable(String tableName) throws 
MetaException {
       throw new MetaException("Error while locking table " + tableName + ": " 
+ sqle.getMessage());
     }
   }
+
+  public void deleteColumnStatsState(long tbl_id) throws MetaException {
+    // @formatter:off
+    String queryText = ""
+        + "delete from " + PARTITION_PARAMS + " pp"
+            + " using " + PARTITIONS + " p "
+            + " where "
+            + "   p.\"PART_ID = pp.\"PART_ID\""

Review comment:
       Please carefully check every ". Postgres and MySql are very problematic 




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to