аргументом? ключ? значение?
если значение
> SELECT dictGetFloat64OrDefault('normalization', 'B', (toDate('2017-09-01'), 'fsdfds'), tuple(CAST(10. AS Float64)))
> Received exception from server:
> Code: 43. DB::Exception: Received from server:9000, ip. DB::Exception: Illegal type Tuple(Float64) of fourth argument of function dictGetFloat64OrDefault, must be Float64..
если ключ:
> SELECT dictGetFloat64OrDefault('normalization', 'B', (toDate('2017-09-01'), 'fsdfds'), (toDate('2017-09-01'), ''))
> Received exception from server:
> Code: 43. DB::Exception: Received from server:9000, ip. DB::Exception: Illegal type Tuple(Date, String) of fourth argument of function dictGetFloat64OrDefault, must be Float64..
Третий аргумент (ключ) - кортеж. Четвёртый (default) - Float64.
Обсуждают сегодня