Skip to content

Commit

Permalink
test(csharp/test/Drivers/Interop/Snowflake): Add testing for CAST fun…
Browse files Browse the repository at this point in the history
…ctions (#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
  • Loading branch information
birschick-bq authored Jan 23, 2024
1 parent 65d2bed commit ccc989a
Showing 1 changed file with 440 additions and 0 deletions.
Loading

0 comments on commit ccc989a

Please sign in to comment.