xo / usql

Universal command-line interface for SQL databases
MIT License
8.96k stars 350 forks source link

ERRO[0000]log.go:120 gosnowflake.(*defaultLogger).Errorf failed to open. #301

Closed andres-lowrie closed 2 years ago

andres-lowrie commented 2 years ago

Hello

Came across this when installing via go and using the all tag. It's throwing a warning for the snowflake driver

Reproduce

andres-lowrie commented 2 years ago

I checked the upstream snowflake repo and it appears to be a known issue and they're saying it will be patched in the next release:

https://github.com/snowflakedb/gosnowflake/issues/390

kenshaw commented 2 years ago

@andres-lowrie there are a few drivers (cosmos, hive, impala, snowflake) that are only in the all driver group (and not most) because of (in my opinion) poor practices, such as unstable APIs or taking over default logging mechanisms/outputting to stdout/stderr via a init() call. If snowflake ever fixes this, let me know, and I'd be glad to move it to the most group.

andres-lowrie commented 2 years ago

will do. Thanks again have a good one