Skip to content

Conversation

johnedquinn
Copy link
Member

@johnedquinn johnedquinn commented Jan 10, 2025

Description

  • Removes Datum#getBigInteger() and deprecation notices on Datum
  • This is rebased on SPI & Types Package Audit #1703. That PR should be merged before this one. To review, please see the last 3 commits.

License Information

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@johnedquinn johnedquinn force-pushed the main-remove-big-integer branch 3 times, most recently from 801bcbb to 2d59c97 Compare January 10, 2025 22:14
Updates BitwiseAndTest to only use integers

Removes deprecated notices for Datum#getBytes and Datum#getByte

Adds InvalidOperationException to Datum

Updates signatures
@johnedquinn johnedquinn force-pushed the main-remove-big-integer branch from 2d59c97 to 7fa1b11 Compare January 10, 2025 22:28
alancai98
alancai98 previously approved these changes Jan 10, 2025
PType.bool()
)

val allIntPType = setOf(PType.tinyint(), PType.smallint(), PType.integer(), PType.bigint(), PType.numeric(38, 0))
Copy link
Member

Choose a reason for hiding this comment

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

since PType.numeric is removed here, should we add it to the below variable, allNumberPType

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! Nice catch.

@johnedquinn johnedquinn merged commit 4d62ca2 into partiql:main Jan 13, 2025
7 checks passed
@johnedquinn johnedquinn deleted the main-remove-big-integer branch January 13, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants