Skip to content

Commit 913da63

Browse files
saishreeeeevarun-edachali-dbx
authored andcommitted
PECOBLR-86 improve logging on python driver (#556)
* PECOBLR-86 Improve logging for debug level Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * PECOBLR-86 Improve logging for debug level Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * fixed format Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * used lazy logging Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * changed debug to error logs Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> * used lazy logging Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> --------- Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com> Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 1ad0ace commit 913da63

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/databricks/sql/backend/thrift_backend.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,12 @@ def execute_command(
952952
thrift_handle,
953953
)
954954

955+
logger.debug(
956+
"ThriftBackend.execute_command(operation=%s, session_handle=%s)",
957+
operation,
958+
session_handle,
959+
)
960+
955961
spark_arrow_types = ttypes.TSparkArrowTypes(
956962
timestampAsArrow=self._use_arrow_native_timestamps,
957963
decimalAsArrow=self._use_arrow_native_decimals,

0 commit comments

Comments
 (0)