Aihua Xu created HIVE-13050: ------------------------------- Summary: The row count is not correct after changing partition location to point to another partition location Key: HIVE-13050 URL: https://issues.apache.org/jira/browse/HIVE-13050 Project: Hive Issue Type: Bug Components: Query Processor Affects Versions: 2.1.0 Reporter: Aihua Xu Assignee: Aihua Xu
{noformat} CREATE TABLE test (s STRING) PARTITIONED BY (p SMALLINT) location 'data/test'; INSERT INTO test PARTITION (`p`=1) VALUES ("v1"); INSERT INTO test PARTITION (`p`=2) VALUES ("v2"); ALTER TABLE test PARTITION (`p`=2) SET LOCATION '/data/test/p=1'; {noformat} {{select * from test;}} shows 2 rows while {{SELECT count(*) FROM test;}} shows 1. That is inconsistent. -- This message was sent by Atlassian JIRA (v6.3.4#6332)