ClickHouse/tests/queries/0_stateless/00921_datetime64_compatibility_long.reference

1251 lines
30 KiB
Plaintext
Raw Normal View History

SELECT toTimeZone(N, \'UTC\')
2020-10-23 14:28:55 +00:00
Code: 43
"DateTime('UTC')","2019-09-16 16:20:11"
"DateTime64(3, 'UTC')","2019-09-16 16:20:11.234"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toYear(N, \'Europe/Moscow\')
"UInt16",2019
"UInt16",2019
"UInt16",2019
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toQuarter(N, \'Europe/Moscow\')
"UInt8",3
"UInt8",3
"UInt8",3
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toMonth(N, \'Europe/Moscow\')
"UInt8",9
"UInt8",9
"UInt8",9
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toDayOfYear(N, \'Europe/Moscow\')
"UInt16",259
"UInt16",259
"UInt16",259
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toDayOfMonth(N, \'Europe/Moscow\')
"UInt8",16
"UInt8",16
"UInt8",16
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toDayOfWeek(N, \'Europe/Moscow\')
"UInt8",1
"UInt8",1
"UInt8",1
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toHour(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",19
"UInt8",19
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toMinute(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",20
"UInt8",20
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toSecond(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",11
"UInt8",11
------------------------------------------
SELECT toUnixTimestamp(N)
Code: 44
"UInt32",1568650811
"UInt32",1568650811
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfYear(N, \'Europe/Moscow\')
Code: 43
"Date","2019-01-01"
"Date","2019-01-01"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfISOYear(N, \'Europe/Moscow\')
Code: 43
"Date","2018-12-31"
"Date","2018-12-31"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfQuarter(N, \'Europe/Moscow\')
Code: 43
"Date","2019-07-01"
"Date","2019-07-01"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfMonth(N, \'Europe/Moscow\')
Code: 43
"Date","2019-09-01"
"Date","2019-09-01"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toMonday(N, \'Europe/Moscow\')
Code: 43
"Date","2019-09-16"
"Date","2019-09-16"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfWeek(N, \'Europe/Moscow\')
Code: 43
Code: 43
Code: 43
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfDay(N, \'Europe/Moscow\')
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfHour(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","2019-09-16 19:00:00"
"DateTime('Europe/Moscow')","2019-09-16 19:00:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfMinute(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","2019-09-16 19:20:00"
"DateTime('Europe/Moscow')","2019-09-16 19:20:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfFiveMinute(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","2019-09-16 19:20:00"
"DateTime('Europe/Moscow')","2019-09-16 19:20:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfTenMinutes(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","2019-09-16 19:20:00"
"DateTime('Europe/Moscow')","2019-09-16 19:20:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfFifteenMinutes(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","2019-09-16 19:15:00"
"DateTime('Europe/Moscow')","2019-09-16 19:15:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfInterval(N, INTERVAL 1 year, \'Europe/Moscow\')
Code: 43
"Date","2019-01-01"
"Date","2019-01-01"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfInterval(N, INTERVAL 1 month, \'Europe/Moscow\')
Code: 43
"Date","2019-09-01"
"Date","2019-09-01"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfInterval(N, INTERVAL 1 day, \'Europe/Moscow\')
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toStartOfInterval(N, INTERVAL 15 minute, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","2019-09-16 19:15:00"
"DateTime('Europe/Moscow')","2019-09-16 19:15:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT date_trunc(\'year\', N, \'Europe/Moscow\')
Code: 43
2020-08-17 09:47:16 +00:00
"Date","2019-01-01"
"Date","2019-01-01"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT date_trunc(\'month\', N, \'Europe/Moscow\')
Code: 43
2020-08-17 09:47:16 +00:00
"Date","2019-09-01"
"Date","2019-09-01"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT date_trunc(\'day\', N, \'Europe/Moscow\')
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
"DateTime('Europe/Moscow')","2019-09-16 00:00:00"
2020-08-17 09:47:16 +00:00
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT date_trunc(\'minute\', N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","2019-09-16 19:20:00"
"DateTime('Europe/Moscow')","2019-09-16 19:20:00"
2020-08-17 09:47:16 +00:00
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toTime(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","1970-01-02 19:20:11"
"DateTime('Europe/Moscow')","1970-01-02 19:20:11"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toRelativeYearNum(N, \'Europe/Moscow\')
"UInt16",2019
"UInt16",2019
"UInt16",2019
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toRelativeQuarterNum(N, \'Europe/Moscow\')
"UInt32",8078
"UInt32",8078
"UInt32",8078
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toRelativeMonthNum(N, \'Europe/Moscow\')
"UInt32",24237
"UInt32",24237
"UInt32",24237
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toRelativeWeekNum(N, \'Europe/Moscow\')
"UInt32",2594
"UInt32",2594
"UInt32",2594
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toRelativeDayNum(N, \'Europe/Moscow\')
"UInt32",18155
"UInt32",18155
"UInt32",18155
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toRelativeHourNum(N, \'Europe/Moscow\')
"UInt32",435717
"UInt32",435736
"UInt32",435736
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toRelativeMinuteNum(N, \'Europe/Moscow\')
"UInt32",26143020
"UInt32",26144180
"UInt32",26144180
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toRelativeSecondNum(N, \'Europe/Moscow\')
"UInt32",1568581200
"UInt32",1568650811
"UInt32",1568650811
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toISOYear(N, \'Europe/Moscow\')
"UInt16",2019
"UInt16",2019
"UInt16",2019
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toISOWeek(N, \'Europe/Moscow\')
"UInt8",38
"UInt8",38
"UInt8",38
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toWeek(N, \'Europe/Moscow\')
Code: 43
Code: 43
Code: 43
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toYearWeek(N, \'Europe/Moscow\')
Code: 43
Code: 43
Code: 43
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT timeSlot(N, \'Europe/Moscow\')
2020-10-23 14:28:55 +00:00
Code: 43
2021-07-24 15:45:33 +00:00
"DateTime('Europe/Moscow')","2019-09-16 19:00:00"
"DateTime('Europe/Moscow')","2019-09-16 19:00:00"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toYYYYMM(N, \'Europe/Moscow\')
"UInt32",201909
"UInt32",201909
"UInt32",201909
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toYYYYMMDD(N, \'Europe/Moscow\')
"UInt32",20190916
"UInt32",20190916
"UInt32",20190916
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT toYYYYMMDDhhmmss(N, \'Europe/Moscow\')
"UInt64",20190916000000
"UInt64",20190916192011
"UInt64",20190916192011
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT addYears(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2020-09-16 19:20:11"
Code: 43
------------------------------------------
SELECT addMonths(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-10-16 19:20:11"
Code: 43
------------------------------------------
SELECT addWeeks(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-23 19:20:11"
Code: 43
------------------------------------------
SELECT addDays(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-17 19:20:11"
Code: 43
------------------------------------------
SELECT addHours(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-16 20:20:11"
Code: 43
------------------------------------------
SELECT addMinutes(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-16 19:21:11"
Code: 43
------------------------------------------
SELECT addSeconds(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-16 19:20:12"
Code: 43
------------------------------------------
SELECT addQuarters(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-12-16 19:20:11"
Code: 43
------------------------------------------
SELECT subtractYears(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2018-09-16 19:20:11"
Code: 43
------------------------------------------
SELECT subtractMonths(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-08-16 19:20:11"
Code: 43
------------------------------------------
SELECT subtractWeeks(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-09 19:20:11"
Code: 43
------------------------------------------
SELECT subtractDays(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-15 19:20:11"
Code: 43
------------------------------------------
SELECT subtractHours(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-16 18:20:11"
Code: 43
------------------------------------------
SELECT subtractMinutes(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-16 19:19:11"
Code: 43
------------------------------------------
SELECT subtractSeconds(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-09-16 19:20:10"
Code: 43
------------------------------------------
SELECT subtractQuarters(N, 1, \'Europe/Moscow\')
Code: 43
"DateTime('Europe/Moscow')","2019-06-16 19:20:11"
Code: 43
------------------------------------------
SELECT CAST(N as DateTime(\'Europe/Minsk\'))
"DateTime('Europe/Minsk')","2019-09-16 00:00:00"
"DateTime('Europe/Minsk')","2019-09-16 19:20:11"
"DateTime('Europe/Minsk')","2019-09-16 19:20:11"
------------------------------------------
SELECT CAST(N as Date)
"Date","2019-09-16"
"Date","2019-09-16"
"Date","2019-09-16"
------------------------------------------
SELECT CAST(N as UInt64)
"UInt64",18155
"UInt64",1568650811
"UInt64",1568650811
------------------------------------------
SELECT CAST(N as DateTime64(0, \'Europe/Minsk\'))
"DateTime64(0, 'Europe/Minsk')","2019-09-16 00:00:00"
"DateTime64(0, 'Europe/Minsk')","2019-09-16 19:20:11"
"DateTime64(0, 'Europe/Minsk')","2019-09-16 19:20:11"
------------------------------------------
SELECT CAST(N as DateTime64(3, \'Europe/Minsk\'))
"DateTime64(3, 'Europe/Minsk')","2019-09-16 00:00:00.000"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:11.000"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:11.234"
------------------------------------------
SELECT CAST(N as DateTime64(6, \'Europe/Minsk\'))
"DateTime64(6, 'Europe/Minsk')","2019-09-16 00:00:00.000000"
"DateTime64(6, 'Europe/Minsk')","2019-09-16 19:20:11.000000"
"DateTime64(6, 'Europe/Minsk')","2019-09-16 19:20:11.234000"
------------------------------------------
SELECT CAST(N as DateTime64(9, \'Europe/Minsk\'))
"DateTime64(9, 'Europe/Minsk')","2019-09-16 00:00:00.000000000"
"DateTime64(9, 'Europe/Minsk')","2019-09-16 19:20:11.000000000"
"DateTime64(9, 'Europe/Minsk')","2019-09-16 19:20:11.234000000"
------------------------------------------
2021-07-24 15:45:33 +00:00
SELECT formatDateTime(N, \'%C %d %D %e %F %H %I %j %m %M %p %R %S %T %u %V %w %y %Y %%\', \'Europe/Moscow\')
"String","20 16 09/16/19 16 2019-09-16 00 12 259 09 00 AM 00:00 00 00:00:00 1 38 1 19 2019 %"
"String","20 16 09/16/19 16 2019-09-16 19 07 259 09 20 PM 19:20 11 19:20:11 1 38 1 19 2019 %"
"String","20 16 09/16/19 16 2019-09-16 19 07 259 09 20 PM 19:20 11 19:20:11 1 38 1 19 2019 %"
------------------------------------------
SELECT N - N
"Int32",0
"Int32",0
2020-10-23 14:28:55 +00:00
Code: 43
------------------------------------------
SELECT N + N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
------------------------------------------
SELECT N != N
"UInt8",0
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N == N
"UInt8",1
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N < N
"UInt8",0
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N <= N
"UInt8",1
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N > N
"UInt8",0
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N >= N
"UInt8",1
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N - DT
2020-10-23 14:28:55 +00:00
Code: 43
"Int32",0
2020-10-23 14:28:55 +00:00
Code: 43
------------------------------------------
SELECT DT - N
2020-10-23 14:28:55 +00:00
Code: 43
"Int32",0
2020-10-23 14:28:55 +00:00
Code: 43
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N - D
"Int32",0
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT D - N
"Int32",0
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT N - DT64
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT DT64 - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT N != DT
"UInt8",1
"UInt8",0
"UInt8",1
------------------------------------------
SELECT DT != N
"UInt8",1
"UInt8",0
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != D
"UInt8",0
"UInt8",1
2020-10-02 16:54:07 +00:00
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT D != N
"UInt8",0
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != DT64
"UInt8",1
"UInt8",1
2020-10-02 16:54:07 +00:00
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT DT64 != N
"UInt8",1
"UInt8",1
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == DT
"UInt8",0
"UInt8",1
"UInt8",0
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT DT == N
"UInt8",0
"UInt8",1
2020-10-02 16:54:07 +00:00
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == D
"UInt8",1
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT D == N
"UInt8",1
"UInt8",0
2020-10-02 16:54:07 +00:00
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == DT64
"UInt8",0
"UInt8",0
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT DT64 == N
"UInt8",0
"UInt8",0
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N < DT
"UInt8",1
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT DT < N
"UInt8",0
"UInt8",0
2020-10-02 16:54:07 +00:00
"UInt8",1
------------------------------------------
SELECT N < D
"UInt8",0
"UInt8",0
"UInt8",0
------------------------------------------
SELECT D < N
"UInt8",0
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N < DT64
"UInt8",1
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",0
------------------------------------------
SELECT DT64 < N
"UInt8",0
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= DT
"UInt8",1
"UInt8",1
2020-10-02 16:54:07 +00:00
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT DT <= N
"UInt8",0
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= D
"UInt8",1
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT D <= N
"UInt8",1
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= DT64
"UInt8",1
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT DT64 <= N
"UInt8",0
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N > DT
"UInt8",0
"UInt8",0
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT DT > N
"UInt8",1
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N > D
"UInt8",0
"UInt8",1
"UInt8",1
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT D > N
"UInt8",0
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N > DT64
"UInt8",0
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT DT64 > N
"UInt8",1
"UInt8",1
"UInt8",0
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT N >= DT
"UInt8",0
"UInt8",1
2020-10-02 16:54:07 +00:00
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT DT >= N
"UInt8",1
"UInt8",1
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N >= D
"UInt8",1
"UInt8",1
"UInt8",1
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT D >= N
"UInt8",1
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N >= DT64
"UInt8",0
"UInt8",0
"UInt8",1
------------------------------------------
SELECT DT64 >= N
"UInt8",1
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N + toUInt8(1)
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
2020-02-24 14:48:15 +00:00
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
SELECT toUInt8(1) + N
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
2020-02-24 14:48:15 +00:00
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N + toInt8(-1)
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT toInt8(-1) + N
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT N + toUInt16(1)
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
SELECT toUInt16(1) + N
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
SELECT N + toInt16(-1)
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT toInt16(-1) + N
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT N + toUInt32(1)
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
SELECT toUInt32(1) + N
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
SELECT N + toInt32(-1)
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT toInt32(-1) + N
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT N + toUInt64(1)
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
SELECT toUInt64(1) + N
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
SELECT N + toInt64(-1)
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT toInt64(-1) + N
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT N - toUInt8(1)
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
2020-02-24 14:48:15 +00:00
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
SELECT toUInt8(1) - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N - toInt8(-1)
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt8(-1) - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N - toUInt16(1)
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt16(1) - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N - toInt16(-1)
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt16(-1) - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N - toUInt32(1)
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
2020-02-24 14:48:15 +00:00
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt32(1) - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT N - toInt32(-1)
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
SELECT toInt32(-1) - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT N - toUInt64(1)
"Date","2019-09-15"
"DateTime('Europe/Minsk')","2019-09-16 19:20:10"
2020-02-24 14:48:15 +00:00
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:10.234"
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt64(1) - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
2020-10-02 16:54:07 +00:00
------------------------------------------
SELECT N - toInt64(-1)
"Date","2019-09-17"
"DateTime('Europe/Minsk')","2019-09-16 19:20:12"
2020-02-24 14:48:15 +00:00
"DateTime64(3, 'Europe/Minsk')","2019-09-16 19:20:12.234"
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt64(-1) - N
2020-10-23 14:28:55 +00:00
Code: 43
Code: 43
Code: 43
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == toUInt8(1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT toUInt8(1) == N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N == toInt8(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
SELECT toInt8(-1) == N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == toUInt16(1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt16(1) == N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == toInt16(-1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt16(-1) == N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == toUInt32(1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt32(1) == N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == toInt32(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt32(-1) == N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == toUInt64(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt64(1) == N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N == toInt64(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt64(-1) == N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != toUInt8(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt8(1) != N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != toInt8(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt8(-1) != N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != toUInt16(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt16(1) != N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N != toInt16(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
SELECT toInt16(-1) != N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != toUInt32(1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt32(1) != N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != toInt32(-1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt32(-1) != N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != toUInt64(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt64(1) != N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N != toInt64(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt64(-1) != N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N < toUInt8(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt8(1) < N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N < toInt8(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt8(-1) < N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N < toUInt16(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt16(1) < N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N < toInt16(-1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT toInt16(-1) < N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N < toUInt32(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
SELECT toUInt32(1) < N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N < toInt32(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt32(-1) < N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N < toUInt64(1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT toUInt64(1) < N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N < toInt64(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt64(-1) < N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= toUInt8(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt8(1) <= N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= toInt8(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt8(-1) <= N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N <= toUInt16(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt16(1) <= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= toInt16(-1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT toInt16(-1) <= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= toUInt32(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt32(1) <= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N <= toInt32(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
SELECT toInt32(-1) <= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= toUInt64(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt64(1) <= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N <= toInt64(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt64(-1) <= N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
SELECT N > toUInt8(1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt8(1) > N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N > toInt8(-1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
SELECT toInt8(-1) > N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N > toUInt16(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt16(1) > N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N > toInt16(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt16(-1) > N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N > toUInt32(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt32(1) > N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N > toInt32(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt32(-1) > N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N > toUInt64(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
SELECT toUInt64(1) > N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N > toInt64(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt64(-1) > N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N >= toUInt8(1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt8(1) >= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N >= toInt8(-1)
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",1
"UInt8",1
------------------------------------------
SELECT toInt8(-1) >= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N >= toUInt16(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt16(1) >= N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N >= toInt16(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt16(-1) >= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N >= toUInt32(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt32(1) >= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT N >= toInt32(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toInt32(-1) >= N
2020-10-23 14:28:55 +00:00
Code: 43
2020-10-02 16:54:07 +00:00
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N >= toUInt64(1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
2020-10-02 16:54:07 +00:00
SELECT toUInt64(1) >= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------
SELECT N >= toInt64(-1)
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",1
"UInt8",1
------------------------------------------
SELECT toInt64(-1) >= N
2020-10-23 14:28:55 +00:00
Code: 43
"UInt8",0
"UInt8",0
------------------------------------------