Skip to content

Normalize float for Hive bucket hash#1333

Closed
findepi wants to merge 1 commit intotrinodb:masterfrom
findepi:findepi/master/normalize-float-for-hive-bucket-hash-683287
Closed

Normalize float for Hive bucket hash#1333
findepi wants to merge 1 commit intotrinodb:masterfrom
findepi:findepi/master/normalize-float-for-hive-bucket-hash-683287

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Aug 20, 2019

This matches
https://github.com/apache/hive/blob/ba83fd7bff/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java#L554
more closely.

We already do not assume canonical on-stack representation for floats
in io.prestosql.spi.type.RealType#hash.

This matches
https://github.com/apache/hive/blob/ba83fd7bff/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java#L554
more closely.

We already do *not* assume canonical on-stack representation for floats
in `io.prestosql.spi.type.RealType#hash`.
@cla-bot cla-bot bot added the cla-signed label Aug 20, 2019
@findepi
Copy link
Copy Markdown
Member Author

findepi commented Aug 20, 2019

Replaced with #1336

@findepi findepi closed this Aug 20, 2019
@findepi findepi deleted the findepi/master/normalize-float-for-hive-bucket-hash-683287 branch August 20, 2019 07:59
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.

1 participant