apache / apache/arrow-adbc

csharp/src/Client: AdbcDataReader does not correctly report RecordsAffected

Open
#1,448 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
627
Forks
217
Avg merge
17h
Merged PRs (30d)
57

Description

The AdbcDataReader does not correctly report RecordsAffected if a non-SELECT call is issued via the ExecuteQuery method.

Currently we didn’t update recordsAffected after executing the command, so it will always return -1.

Contributor guide

Open the contributing guide

Research direction

Start in csharp/src/Client by locating AdbcDataReader and its ExecuteQuery path. Reproduce a non-SELECT call, inspect how RecordsAffected is reported, and verify that the result reflects the command rather than remaining -1.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.