Skip to content

Conversation

@mjgarton
Copy link
Contributor

@mjgarton mjgarton commented Oct 2, 2025

We already handle "rows affected" properly for do_query in the SimpleQueryHandler implementation, so let's do the same for do_query in the ExtendedQueryHandler implementation too.

To avoid duplicate code, this common logic has been extracted into a new map_rows_affected_for_insert function.

We already handle "rows affected" properly for do_query in the
SimpleQueryHandler implementation, so let's do the same for do_query in
the ExtendedQueryHandler implementation too.

To avoid duplicate code, this common logic has been extracted into a new
`map_rows_affected_for_insert` function.
Copy link
Member

@sunng87 sunng87 left a comment

Choose a reason for hiding this comment

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

LGTM

@sunng87 sunng87 merged commit e4f62ab into datafusion-contrib:master Oct 2, 2025
6 checks passed
sunng87 added a commit that referenced this pull request Oct 2, 2025
sunng87 added a commit that referenced this pull request Oct 2, 2025
sunng87 added a commit that referenced this pull request Oct 2, 2025
@mjgarton mjgarton deleted the rows_affected_extended branch October 3, 2025 07:37
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