We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e2541 commit 8fe9b65Copy full SHA for 8fe9b65
tests/core/engine_adapter/test_base.py
@@ -2744,7 +2744,6 @@ def test_replace_query_data_object_type_mismatch(
2744
"test_table", parse_one("SELECT a FROM tbl"), {"a": exp.DataType.build("INT")}
2745
)
2746
2747
- # TODO: Shouldn't we enforce that `a` is casted to an int?
2748
assert to_sql_calls(adapter) == [
2749
'DROP VIEW IF EXISTS "test_table"',
2750
'CREATE OR REPLACE TABLE "test_table" AS SELECT CAST("a" AS INT) AS "a" FROM (SELECT "a" FROM "tbl") AS "_subquery"',
0 commit comments