-
Notifications
You must be signed in to change notification settings - Fork 91
Feature Request: duckdb.sql().show() should also return a formatted string #17
Closed
wernerdaehn
started this conversation in
Ideas
-
Currently the rel.show() method writes into the stdout. Which is okay, unless you use a logger
from logging import Logger
logger = logging.getLogger(__main__)
logger.debug(duckdb.sql(sql).show(max_width=200))
Above code does obviously not do what is intended, as show() does not return anything. So it logs 'None' and prints into the stdout anyhow.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment