From 2843200125b73a5e79be02a432d8ad69edd918ed Mon Sep 17 00:00:00 2001 From: taozhi8833998 Date: Fri, 15 Aug 2025 09:16:44 +0800 Subject: [PATCH] fix: missing dataset in tableList array in bigquery --- pegjs/bigquery.pegjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pegjs/bigquery.pegjs b/pegjs/bigquery.pegjs index 09c1a2f4..f282e5be 100644 --- a/pegjs/bigquery.pegjs +++ b/pegjs/bigquery.pegjs @@ -1682,7 +1682,7 @@ select_stmt_nake o:order_by_clause? __ l:limit_clause? __ win:window_clause? { - if(Array.isArray(f)) f.forEach(info => info.table && tableList.add(`select::${info.db}::${info.table}`)); + if(Array.isArray(f)) f.forEach(info => info.table && tableList.add(`select::${[info.db, info.schema].filter(Boolean).join('.') || null}::${info.table}`)); return { type: 'select', as_struct_val: sv,