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

SNOW-710476 bulk update: batch execution for DML queries with arrayBindSupported=false #800

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

sfc-gh-ext-simba-hx
Copy link
Collaborator

@sfc-gh-ext-simba-hx sfc-gh-ext-simba-hx commented Dec 18, 2024

teamwork issue 1038

@sfc-gh-ext-simba-hx sfc-gh-ext-simba-hx requested a review from a team as a code owner December 18, 2024 00:46
@sfc-gh-ext-simba-hx sfc-gh-ext-simba-hx changed the base branch from master to master-2.0.0 December 18, 2024 00:46
@sfc-gh-ext-simba-hx sfc-gh-ext-simba-hx marked this pull request as draft December 18, 2024 01:08
@sfc-gh-ext-simba-hx sfc-gh-ext-simba-hx force-pushed the SNOW-710476-bulk-update-more-features branch from fc732c6 to f57e7a1 Compare December 19, 2024 00:34
@sfc-gh-ext-simba-hx
Copy link
Collaborator Author

@sfc-gh-jszczerbinski Too many warnings from code quality check seems due to missing baseline.

lib/client.c Show resolved Hide resolved
tests/test_bind_params.c Show resolved Hide resolved
Base automatically changed from master-2.0.0 to master January 9, 2025 09:09
@@ -414,13 +414,103 @@ void test_array_binding_supported_false(void** unused) {
snowflake_term(sf);
}

void test_array_binding_supported_false_select(void** unused) {
Copy link
Collaborator

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

Copy link
Collaborator Author

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.

snowflake_term(sf);
}

void test_array_binding_supported_false_insert(void** unused) {
Copy link
Collaborator

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

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