Skip to content

Update to Hive 2.3.4#57

Merged
electrum merged 3 commits intotrinodb:masterfrom
electrum:hive-update
Jan 26, 2019
Merged

Update to Hive 2.3.4#57
electrum merged 3 commits intotrinodb:masterfrom
electrum:hive-update

Conversation

@electrum
Copy link
Member

@electrum electrum commented Jan 25, 2019

@cla-bot cla-bot bot added the cla-signed label Jan 25, 2019
@electrum electrum requested a review from dain January 25, 2019 00:46
@electrum electrum force-pushed the hive-update branch 2 times, most recently from ebcd5d2 to 5dc39aa Compare January 25, 2019 01:47
Copy link
Member

@kokosing kokosing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the Hive update blocked by infra in FB?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you use is_distinct_from and not is_equal_to? Is it due Maps need to be compared without regard to order.? Maps are equal if they have same entries and they are sorted in the same way?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Equality for a map with null values will return null. I'm not sure if this is correct, but that's how it works today.

pom.xml Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is that possible that automation is green? Have you deployed SNAPSHOT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I deployed the snapshot so that I could test Travis before releasing it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is com.facebook.hive.orc.OrcConf? Why config no longer work?

Copy link
Member Author

@electrum electrum Jan 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is DWRF, Facebook's fork for ORC. The old HIVE_ORC_DEFAULT_COMPRESS doesn't exist in Hive 2.x. The config names could be set directly if I inlined the constants, but it's cleaner to use the OrcConf class which does exactly that.

@electrum
Copy link
Member Author

There was no blocker, rather there was no reason to update. The primary reason to update now is to move to newer Parquet versions for Netflix Iceberg. I'm going to merge this tomorrow, then put up another one to move to Hive 3.1.1 which has the latest Parquet.

@kokosing
Copy link
Member

What about updating hadoop?

@electrum
Copy link
Member Author

We need to wait for a new Hadoop release as all the recent ones are missing source jars due to HADOOP-15205

Copy link
Member

@dain dain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@electrum electrum merged commit 238f4b6 into trinodb:master Jan 26, 2019
@electrum electrum deleted the hive-update branch January 26, 2019 06:26
imjalpreet added a commit to imjalpreet/presto that referenced this pull request Mar 11, 2021
Fix TestOrcBatchPageSourceMemoryTracking unit test failures

Fork BloomFilter class from org.apache.hive.common.util.BloomFilter

Fix presto-orc plugin unit test failures

Cherry-pick of trinodb/trino#57 (trinodb/trino#57) and trinodb/trino#203 (trinodb/trino#203)

Co-authored-by: David Phillips <david@acz.org>
rschlussel pushed a commit to prestodb/presto that referenced this pull request Mar 11, 2021
Fix TestOrcBatchPageSourceMemoryTracking unit test failures

Fork BloomFilter class from org.apache.hive.common.util.BloomFilter

Fix presto-orc plugin unit test failures

Cherry-pick of trinodb/trino#57 (trinodb/trino#57) and trinodb/trino#203 (trinodb/trino#203)

Co-authored-by: David Phillips <david@acz.org>
voonhous pushed a commit to voonhous/trino that referenced this pull request Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants