forked from ClickHouse/ClickHouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45bbef6
commit d2d5f3b
Showing
9 changed files
with
98 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#pragma once | ||
#include <memory> | ||
|
||
namespace DB | ||
{ | ||
|
||
class IFunctionOverloadResolver; | ||
using FunctionOverloadResolverPtr = std::shared_ptr<IFunctionOverloadResolver>; | ||
|
||
FunctionOverloadResolverPtr createInternalFunctionEqualOverloadResolver(bool decimal_check_overflow); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#pragma once | ||
#include <memory> | ||
|
||
namespace DB | ||
{ | ||
|
||
class IFunctionOverloadResolver; | ||
using FunctionOverloadResolverPtr = std::shared_ptr<IFunctionOverloadResolver>; | ||
|
||
FunctionOverloadResolverPtr createInternalFunctionNotEqualOverloadResolver(bool decimal_check_overflow); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
DROP TABLE IF EXISTS test; | ||
CREATE TABLE test (x String, y Int32) ENGINE = MergeTree() ORDER BY x; | ||
|
||
INSERT INTO test VALUES ('a', 1), ('b', 2), ('c', 3), ('d', 4), ('e', 5); | ||
|
||
INSERT INTO test VALUES ('a', 1), ('b', 2), ('c', 3); | ||
select * from test where x in ('a') SETTINGS allow_experimental_analyzer = 1; | ||
select '-------------------'; | ||
select x in Null from test; | ||
select '-------------------'; | ||
explain query tree select * from test where x in ('a') SETTINGS allow_experimental_analyzer = 1; | ||
select '-------------------'; | ||
explain query tree select * from test where x in ('a','b') SETTINGS allow_experimental_analyzer = 1; | ||
select '-------------------'; | ||
select * from test where x not in ('a') SETTINGS allow_experimental_analyzer = 1; | ||
select '-------------------'; | ||
explain query tree select * from test where x not in ('a') SETTINGS allow_experimental_analyzer = 1; | ||
select '-------------------'; | ||
select * from test where x not in (NULL) SETTINGS allow_experimental_analyzer = 1; |