SC
Size: a a a
SC
FP
AR
Nullable(Decimal(18,6))
A и Bselect if(B=0 or ifnull(B), 0, A/B)Получаем
Division by zero.
В чем может быть проблемаAM
Nullable(Decimal(18,6))
A и Bselect if(B=0 or ifnull(B), 0, A/B)Получаем
Division by zero.
В чем может быть проблемаselect ifNull(a / nullIf(b, 0), 0)
from (select 1 as a, 0 as b)
O
col1
in source stream (version 19.17.9.60 (official build))O
WA
DT
col1
in source stream (version 19.17.9.60 (official build))O
day
Date, timestamp
UInt64, mac
String, accDeviceId
Nullable(Int64), aggDeviceId
Nullable(Int64), peDeviceId
Nullable(Int64), serviceId
String, eipAffilateId
String, serviceAccountNumber
Nullable(String), stbIp
Nullable(String), spyVersion
Nullable(String), stbModel
Nullable(String), stbSerial
Nullable(String), fwVersion
Nullable(String), tech
Nullable(String), uptime
Nullable(UInt32), lineNumber
String, eipNls
String, eipGidCustomer
Nullable(Int64), eipMrfId
Nullable(UInt32), segment
Nullable(UInt8), segmentB2b
Nullable(UInt8), phone
Nullable(String), email
Nullable(String), tvPlatform
UInt8, ottTvCode
Nullable(String), serviceLineLength
Nullable(Float64)) ENGINE = Distributed(mirror, kqi, topology_shard, sipHash64(concat(serviceId, eipAffilateId, mac)))DT
day
Date, timestamp
UInt64, mac
String, accDeviceId
Nullable(Int64), aggDeviceId
Nullable(Int64), peDeviceId
Nullable(Int64), serviceId
String, eipAffilateId
String, serviceAccountNumber
Nullable(String), stbIp
Nullable(String), spyVersion
Nullable(String), stbModel
Nullable(String), stbSerial
Nullable(String), fwVersion
Nullable(String), tech
Nullable(String), uptime
Nullable(UInt32), lineNumber
String, eipNls
String, eipGidCustomer
Nullable(Int64), eipMrfId
Nullable(UInt32), segment
Nullable(UInt8), segmentB2b
Nullable(UInt8), phone
Nullable(String), email
Nullable(String), tvPlatform
UInt8, ottTvCode
Nullable(String), serviceLineLength
Nullable(Float64)) ENGINE = Distributed(mirror, kqi, topology_shard, sipHash64(concat(serviceId, eipAffilateId, mac)))O
-
D
[('a', 1), ('a', 2), ('c', 3), ('a', 2), ('c', 3)]
M
М
[('a', 1), ('a', 2), ('c', 3), ('a', 2), ('c', 3)]
S
D
S
AS
SELECT
же не умеет фильтровать по PARTITION
?AS