Skip to content

Commit c1a0270

Browse files
committed
Added log of DuckDb secrets to help debug problem reading from S3 in AWS
1 parent 458cf39 commit c1a0270

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/db.py

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def search_issues(params: IssuesParams):
3131

3232
with duckdb.connect() as conn:
3333
try:
34+
logger.info(conn.execute("FROM duckdb_secrets();").fetchall())
3435
count = conn.execute(sql_count).fetchone()[0] # Count is first item in Tuple
3536
logger.debug(count)
3637
results = conn.execute(sql_results).arrow().to_pylist()

0 commit comments

Comments
 (0)