Flight Log / microsoft/go-sqlcmd #583
Fix piping query without `go` command into sqlcmd-go — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in microsoft/go-sqlcmd on May 25, 2025; merged clean in 8.5 d, merged by @shueybubbles: +303 −51, 10 files, 5 reviews.
- Lines
- +303 −51
- Files
- 10
- Commits
- 5
- Reviews
- 5
- To merge
- 8.5 d
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
A fix for sqlcmd-go, which read a piped SQL query without a GO statement but returned no output while ODBC sqlcmd executed it. The pull request changed 303 lines added and 51 deleted across 10 files in five commits. It merged after 203.49 hours with zero change requests and two review comments, reviewer excerpt ":shipit:".
From the pull request description
## Issue When piping a SQL query to sqlcmd-go without a `GO` statement, the query was read but not executed, returning no output. However, the ODBC version of sqlcmd does execute these queries. For example: ``` # Returns nothing in sqlcmd-go (before fix) $ cat query.sql | sqlcmd-go # Works correct…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedDavid Shiflet
- —committedcopilot-swe-agent[bot]
- —reviewed
- —committedcopilot-swe-agent[bot]
- —reviewed
- —reviewed
- Jun 2, 2025mergedshueybubbles
- Jun 2, 2025closedshueybubbles
Read next
Cite this flight: AgentRiders Flight Log, microsoft/go-sqlcmd#583, record updated Nov 19, 2026, https://agentriders.com/logs/microsoft/go-sqlcmd/583/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.