-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61591 from ClickHouse/backport/24.2/61458
Backport #61458 to 24.2: fix issue of actions dag split
- Loading branch information
Showing
3 changed files
with
25 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1 | ||
2 | ||
3 |
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,17 @@ | ||
DROP TABLE IF EXISTS v; | ||
CREATE VIEW v (`date` UInt32,`value` UInt8) AS | ||
WITH | ||
data AS (SELECT '' id LIMIT 0), | ||
r AS (SELECT'' as id, 1::UInt8 as value) | ||
SELECT | ||
now() as date, | ||
value AND (data.id IN (SELECT '' as d from system.one)) AS value | ||
FROM data | ||
LEFT JOIN r ON data.id = r.id; | ||
|
||
SELECT 1; | ||
SELECT date, value FROM v; | ||
SELECT 2; | ||
SELECT date, value FROM v ORDER BY date; | ||
SELECT 3; | ||
DROP TABLE v; |