You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2025/03/12 03:30:41 UTC

[I] Snowflake driver logs at info level and perhaps could log fewer messages [arrow-adbc]

paleolimbot opened a new issue, #2607:
URL: https://github.com/apache/arrow-adbc/issues/2607

   ### What feature or improvement would you like to see?
   
   In we see R CMD check failures for the snowflake driver (probably) because of a log message emitted during the examples (and/or possibly the tests):
   
   ```
   time="2025-03-11T12:51:47Z" level=info msg="Credentials cache path: /home/runner/.cache/snowflake/temporary_credential.json" func="gosnowflake.(*defaultLogger).Infof" file="log.go:182"
   ```
   
   In R you're not supposed to write to stderr directly, you're supposed to write to R's specific stderr stream (so that those messages can be captured by R things), and I am wondering if something in R CMD check is getting some mashup of the log message and what it intended to read by accident. Unfortunately this doesn't reproduce locally for me (maybe because I have no credentials when I run the examples, though).
   
   I am not sure it's easy to redirect log messages from the go logger, nor is there an obvious place to put them in ADBC (I think there's an open issue about warnings/notices). Probably the easiest way to fix the immediate issue would be to up the log level to `warning` instead of `info` (if we have control over that)...I could probably also compile the Go driver with a define like `ADBC_PRINTF_FUNCTION=REprintf` (which is the function we're supposed to use instead of `fprintf(stderr, ...`.


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] r/adbcsnowflake: Snowflake driver logs at info level causing CMD check fail [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot closed issue #2607: r/adbcsnowflake: Snowflake driver logs at info level causing CMD check fail
URL: https://github.com/apache/arrow-adbc/issues/2607


-- 
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: issues-unsubscribe@arrow.apache.org

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


Re: [I] r/adbcsnowflake: Snowflake driver logs at info level causing CMD check fail [arrow-adbc]

Posted by "amoeba (via GitHub)" <gi...@apache.org>.
amoeba commented on issue #2607:
URL: https://github.com/apache/arrow-adbc/issues/2607#issuecomment-4503595197

   Hi @paleolimbot, I'm doing a bit of issue cleanup now that active development of the Go Snowflake ADBC driver is at https://github.com/adbc-drivers/snowflake and I wanted to check in on this issue. Do you think we can close this issue since we'll start steering users towards loading drivers with `adbcdivermanager` in the future?


-- 
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: [I] r/adbcsnowflake: Snowflake driver logs at info level causing CMD check fail [arrow-adbc]

Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot commented on issue #2607:
URL: https://github.com/apache/arrow-adbc/issues/2607#issuecomment-4527278225

   I think you can safely close this...no need for the CMD check to ever pass under snowflake with dbc install 🙂 


-- 
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