Moved another test

This commit is contained in:
Alexey Milovidov 2022-03-12 00:13:33 +01:00
parent 4a92a8a732
commit f0867ed7ea
2 changed files with 3 additions and 5 deletions

View File

@ -0,0 +1 @@
ApplicationA 2020-01-01

View File

@ -1,6 +1,3 @@
-- Tags: no-polymorphic-parts
-- Tag no-polymorphic-parts: bug, shoud be fixed
DROP TABLE IF EXISTS APPLICATION;
DROP TABLE IF EXISTS DATABASE_IO;
@ -22,9 +19,9 @@ ORDER BY Date;
insert into table DATABASE_IO values ('AppA', 'BaseA', '2020-01-01 00:00:00', 1000);
SELECT `APPLICATION`.`Name` AS `App`,
CAST(CAST(`DATABASE_IO`.`Date` AS DATE) AS DATE) AS `date`
CAST(CAST(`DATABASE_IO`.`Date` AS DATE) AS DATE) AS `date`
FROM `DATABASE_IO`
INNER
INNER
JOIN `APPLICATION` ON (`DATABASE_IO`.`Base` = `APPLICATION`.`Base`)
WHERE (
CAST(CAST(`DATABASE_IO`.`Date` AS DATE) AS TIMESTAMP) >= toDateTime('2020-01-01 00:00:00')