SNOW-1503425: Can't bind array properly - filtering IN or ARRAY_CONTAINS doesn't work #984
Labels
question
Issue is a usage/other question rather than a bug
status-triage_done
Initial triage done, will be further handled by the driver team
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of .NET driver are you using?
.net8
What operating system and processor architecture are you using?
MAC OS Sonoma 14.5
What version of .NET framework are you using?
.net8 latestFeature
What did you do?
I have following table
I try to execute query with filtering that OBJECT_ID is in array passed as parameter.
I tried following queries:
OR
2. Using Array Contains (it compiles properly but return empty result)
I tried pass array of values as parameter to ARRAY_CONTAINS
I tried multiple way how to pass value, also
But it doesn't work (empty result is returned). When I execute same query from Snowflake console it returns values correctly.
I want to know how to bind ARRAY_CONTAINS correctly for type string/varchar.
Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
There is an example in READMD.md file showing you how to enable logging.
What is your Snowflake account identifier, if any? (Optional)
The text was updated successfully, but these errors were encountered: