Fokko commented on code in PR #360: URL: https://github.com/apache/iceberg-python/pull/360#discussion_r1477434800
########## pyiceberg/catalog/sql.py: ########## @@ -101,7 +101,8 @@ def __init__(self, name: str, **properties: str): if not (uri_prop := self.properties.get("uri")): raise NoSuchPropertyException("SQL connection URI is required") - self.engine = create_engine(uri_prop, echo=True) + echo = self.properties.get("echo") or False Review Comment: Should we cast it to the right type? ```suggestion echo = bool(self.properties.get("echo", False)) ``` -- 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-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org