ClickHouse/tests/queries/0_stateless/02096_date_time_1970_saturation2.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
1.5 KiB
MySQL
Raw Normal View History

-- America/Paramaribo : partial hours timezones
select toDateTime(0, 'America/Paramaribo');
select toMonday(toDateTime(0, 'America/Paramaribo'));
select toStartOfWeek(toDateTime(0, 'America/Paramaribo'));
select toStartOfMonth(toDateTime(0, 'America/Paramaribo'));
select toStartOfQuarter(toDateTime(0, 'America/Paramaribo'));
select toStartOfYear(toDateTime(0, 'America/Paramaribo'));
select toTime(toDateTime(0, 'America/Paramaribo'), 'America/Paramaribo');
select toStartOfMinute(toDateTime(0, 'America/Paramaribo'));
select toStartOfFiveMinute(toDateTime(0, 'America/Paramaribo'));
select toStartOfTenMinutes(toDateTime(0, 'America/Paramaribo'));
select toStartOfFifteenMinutes(toDateTime(0, 'America/Paramaribo'));
select toStartOfHour(toDateTime(0, 'America/Paramaribo'));
-- Africa/Monrovia : partial minutes timezones
select toDateTime(0, 'Africa/Monrovia');
select toMonday(toDateTime(0, 'Africa/Monrovia'));
select toStartOfWeek(toDateTime(0, 'Africa/Monrovia'));
select toStartOfMonth(toDateTime(0, 'Africa/Monrovia'));
select toStartOfQuarter(toDateTime(0, 'Africa/Monrovia'));
select toStartOfYear(toDateTime(0, 'Africa/Monrovia'));
select toTime(toDateTime(0, 'Africa/Monrovia'), 'Africa/Monrovia');
select toStartOfMinute(toDateTime(0, 'Africa/Monrovia'));
select toStartOfFiveMinute(toDateTime(0, 'Africa/Monrovia'));
select toStartOfTenMinutes(toDateTime(0, 'Africa/Monrovia'));
select toStartOfFifteenMinutes(toDateTime(0, 'Africa/Monrovia'));
select toStartOfHour(toDateTime(0, 'Africa/Monrovia'));