zeroshade commented on code in PR #35051:
URL: https://github.com/apache/arrow/pull/35051#discussion_r1164343474
##########
go/arrow/flight/flightsql/driver/config.go:
##########
@@ -30,14 +74,15 @@ type DriverConfig struct {
Timeout time.Duration
Params map[string]string
- TLSEnabled bool
- TLSConfig *tls.Config
+ TLSEnabled bool
+ TLSConfigName string
+ TLSConfig *tls.Config
}
func NewDriverConfigFromDSN(dsn string) (*DriverConfig, error) {
u, err := url.Parse(dsn)
if err != nil {
- return nil, err
+ return nil, fmt.Errorf("invalid URL: %w", err)
}
// Sanity checks on the given connection string
Review Comment:
as I'm looking at this, is there any reason that this doesn't follow the
general consistency of other implementations by using a scheme of `grpc+tcp` vs
`grpc+unix` vs `grpc+tls`?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]