Skip to content

Commit 6fc9331

Browse files
Add more debug loging
1 parent 7524ec8 commit 6fc9331

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

awswrangler/athena/_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,11 @@ def start_query_execution(
472472
max_cache_query_inspections=max_cache_query_inspections,
473473
max_remote_cache_entries=max_remote_cache_entries,
474474
)
475+
_logger.debug("cache_info:\n%s", cache_info)
475476

476477
if cache_info.has_valid_cache and cache_info.query_execution_id is not None:
477478
query_execution_id = cache_info.query_execution_id
479+
_logger.debug("Valid cache found. Retrieving...")
478480
else:
479481
wg_config: _WorkGroupConfig = _get_workgroup_config(session=session, workgroup=workgroup)
480482
query_execution_id = _start_query_execution(

0 commit comments

Comments
 (0)