summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_bigquery.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-31 07:55:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-31 07:55:38 +0000
commit139b61d941836298794fcbeb179dc49c43d3fd95 (patch)
tree5b978af9eb7d9a506a5f73b33b44dde7e9188fcb /tests/dialects/test_bigquery.py
parentAdding upstream version 25.7.1. (diff)
downloadsqlglot-139b61d941836298794fcbeb179dc49c43d3fd95.tar.xz
sqlglot-139b61d941836298794fcbeb179dc49c43d3fd95.zip
Adding upstream version 25.8.1.upstream/25.8.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_bigquery.py')
-rw-r--r--tests/dialects/test_bigquery.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/dialects/test_bigquery.py b/tests/dialects/test_bigquery.py
index e3fb04f..45f3856 100644
--- a/tests/dialects/test_bigquery.py
+++ b/tests/dialects/test_bigquery.py
@@ -289,6 +289,10 @@ LANGUAGE js AS
r"REGEXP_EXTRACT(svc_plugin_output, r'\\\((.*)')",
r"REGEXP_EXTRACT(svc_plugin_output, '\\\\\\((.*)')",
)
+ self.validate_identity(
+ "SELECT CAST(1 AS BYTEINT)",
+ "SELECT CAST(1 AS INT64)",
+ )
self.validate_all(
"SAFE_CAST(some_date AS DATE FORMAT 'DD MONTH YYYY')",