[ 
https://issues.apache.org/jira/browse/HIVE-26510?focusedWorklogId=805857&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-805857
 ]

ASF GitHub Bot logged work on HIVE-26510:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/Sep/22 19:04
            Start Date: 02/Sep/22 19:04
    Worklog Time Spent: 10m 
      Work Description: ayushtkn merged PR #3568:
URL: https://github.com/apache/hive/pull/3568




Issue Time Tracking
-------------------

    Worklog Id:     (was: 805857)
    Time Spent: 1.5h  (was: 1h 20m)

> Minor compaction creates empty delta files when no prior delta file exists
> --------------------------------------------------------------------------
>
>                 Key: HIVE-26510
>                 URL: https://issues.apache.org/jira/browse/HIVE-26510
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sourabh Badhya
>            Assignee: Sourabh Badhya
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Hive is creating empty delta files after minor compaction even when 0 delta 
> files exists before compaction.
> Steps to reproduce:
> {code:java}
> DROP TABLE IF EXISTS test_major_delete_minor;
> CREATE TABLE test_major_delete_minor (name VARCHAR(50), age TINYINT, 
> num_clicks BIGINT) stored as orc;
> insert into test_major_delete_minor values ('amy', 35, 12341234);
> insert into test_major_delete_minor values ('bob', 66, 1234712348712);
> insert into test_major_delete_minor values ('cal', 21, 431);
> insert into test_major_delete_minor values ('fse', 28, 8456);
> ALTER TABLE test_major_delete_minor  COMPACT 'major';
> DELETE FROM test_major_delete_minor WHERE name='bob';
> DELETE FROM test_major_delete_minor WHERE name='fse';
> ALTER TABLE test_major_delete_minor  COMPACT 'minor'; {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to