Skip to content

Commit 2d24fdd

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 afee423 commit 2d24fdd

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
@@ -946,6 +946,12 @@ def execute_command(
946946
thrift_handle,
947947
)
948948

949+
logger.debug(
950+
"ThriftBackend.execute_command(operation=%s, session_handle=%s)",
951+
operation,
952+
session_handle,
953+
)
954+
949955
spark_arrow_types = ttypes.TSparkArrowTypes(
950956
timestampAsArrow=self._use_arrow_native_timestamps,
951957
decimalAsArrow=self._use_arrow_native_decimals,

0 commit comments

Comments
 (0)