Skip to content

Commit a5a8e51

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 <[email protected]> * PECOBLR-86 Improve logging for debug level Signed-off-by: Sai Shree Pradhan <[email protected]> * fixed format Signed-off-by: Sai Shree Pradhan <[email protected]> * used lazy logging Signed-off-by: Sai Shree Pradhan <[email protected]> * changed debug to error logs Signed-off-by: Sai Shree Pradhan <[email protected]> * used lazy logging Signed-off-by: Sai Shree Pradhan <[email protected]> --------- Signed-off-by: Sai Shree Pradhan <[email protected]> Signed-off-by: varun-edachali-dbx <[email protected]>
1 parent c1d53d2 commit a5a8e51

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
@@ -958,6 +958,12 @@ def execute_command(
958958
session_handle,
959959
)
960960

961+
logger.debug(
962+
"ThriftBackend.execute_command(operation=%s, session_handle=%s)",
963+
operation,
964+
session_handle,
965+
)
966+
961967
spark_arrow_types = ttypes.TSparkArrowTypes(
962968
timestampAsArrow=self._use_arrow_native_timestamps,
963969
decimalAsArrow=self._use_arrow_native_decimals,

0 commit comments

Comments
 (0)