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

#15: Add tests for all data types #73

Merged
merged 3 commits into from
Jun 3, 2022
Merged

Conversation

kaklakariada
Copy link
Collaborator

Closes #15

@kaklakariada kaklakariada enabled auto-merge (squash) June 2, 2022 15:21
--
{expression = "'abc'", expected_value = "abc", expected_type = "CHAR"},
{expression = cast("'abc'", "CHAR(5)"), expected_value = "abc ", expected_type = "CHAR"},
{expression = cast("'abc'", "VARCHAR(5)"), expected_value = "abc", expected_type = "VARCHAR"}, --
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we also need a test for UFT-8 vs. ASCII encodings?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point. I will add this in another pr.

--
-- Date/time types
--
{expression = cast("'2022-05-31'", "DATE"), expected_value = "2022-05-31", expected_type = "DATE"}, {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Placement of opening curly bracket looks strange. We might need to check the formatter settings again.

@kaklakariada kaklakariada merged commit fb1806b into main Jun 3, 2022
@kaklakariada kaklakariada deleted the #15-add-datatype-tests branch June 3, 2022 05:58
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.

Add tests for all Exasol data types
2 participants