Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test and fix casts from exact numeric types to varchar #10170

Merged
merged 6 commits into from
Dec 6, 2021

Conversation

kasiafi
Copy link
Member

@kasiafi kasiafi commented Dec 3, 2021

Applies to: integer, smallint, tinyint, decimal.
Bigint was handlen in another PR

For #552

@cla-bot cla-bot bot added the cla-signed label Dec 3, 2021
@kasiafi kasiafi changed the title Test and fix casts from integer, smallint and tinyint to varchar Test and fix casts from exact numeric types to varchar Dec 3, 2021
@kasiafi kasiafi force-pushed the 291CastToVarcharContinued branch from a10435c to e951437 Compare December 6, 2021 10:34
This change applies to the following types:
integer, smallint, tinyint, decimal (both short and long).
The binigt type was handled in another PR.
Fail if the resulting string does not fit in the
bounded length of the varchar type.
Fail if the resulting string does not fit in the
bounded length of the varchar type.
Fail if the resulting string does not fit in the
bounded length of the varchar type.
Fail if the resulting string does not fit in the
bounded length of the varchar type.
Applies both to short and long decimal types.
@kasiafi kasiafi force-pushed the 291CastToVarcharContinued branch from e951437 to 850674e Compare December 6, 2021 10:36
@kasiafi kasiafi merged commit a1e6733 into trinodb:master Dec 6, 2021
@github-actions github-actions bot added this to the 366 milestone Dec 6, 2021
@kasiafi kasiafi mentioned this pull request Dec 14, 2021
10 tasks
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.

2 participants