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

Support optional precision in VARBINARY and BINARY #637

Merged
merged 1 commit into from Oct 1, 2022
Merged

Support optional precision in VARBINARY and BINARY #637

merged 1 commit into from Oct 1, 2022

Conversation

AugustoFKL
Copy link
Contributor

@AugustoFKL AugustoFKL commented Sep 30, 2022

@coveralls
Copy link

Pull Request Test Coverage Report for Build 3161497893

  • 7 of 7 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 85.6%

Totals Coverage Status
Change from base Build 3146760243: 0.001%
Covered Lines: 10171
Relevant Lines: 11882

💛 - Coveralls

@alamb alamb changed the title 636 Adjusting VARBINARY and BINARY with optional precision Support optional precision in VARBINARY and BINARY Oct 1, 2022
Copy link
Collaborator

@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.

LGTM -- thank you @AugustoFKL

@@ -5260,6 +5260,10 @@ mod tests {
fn test_parse_data_type() {
test_parse_data_type("DOUBLE PRECISION", "DOUBLE PRECISION");
test_parse_data_type("DOUBLE", "DOUBLE");
test_parse_data_type("VARBINARY", "VARBINARY");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you for the test

@alamb alamb merged commit 300e28b into sqlparser-rs:main Oct 1, 2022
@AugustoFKL AugustoFKL deleted the 636_varbinary-and-binary-fixes branch October 4, 2022 18:08
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.

Fix VARBINARY and BINARY precision
3 participants