{"sha":"ed473510065ed1101f60270e27f6601eb1f41cea","node_id":"C_kwDODjv0UdoAKGVkNDczNTEwMDY1ZWQxMTAxZjYwMjcwZTI3ZjY2MDFlYjFmNDFjZWE","commit":{"author":{"name":"Henry","email":"wufuheng@gmail.com","date":"2025-06-01T04:05:35Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2025-06-01T04:05:35Z"},"message":"Merge pull request #74 from timescale/nathan/fix-queries-without-args\n\nFix queries without arguments","tree":{"sha":"15bf120e616ef2d1014a1c9750fe09579cfabae9","url":"https://api.github.com/repos/uber/athenadriver/git/trees/15bf120e616ef2d1014a1c9750fe09579cfabae9"},"url":"https://api.github.com/repos/uber/athenadriver/git/commits/ed473510065ed1101f60270e27f6601eb1f41cea","comment_count":0,"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJoO9GPCRC1aQ7uu5UhlAAAxgEQAA912QzKgfA84tNxEExspiKV\nKv2felEnxLAzhjH10Jcvi3dwcygYrETpJSAsniSRaCZQw4O5gaPF/SEA33MszelV\nPDcJm5XGYehBNi7S9+2/u16V6dxJfJHdmtD44eCOmRzPUpALF/DGB8vJHxrwVJR3\nuRT6o6RIDKiIdJ/Fn8cWpuKs/HIlSlP5oLkrYeXwb+hxVFLEZ9VJuV2pSqZBRQvT\nUJLdKJ4rNiS50twVlO6ijbEHida37yZAU1E1PIMunX0/sl1jgn+gB8FjztglPybV\nlxdjvcGqORFSMlAEUdRsQBe0++wkSOwnmAwQcbe02W81tiXgaMqmqzGs/9HAXyEb\ncO45v4RE2MbLMxe70QNeIhXZjk4RdLysTL3oU7K6ZjRCdn16SIBOkrTnkORUIX/M\nJqdVagWHKrOnK45+ed2yWJzBYBnu+842lOmDW8nm24Q4sB1a7tvKjToZc7yomS6T\ndZAc7U4GC/PW/mAGsyDc5ysNIHz7YLT5blg11RneuK1XvykZ0wMKmogDHLnUYZom\ngsrctIXDFWW/b+4uomZp/SosDCm+CrA/ddEk2JwSQg2TX4jN0RYRWYrItrLeFwZ2\n6Y3sONdV5fHK6zAHFoXl0D48yWzfUQAiWcoWZQy/IbvyqU+3jUVpqjjyWe3BviIj\nioBsuFJ6+nZipmGTOqp3\n=6O7N\n-----END PGP SIGNATURE-----\n","payload":"tree 15bf120e616ef2d1014a1c9750fe09579cfabae9\nparent 985aa9632c44dd737298825a19856d981068fdf1\nparent 9030cfedc2ce46e09a7bf4dc0bd8b38bf9fcf3ec\nauthor Henry <wufuheng@gmail.com> 1748750735 -0700\ncommitter GitHub <noreply@github.com> 1748750735 -0700\n\nMerge pull request #74 from timescale/nathan/fix-queries-without-args\n\nFix queries without arguments","verified_at":"2025-06-01T04:10:23Z"}},"url":"https://api.github.com/repos/uber/athenadriver/commits/ed473510065ed1101f60270e27f6601eb1f41cea","html_url":"https://github.com/uber/athenadriver/commit/ed473510065ed1101f60270e27f6601eb1f41cea","comments_url":"https://api.github.com/repos/uber/athenadriver/commits/ed473510065ed1101f60270e27f6601eb1f41cea/comments","author":{"login":"henrywoo","id":458995,"node_id":"MDQ6VXNlcjQ1ODk5NQ==","avatar_url":"https://avatars.githubusercontent.com/u/458995?v=4","gravatar_id":"","url":"https://api.github.com/users/henrywoo","html_url":"https://github.com/henrywoo","followers_url":"https://api.github.com/users/henrywoo/followers","following_url":"https://api.github.com/users/henrywoo/following{/other_user}","gists_url":"https://api.github.com/users/henrywoo/gists{/gist_id}","starred_url":"https://api.github.com/users/henrywoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrywoo/subscriptions","organizations_url":"https://api.github.com/users/henrywoo/orgs","repos_url":"https://api.github.com/users/henrywoo/repos","events_url":"https://api.github.com/users/henrywoo/events{/privacy}","received_events_url":"https://api.github.com/users/henrywoo/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"web-flow","id":19864447,"node_id":"MDQ6VXNlcjE5ODY0NDQ3","avatar_url":"https://avatars.githubusercontent.com/u/19864447?v=4","gravatar_id":"","url":"https://api.github.com/users/web-flow","html_url":"https://github.com/web-flow","followers_url":"https://api.github.com/users/web-flow/followers","following_url":"https://api.github.com/users/web-flow/following{/other_user}","gists_url":"https://api.github.com/users/web-flow/gists{/gist_id}","starred_url":"https://api.github.com/users/web-flow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-flow/subscriptions","organizations_url":"https://api.github.com/users/web-flow/orgs","repos_url":"https://api.github.com/users/web-flow/repos","events_url":"https://api.github.com/users/web-flow/events{/privacy}","received_events_url":"https://api.github.com/users/web-flow/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"985aa9632c44dd737298825a19856d981068fdf1","url":"https://api.github.com/repos/uber/athenadriver/commits/985aa9632c44dd737298825a19856d981068fdf1","html_url":"https://github.com/uber/athenadriver/commit/985aa9632c44dd737298825a19856d981068fdf1"},{"sha":"9030cfedc2ce46e09a7bf4dc0bd8b38bf9fcf3ec","url":"https://api.github.com/repos/uber/athenadriver/commits/9030cfedc2ce46e09a7bf4dc0bd8b38bf9fcf3ec","html_url":"https://github.com/uber/athenadriver/commit/9030cfedc2ce46e09a7bf4dc0bd8b38bf9fcf3ec"}],"stats":{"total":2,"additions":1,"deletions":1},"files":[{"sha":"aa3ff361773f5058a75048ee5a589dcb1391e48d","filename":"go/connection.go","status":"modified","additions":1,"deletions":1,"changes":2,"blob_url":"https://github.com/uber/athenadriver/blob/ed473510065ed1101f60270e27f6601eb1f41cea/go%2Fconnection.go","raw_url":"https://github.com/uber/athenadriver/raw/ed473510065ed1101f60270e27f6601eb1f41cea/go%2Fconnection.go","contents_url":"https://api.github.com/repos/uber/athenadriver/contents/go%2Fconnection.go?ref=ed473510065ed1101f60270e27f6601eb1f41cea","patch":"@@ -53,7 +53,7 @@ type Connection struct {\n \n // buildExecutionParams converts Go data types into strings for query arguments in parameterized queries.\n func (c *Connection) buildExecutionParams(args []driver.Value) ([]*string, error) {\n-\texecutionParams := []*string{}\n+\tvar executionParams []*string\n \tfor _, arg := range args {\n \t\tif arg == nil {\n \t\t\tval := \"NULL\""}]}