You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Empty response from CH is captured in unpredictable way. I suppose that this can happened in case of 'Division by Zero' under uniq(account_id) / (SELECT uniq(account_id) ... . But native CH client didn't print any error. Simply "Ok. 0 rows".
Browse[1]> dbGetQuery(conn, r)
Error in select(conn@ptr, statement) : unsupported column type: Null
Browse[1]> dbGetQuery(conn, r)
data frame with 0 columns and 0 rows
Browse[1]> dbGetQuery(conn, r)
Error in select(conn@ptr, statement) : unsupported column type: Null
Browse[1]> dbGetQuery(conn, r)
data frame with 0 columns and 0 rows
Browse[1]> dbGetQuery(conn, r)
Error in select(conn@ptr, statement) : unsupported column type: Null
SQL request in native CH console is evaluated in correct way.
SELECTdate,
switchevent,
min(duration_minutes),
uniq(epgId),
uniq(account_id) /
(
SELECT uniq(account_id)
FROM view_states
WHERE ((date>='2018-01-19') AND (date<='2018-01-20')) AND ((duration >=60) AND (duration <=18000)) AND (account_id LIKE'%#34%')
) AS uniq_account_id_ratio
FROM view_states
WHERE ((date>='2018-01-19') AND (date<='2018-01-20')) AND ((duration >=60) AND (duration <=18000)) AND (account_id LIKE'%#34%')
GROUP BYdate,
switchevent
Ok.
0 rows inset. Elapsed: 0.269 sec. Processed 245.77 thousand rows, 8.82 MB (912.36 thousand rows/s., 32.73 MB/s.)
Empty response from CH is captured in unpredictable way. I suppose that this can happened in case of 'Division by Zero' under
uniq(account_id) / (SELECT uniq(account_id) ...
. But native CH client didn't print any error. Simply "Ok. 0 rows".SQL request in native CH console is evaluated in correct way.
Session details:
The text was updated successfully, but these errors were encountered: