Skip to content

SNOW-3240486: Improve rowcount testing#561

Open
sfc-gh-jszczerbinski wants to merge 2 commits intomainfrom
SNOW-3240486-improve-row-count-testing
Open

SNOW-3240486: Improve rowcount testing#561
sfc-gh-jszczerbinski wants to merge 2 commits intomainfrom
SNOW-3240486-improve-row-count-testing

Conversation

@sfc-gh-jszczerbinski
Copy link
Collaborator

No description provided.

@sfc-gh-jszczerbinski sfc-gh-jszczerbinski requested a review from a team as a code owner March 17, 2026 22:36
Copilot AI review requested due to automatic review settings March 17, 2026 22:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR expands ODBC SQLRowCount end-to-end coverage by adding new scenarios for null RowCountPtr handling and additional DML patterns (MERGE with DELETE, UPDATE with JOIN, INSERT from multi-table JOIN), and documents the resulting old-vs-new driver behavior difference.

Changes:

  • Added new Gherkin scenarios covering null RowCountPtr (HY009) and additional DML row-count cases.
  • Implemented corresponding Catch2 e2e tests in odbc_tests for each new scenario.
  • Documented Behavior Difference BD#26 for the null RowCountPtr return-code/SQLSTATE discrepancy.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tests/definitions/odbc/query/sql_row_count.feature Adds new SQLRowCount scenarios (HY009 null pointer + additional DML row count cases).
odbc_tests/tests/e2e/query/sql_row_count.cpp Adds Catch2 e2e tests implementing the new scenarios, including old/new driver branching for BD#26.
odbc_tests/BehaviorDifferences.yaml Adds BD#26 documentation for null RowCountPtr behavior change.

You can also share your feedback on Copilot code review. Take the survey.

@sfc-gh-jszczerbinski sfc-gh-jszczerbinski changed the title Improve rowcount testing SNOW-3240486: Improve rowcount testing Mar 17, 2026
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.

2 participants