From 41e67f6ce6b4b732d02e421d6825c18b8d15a59d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 23 May 2024 09:22:20 +0200 Subject: Adding upstream version 24.0.0. Signed-off-by: Daniel Baumann --- tests/dialects/test_dialect.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/dialects/test_dialect.py') diff --git a/tests/dialects/test_dialect.py b/tests/dialects/test_dialect.py index 77306dc..9888a5d 100644 --- a/tests/dialects/test_dialect.py +++ b/tests/dialects/test_dialect.py @@ -1163,7 +1163,7 @@ class TestDialect(Validator): read={ "bigquery": "JSON_EXTRACT(x, '$.y')", "duckdb": "x -> 'y'", - "doris": "x -> '$.y'", + "doris": "JSON_EXTRACT(x, '$.y')", "mysql": "JSON_EXTRACT(x, '$.y')", "postgres": "x->'y'", "presto": "JSON_EXTRACT(x, '$.y')", @@ -1174,7 +1174,7 @@ class TestDialect(Validator): write={ "bigquery": "JSON_EXTRACT(x, '$.y')", "clickhouse": "JSONExtractString(x, 'y')", - "doris": "x -> '$.y'", + "doris": "JSON_EXTRACT(x, '$.y')", "duckdb": "x -> '$.y'", "mysql": "JSON_EXTRACT(x, '$.y')", "oracle": "JSON_EXTRACT(x, '$.y')", @@ -1218,7 +1218,7 @@ class TestDialect(Validator): read={ "bigquery": "JSON_EXTRACT(x, '$.y[0].z')", "duckdb": "x -> '$.y[0].z'", - "doris": "x -> '$.y[0].z'", + "doris": "JSON_EXTRACT(x, '$.y[0].z')", "mysql": "JSON_EXTRACT(x, '$.y[0].z')", "presto": "JSON_EXTRACT(x, '$.y[0].z')", "snowflake": "GET_PATH(x, 'y[0].z')", @@ -1228,7 +1228,7 @@ class TestDialect(Validator): write={ "bigquery": "JSON_EXTRACT(x, '$.y[0].z')", "clickhouse": "JSONExtractString(x, 'y', 1, 'z')", - "doris": "x -> '$.y[0].z'", + "doris": "JSON_EXTRACT(x, '$.y[0].z')", "duckdb": "x -> '$.y[0].z'", "mysql": "JSON_EXTRACT(x, '$.y[0].z')", "oracle": "JSON_EXTRACT(x, '$.y[0].z')", -- cgit v1.2.3