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(csharp/test/Drivers/Interop/Snowflake): Add testing for CAST functions #1467

Merged

Conversation

birschick-bq
Copy link
Contributor

@birschick-bq birschick-bq commented Jan 16, 2024

Adds test for C# interop layer for the Snowflake driver on the CAST and TO_* functions.

  • Used the explicit TO_* functions instead of the generic CAST function.
  • Ignored many TO_* variants which were aliases for the same function.

Includes tests for the following cast functions.

  • TO_DOUBLE
  • TO_BOOLEAN
  • TO_NUMERIC
  • TO_VARCHAR
  • TO_OBJECT
  • TO_ARRAY
  • TO_VARIANT
  • TRY_TO_NUMERIC
  • TRY_TO_TIMESTAMP
  • TRY_TO_BOOLEAN

Copy link

⚠️ Please follow the Conventional Commits format in CONTRIBUTING.md for PR titles.

@github-actions github-actions bot added this to the ADBC Libraries 0.10.0 milestone Jan 16, 2024
@birschick-bq birschick-bq changed the title test:(csharp/test/Drivers/Interop/Snowflake): Add testing for CAST functions. test(csharp/test/Drivers/Interop/Snowflake): Add testing for CAST functions. Jan 16, 2024
@birschick-bq birschick-bq marked this pull request as ready for review January 19, 2024 17:56
@kou kou changed the title test(csharp/test/Drivers/Interop/Snowflake): Add testing for CAST functions. test(csharp/test/Drivers/Interop/Snowflake): Add testing for CAST functions Jan 19, 2024
@CurtHagenlocher CurtHagenlocher merged commit ccc989a into apache:main Jan 23, 2024
6 checks passed
@birschick-bq birschick-bq deleted the dev/birschick-bq/1262005/test-cast branch January 23, 2024 18:53
soumyadsanyal pushed a commit to soumyadsanyal/arrow-adbc that referenced this pull request Jan 31, 2024
…ctions (apache#1467)

Adds test for C# interop layer for the Snowflake driver on the CAST and
TO_* functions.
* Used the explicit TO_* functions instead of the generic CAST function.
* Ignored many TO_* variants which were aliases for the same function.

Includes tests for the following cast functions.

- [X] TO_DOUBLE
- [X] TO_BOOLEAN
- [X] TO_NUMERIC
- [X] TO_VARCHAR
- [X] TO_OBJECT
- [X] TO_ARRAY
- [X] TO_VARIANT
- [X] TRY_TO_NUMERIC
- [X] TRY_TO_TIMESTAMP
- [X] TRY_TO_BOOLEAN
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.

4 participants