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

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

                Author: ASF GitHub Bot
            Created on: 03/Nov/20 14:18
            Start Date: 03/Nov/20 14:18
    Worklog Time Spent: 10m 
      Work Description: klcopp commented on a change in pull request #1592:
URL: https://github.com/apache/hive/pull/1592#discussion_r516037677



##########
File path: 
ql/src/test/results/clientpositive/llap/cardinality_preserving_join_opt2.q.out
##########
@@ -239,7 +239,7 @@ HiveProject(c1=[$11], c5=[$13], c6=[$14], c3=[$1], c4=[$2], 
c51=[$3], c61=[$4],
             HiveFilter(condition=[IS NOT NULL($0)])
               HiveTableScan(table=[[mydb_e10, d4_tab_e10]], table:alias=[r])
         HiveProject(c1=[$0], c2=[$1], c4=[$3], c5=[$4])
-          HiveFilter(condition=[AND(OR(IS NULL($4), >($4, 2020-10-01)), IS NOT 
NULL($1), IS NOT NULL($0))])

Review comment:
       You can revert this, I disabled it a minute ago.

##########
File path: 
ql/src/test/results/clientpositive/llap/cardinality_preserving_join_opt2.q.out
##########
@@ -239,7 +239,7 @@ HiveProject(c1=[$11], c5=[$13], c6=[$14], c3=[$1], c4=[$2], 
c51=[$3], c61=[$4],
             HiveFilter(condition=[IS NOT NULL($0)])
               HiveTableScan(table=[[mydb_e10, d4_tab_e10]], table:alias=[r])
         HiveProject(c1=[$0], c2=[$1], c4=[$3], c5=[$4])
-          HiveFilter(condition=[AND(OR(IS NULL($4), >($4, 2020-10-01)), IS NOT 
NULL($1), IS NOT NULL($0))])

Review comment:
       And rebase of course




----------------------------------------------------------------
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


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

    Worklog Id:     (was: 507079)
    Time Spent: 2h  (was: 1h 50m)

> Compaction Cleaner prematurely cleans up deltas
> -----------------------------------------------
>
>                 Key: HIVE-24291
>                 URL: https://issues.apache.org/jira/browse/HIVE-24291
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Peter Varga
>            Assignee: Peter Varga
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Since HIVE-23107 the cleaner can clean up deltas that are still used by 
> running queries.
> Example:
>  * TxnId 1-5 writes to a partition, all commits
>  * Compactor starts with txnId=6
>  * Long running query starts with txnId=7, it sees txnId=6 as open in its 
> snapshot
>  * Compaction commits
>  * Cleaner runs
> Previously min_history_level table would have prevented the Cleaner to delete 
> the deltas1-5 until txnId=7 is open, but now they will be deleted and the 
> long running query may fail if its tries to access the files.
> Solution could be to not run the cleaner until any txn is open that was 
> opened before the compaction was committed (CQ_NEXT_TXN_ID)



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

Reply via email to