{
 "flight": {
  "id": 23096,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix piping query without `go` command into sqlcmd-go",
  "number": 583,
  "source": "aidev",
  "commits": 5,
  "debrief": "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:\".",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": false,
  "additions": 303,
  "closed_at": "2025-06-02T13:56:47+00:00",
  "deletions": 51,
  "merged_at": "2025-06-02T13:56:47+00:00",
  "opened_at": "2025-05-25T02:27:33+00:00",
  "task_type": "fix",
  "body_chars": 2499,
  "confidence": "dataset",
  "updated_at": "2026-11-19T14:48:09.441237+00:00",
  "enriched_at": null,
  "body_excerpt": "## Issue\nWhen 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.\n\nFor example:\n```\n# Returns nothing in sqlcmd-go (before fix)\n$ cat query.sql | sqlcmd-go\n\n# Works correct",
  "review_count": 5,
  "files_changed": 10,
  "hours_to_merge": 203.49,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:47:12.114353+00:00",
  "reviewer_excerpt": ":shipit:",
  "review_comment_count": 2,
  "reviewer_excerpt_url": "https://github.com/microsoft/go-sqlcmd/pull/583#pullrequestreview-2873482572"
 },
 "repo": {
  "name": "go-sqlcmd",
  "owner": "microsoft",
  "stars": 620,
  "license": "MIT",
  "full_name": "microsoft/go-sqlcmd",
  "primary_language": "Go"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "David Shiflet"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-06-02T13:56:47+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "shueybubbles"
  },
  {
   "at": "2025-06-02T13:56:47+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "shueybubbles"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Update to latest github.com/microsoft/go-mssqldb driver (v1.8.2)",
   "number": 586,
   "outcome": "burn",
   "index_ok": true,
   "additions": 5392,
   "deletions": 2341,
   "merged_at": null,
   "opened_at": "2025-06-02T14:50:53+00:00",
   "task_type": "fix",
   "files_changed": 31,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Automatically suppress line prompts when stdin is redirected",
   "number": 582,
   "outcome": "merged_after_rework",
   "index_ok": true,
   "additions": 261,
   "deletions": 60,
   "merged_at": "2025-05-28T13:31:41+00:00",
   "opened_at": "2025-05-22T13:19:22+00:00",
   "task_type": "feat",
   "files_changed": 11,
   "hours_to_merge": 144.21
  },
  {
   "agent": "github-copilot",
   "state": "open",
   "title": "Fix silent wget failures in DownloadFile causing corrupted .bak file downloads",
   "number": 588,
   "outcome": "stale",
   "index_ok": false,
   "additions": 138,
   "deletions": 17,
   "merged_at": null,
   "opened_at": "2025-06-23T20:33:15+00:00",
   "task_type": "fix",
   "files_changed": 3,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/microsoft/go-sqlcmd/pull/583",
 "page": "https://agentriders.com/logs/microsoft/go-sqlcmd/583/"
}