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:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-31 07:55:41 +0000
commit10c2aed88097d8c5495cdd00d975eb422c85f52a (patch)
treec723d62f54d831e40f80b91ba2c4edd52687335b /tests/dialects/test_bigquery.py
parentReleasing debian version 25.7.1-1. (diff)
downloadsqlglot-10c2aed88097d8c5495cdd00d975eb422c85f52a.tar.xz
sqlglot-10c2aed88097d8c5495cdd00d975eb422c85f52a.zip
Merging upstream version 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')",