You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This setting does not apply to the `JSON` data type.
1454
+
:::
1455
+
1452
1456
If enabled, ClickHouse will try to infer integers instead of floats in schema inference for text formats.
1453
1457
If all numbers in the column from sample data are integers, the result type will be `Int64`, if at least one number is float, the result type will be `Float64`.
1454
1458
If the sample data contains only integers and at least one integer is positive and overflows `Int64`, ClickHouse will infer `UInt64`.
"SELECT apply_id FROM test.table WHERE apply_type = 2 AND create_time > addDays(toDateTime('2019-01-01 01:02:03', 'UTC'),-7) AND apply_status IN (3,4)",
304
-
R"(SELECT "apply_id", "apply_type", "apply_status", "create_time" FROM "test"."table" WHERE ("apply_type" = 2) AND ("create_time" > '2018-12-25 01:02:03') AND ("apply_status" IN (3, 4)))",
305
-
R"(SELECT "apply_id", "apply_type", "apply_status", "create_time" FROM "test"."table" WHERE ("apply_type" = 2) AND ("create_time" > 1545699723) AND ("apply_status" IN (3, 4)))");
304
+
R"(SELECT "apply_id", "apply_type", "apply_status", "create_time" FROM "test"."table" WHERE ("apply_type" = 2) AND ("create_time" > '2018-12-25 01:02:03') AND ("apply_status" IN (3, 4)))");
Copy file name to clipboardExpand all lines: tests/queries/0_stateless/03393_join_bug_77848.sql
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,6 @@ SET enable_analyzer = 1;
13
13
-- TODO(@vdimir): NOT_FOUND_COLUMN_IN_BLOCK is a bug, should be fixed
14
14
-- This tests ensures that query does not crash at least
15
15
16
-
SELECT1FROM BadTable i LEFT JOIN BadJoin c ONi.id_uint= toUInt128(c.id) WHERE equals(i.id_uint, 12);-- { serverError NOT_FOUND_COLUMN_IN_BLOCK}
16
+
SELECT1FROM BadTable i LEFT JOIN BadJoin c ONi.id_uint= toUInt128(c.id) WHERE equals(i.id_uint, 12);
17
17
18
-
SELECT equals(i.id_uint, 12) FROM BadTable i LEFT JOIN BadJoin c ONi.id_uint= toUInt128(c.id) WHERE equals(i.id_uint, 12);-- { serverError NOT_FOUND_COLUMN_IN_BLOCK}
18
+
SELECT equals(i.id_uint, 12) FROM BadTable i LEFT JOIN BadJoin c ONi.id_uint= toUInt128(c.id) WHERE equals(i.id_uint, 12);
0 commit comments