[jira] [Created] (HIVE-25493) TBLPROPERTIES upper- vs. lower-case confusion

2021-08-31 Thread Matt McCline (Jira)
Matt McCline created HIVE-25493:
---

 Summary: TBLPROPERTIES upper- vs. lower-case confusion
 Key: HIVE-25493
 URL: https://issues.apache.org/jira/browse/HIVE-25493
 Project: Hive
  Issue Type: Bug
Affects Versions: 3.1.2
Reporter: Matt McCline
Assignee: Matt McCline


User confused by ALTER TABLE SET PROPERTIES difference between 
'EXTERNAL'='FALSE' (ignored adds 2 properties EXTERNAL and FALSE) and 
'external'='false' (transaction error).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (HIVE-25492) Major query-based compaction is skipped if partition is empty

2021-08-31 Thread Karen Coppage (Jira)
Karen Coppage created HIVE-25492:


 Summary: Major query-based compaction is skipped if partition is 
empty
 Key: HIVE-25492
 URL: https://issues.apache.org/jira/browse/HIVE-25492
 Project: Hive
  Issue Type: Bug
Reporter: Karen Coppage


Currently if the result of query-based compaction is an empty base, delta, or 
delete delta, the empty directory is deleted.

This is because of minor compaction – if there are only deltas to compact, then 
no compacted delete delta should be created (only a compacted delta). In the 
same way, if there are only delete deltas to compact, then no compacted delta 
should be created (only a compacted delete delta).

There is an issue with major compaction. If all the data in the partition has 
been deleted, then we should get an empty base directory after compaction. 
Instead, the empty base directory is deleted because it's empty and compaction 
claims to succeed but we end up with the same deltas/delete deltas we started 
with – basically compaction does not run.

Where to start? MajorQueryCompactor#commitCompaction



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (HIVE-25491) Fix: TestReplicationScenariosIncrementalLoadAcidTables.testAcidTableIncrementalReplication

2021-08-31 Thread Peter Vary (Jira)
Peter Vary created HIVE-25491:
-

 Summary: Fix: 
TestReplicationScenariosIncrementalLoadAcidTables.testAcidTableIncrementalReplication
 Key: HIVE-25491
 URL: https://issues.apache.org/jira/browse/HIVE-25491
 Project: Hive
  Issue Type: Test
Reporter: Peter Vary


The test is flaky.
Found here: 
http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-2602/4/tests
Confirmed here: http://ci.hive.apache.org/job/hive-flaky-check/400/

CC: [~aasha]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)