-
Notifications
You must be signed in to change notification settings - Fork 28
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
SNOW-710476 bulk update: batch execution for DML queries with arrayBindSupported=false #800
base: master
Are you sure you want to change the base?
SNOW-710476 bulk update: batch execution for DML queries with arrayBindSupported=false #800
Conversation
Co-authored-by: sfc-gh-ext-simba-hx <harry.xi@insightsoftware.com>
fc732c6
to
f57e7a1
Compare
@sfc-gh-jszczerbinski Too many warnings from code quality check seems due to missing baseline. |
tests/test_bind_params.c
Outdated
@@ -414,13 +414,103 @@ void test_array_binding_supported_false(void** unused) { | |||
snowflake_term(sf); | |||
} | |||
|
|||
void test_array_binding_supported_false_select(void** unused) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's rename the test - it's not select but insert with not supported array binding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The insert case seems hit server issue though.
Server returns arrayBindSupported=true
while it doesn't really support array binding for such query so the execution fails.
With local debugging I changed server response to arrayBindSupported=false
and the test case worked.
Disable the test case for now until the server issue get fixed.
Please let me know if we need a ticket to track the progress.
tests/test_bind_params.c
Outdated
snowflake_term(sf); | ||
} | ||
|
||
void test_array_binding_supported_false_insert(void** unused) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is select, not insert test - let's change naming
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
teamwork issue 1038