Skip to content

Commit b408c2c

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 1e1cf1e commit b408c2c

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
@@ -936,6 +936,12 @@ def execute_command(
936936
thrift_handle,
937937
)
938938

939+
logger.debug(
940+
"ThriftBackend.execute_command(operation=%s, session_handle=%s)",
941+
operation,
942+
session_handle,
943+
)
944+
939945
spark_arrow_types = ttypes.TSparkArrowTypes(
940946
timestampAsArrow=self._use_arrow_native_timestamps,
941947
decimalAsArrow=self._use_arrow_native_decimals,

0 commit comments

Comments
 (0)