Skip to content

Support Decimal256 column in create external table#7866

Merged
viirya merged 3 commits intoapache:mainfrom
viirya:decimal256_external_table
Oct 20, 2023
Merged

Support Decimal256 column in create external table#7866
viirya merged 3 commits intoapache:mainfrom
viirya:decimal256_external_table

Conversation

@viirya
Copy link
Copy Markdown
Member

@viirya viirya commented Oct 19, 2023

Which issue does this PR close?

Closes #7865.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions Bot added sql SQL Planner sqllogictest SQL Logic Tests (.slt) labels Oct 19, 2023
Copy link
Copy Markdown
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

This looks really nice @viirya -- thank you

} else if precision > DECIMAL128_MAX_PRECISION
&& precision <= DECIMAL256_MAX_PRECISION
{
Ok(DataType::Decimal256(precision, scale))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@viirya viirya merged commit 1dd887c into apache:main Oct 20, 2023
@viirya
Copy link
Copy Markdown
Member Author

viirya commented Oct 20, 2023

Thank you @alamb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request sql SQL Planner sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Decimal256 column in create external table

3 participants