Skip to content

Conversation

@dain
Copy link
Member

@dain dain commented Apr 20, 2023

Description

When exact type is known use specialized methods on type to fetch value directly. Also, add methods to get byte, short, int, and float values directly from type to avoid converting to long and then back to smaller primitives.

Release notes

(x) This is not user-visible or docs only and no release notes are required.

@dain dain requested a review from electrum April 20, 2023 03:35
@cla-bot cla-bot bot added the cla-signed label Apr 20, 2023
@dain dain force-pushed the type-primitives branch from 28953c3 to 362256c Compare April 20, 2023 04:07
@github-actions github-actions bot added bigquery BigQuery connector delta-lake Delta Lake connector hive Hive connector iceberg Iceberg connector mongodb MongoDB connector tests:hive labels Apr 20, 2023
Copy link
Member

@electrum electrum left a comment

Choose a reason for hiding this comment

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

Nice, this is much better. I often wondered why we didn't have this.

@dain dain force-pushed the type-primitives branch from 362256c to b7451a2 Compare April 21, 2023 02:30
@dain dain merged commit a50cfc1 into trinodb:master Apr 21, 2023
@dain dain deleted the type-primitives branch April 21, 2023 16:07
@github-actions github-actions bot added this to the 415 milestone Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bigquery BigQuery connector cla-signed delta-lake Delta Lake connector hive Hive connector iceberg Iceberg connector mongodb MongoDB connector

Development

Successfully merging this pull request may close these issues.

2 participants