-
Notifications
You must be signed in to change notification settings - Fork 180
SNOW-1545799-Verify-value-bindings-exceeding-CLIENT_STAGE_ARRAY_BINDING_THRESHOLD #2199
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
base: master
Are you sure you want to change the base?
Conversation
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
…_STAGE_ARRAY_BINDING_THRESHOLD
…_STAGE_ARRAY_BINDING_THRESHOLD
…_STAGE_ARRAY_BINDING_THRESHOLD
assertEquals(rs1.getInt(1), rs2.getInt(1)); | ||
|
||
// Check tz type and ltz type columns have the same value. | ||
assertEquals(rs1.getTimestamp(2), rs1.getTimestamp(3)); |
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.
Shouldn't we test rs1
with rs2
if the values are the same?
executePrepStmtForNumRows(connection, "regularinsert", currT, 3); | ||
|
||
// insert using stage binding | ||
statement.execute("ALTER SESSION SET CLIENT_STAGE_ARRAY_BINDING_THRESHOLD = 10"); |
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.
It seems that this test does not need the 2nd resultset and table, as the 2nd insert does exactly the same as the 1st one.
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.
PTAL at the comments
…_STAGE_ARRAY_BINDING_THRESHOLD
Overview
SNOW-XXXXX
Pre-review self checklist
master
branchmvn -P check-style validate
)mvn verify
and inspecttarget/japicmp/japicmp.html
)SNOW-XXXX:
External contributors - please answer these questions before submitting a pull request. Thanks!
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Issue: #NNNN
Fill out the following pre-review checklist:
@SnowflakeJdbcInternalApi
(note that public/protected methods/fields in classes marked with this annotation are already internal)Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.