Eugene Koifman created HIVE-14770: ------------------------------------- Summary: too many locks acquired? Key: HIVE-14770 URL: https://issues.apache.org/jira/browse/HIVE-14770 Project: Hive Issue Type: Bug Components: Transactions Reporter: Eugene Koifman Assignee: Eugene Koifman
need to verify UpdateDeleteSemanticAnalyzer.reparseAndSuperAnalyze() has {noformat} if (inputIsPartitioned(inputs)) { // In order to avoid locking the entire write table we need to replace the single WriteEntity // with a WriteEntity for each partition outputs.clear(); for (ReadEntity input : inputs) { if (input.getTyp() == Entity.Type.PARTITION) { WriteEntity.WriteType writeType = deleting() ? WriteEntity.WriteType.DELETE : WriteEntity.WriteType.UPDATE; outputs.add(new WriteEntity(input.getPartition(), writeType)); } } } else { {noformat} but this seems to assume that each partition read is also written shouldn't this check isWritten()? see HIVE-11848 -- This message was sent by Atlassian JIRA (v6.3.4#6332)