Skip to content

Deprecate isXxxDecimal and minor code cleanup#14289

Merged
findepi merged 4 commits intotrinodb:masterfrom
findepi:findepi/deprecate-isxxxdecimal-398cea
Sep 27, 2022
Merged

Deprecate isXxxDecimal and minor code cleanup#14289
findepi merged 4 commits intotrinodb:masterfrom
findepi:findepi/deprecate-isxxxdecimal-398cea

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Sep 26, 2022

No description provided.

@findepi findepi added the no-release-notes This pull request does not require release notes entry label Sep 26, 2022
@findepi findepi requested review from ebyhr and losipiuk September 26, 2022 10:51
@cla-bot cla-bot bot added the cla-signed label Sep 26, 2022
@findepi findepi force-pushed the findepi/deprecate-isxxxdecimal-398cea branch 2 times, most recently from 127ba22 to 5b2af78 Compare September 26, 2022 12:35
Comment on lines 130 to 133
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

How about using enhanced instanceof?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

thanks, missed that

Deprecate isShortDecimal, isLongDecimal inspection methods. Idiomatic
way of checking for long or short decimal is using
`DecimalType.isShort`.

This is in line with previous changes like
2fe7727.
@findepi findepi force-pushed the findepi/deprecate-isxxxdecimal-398cea branch from 5b2af78 to c653b81 Compare September 27, 2022 08:34
@findepi findepi merged commit 66989c6 into trinodb:master Sep 27, 2022
@findepi findepi deleted the findepi/deprecate-isxxxdecimal-398cea branch September 27, 2022 14:21
@github-actions github-actions bot added this to the 398 milestone Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants