From c818683ce7042ddade20e8ac6ea1152c1de2aac5 Mon Sep 17 00:00:00 2001 From: CurtizJ Date: Thu, 30 Aug 2018 14:48:58 +0300 Subject: [PATCH] update test --- .../00702_where_with_quailified_names.reference | 6 +----- .../0_stateless/00702_where_with_quailified_names.sql | 8 ++++++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dbms/tests/queries/0_stateless/00702_where_with_quailified_names.reference b/dbms/tests/queries/0_stateless/00702_where_with_quailified_names.reference index 6d28e8d68c6..d00491fd7e5 100644 --- a/dbms/tests/queries/0_stateless/00702_where_with_quailified_names.reference +++ b/dbms/tests/queries/0_stateless/00702_where_with_quailified_names.reference @@ -1,5 +1 @@ -retentionMerge -retentionState -retentionIf -retentionNull -retentionForEach +1 diff --git a/dbms/tests/queries/0_stateless/00702_where_with_quailified_names.sql b/dbms/tests/queries/0_stateless/00702_where_with_quailified_names.sql index 3bcc6dcb584..60dadff14fb 100644 --- a/dbms/tests/queries/0_stateless/00702_where_with_quailified_names.sql +++ b/dbms/tests/queries/0_stateless/00702_where_with_quailified_names.sql @@ -1,2 +1,6 @@ - SELECT concat(func.name, comb.name) FROM system.functions AS func CROSS JOIN system.aggregate_function_combinators AS comb WHERE func.is_aggregate LIMIT 5; - \ No newline at end of file +DROP TABLE IF EXISTS where_qualified; +CREATE TABLE where_qualified(a UInt32, b UInt8) ENGINE = Memory; +INSERT INTO where_qualified VALUES(1, 1); +INSERT INTO where_qualified VALUES(2, 0); +SELECT a from where_qualified WHERE where_qualified.b; +DROP TABLE where_qualified;