Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix locking of non-partitioned transactional tables #9070

Merged
merged 1 commit into from Sep 6, 2021

Commits on Sep 6, 2021

  1. Fix locking of non-partitioned transactional tables

    Without the fix we were using partition locking API in HMS even for
    non-partitioned tables. It happened if during execution we successfully
    completed predicate pushdown flow. Then in HiveTableHandle we had
    non-empty partitions list. It contained a single element with synthetic
    HivePartition object using UNPARTITIONED_ID id. It is used to pass
    information about bucket filtering.
    
    With the fix we are detecting such case in getValidWriteIds and locking
    whole table instead.
    losipiuk committed Sep 6, 2021
    Copy the full SHA
    26bd036 View commit details
    Browse the repository at this point in the history