You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2025/08/20 05:20:32 UTC

[PR] fix(go/adbc/driver/bigquery): accept old auth option value [arrow-adbc]

lidavidm opened a new pull request, #3317:
URL: https://github.com/apache/arrow-adbc/pull/3317

   Fix a regression.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(go/adbc/driver/bigquery): accept old auth option value [arrow-adbc]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade commented on code in PR #3317:
URL: https://github.com/apache/arrow-adbc/pull/3317#discussion_r2288391197


##########
go/adbc/driver/bigquery/connection.go:
##########
@@ -581,7 +581,7 @@ func (c *connectionImpl) newClient(ctx context.Context) error {
 			}
 		}
 		authOptions = append(authOptions, option.WithTokenSource(c))
-	case OptionValueAuthTypeAppDefaultCredentials, "":
+	case OptionValueAuthTypeAppDefaultCredentials, OptionValueAuthTypeDefault, "":

Review Comment:
   what's the difference between the two? is there a reason to have this difference instead of just picking one over the other?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(go/adbc/driver/bigquery): accept old auth option value [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on code in PR #3317:
URL: https://github.com/apache/arrow-adbc/pull/3317#discussion_r2289515000


##########
go/adbc/driver/bigquery/connection.go:
##########
@@ -581,7 +581,7 @@ func (c *connectionImpl) newClient(ctx context.Context) error {
 			}
 		}
 		authOptions = append(authOptions, option.WithTokenSource(c))
-	case OptionValueAuthTypeAppDefaultCredentials, "":
+	case OptionValueAuthTypeAppDefaultCredentials, OptionValueAuthTypeDefault, "":

Review Comment:
   The old value isn't a "real" method. But there's no reason to break people using it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(go/adbc/driver/bigquery): accept old auth option value [arrow-adbc]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm merged PR #3317:
URL: https://github.com/apache/arrow-adbc/pull/3317


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org