A
clickhouse_driver
не создаются, вродеSize: a a a
A
clickhouse_driver
не создаются, вродеSC
K
with agg_table_A as (
select ....
from table_A
group by ...
);
with agg_table_B as (
select ....
from table_B
group by ...
);
select *
from agg_table_A
left join agg_table_B
using ...
A
K
A
A
A
SC
A
АФ
CREATE TABLE default.internal_logs (
date Date DEFAULT toDate(time),
time DateTime,
server String,
port Int32,
type String,
table String,
volume Int64,
message String,
content String,
source String,
server_time DateTime DEFAULT now()
)
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/internal_logs', '{replica}')
PARTITION BY tuple()
ORDER BY time
SETTINGS index_granularity = 8192;
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/internal_logs', '{replica}')эту строку заменить на:
ENGINE = MergeTree()
D
with (
select groupArray(objfilter) from (
select 'lvl1=2,lvl2=3,lvl3=5' as objfilter UNION ALL
select 'lvl1=1,lvl2=3,lvl3=5,lvl4=43' as objfilter
)
) as fltArr
select fltArr, * from
(
select 'lvl1=2,lvl2=3,lvl3=5' as objpath UNION ALL
select 'lvl1=2,lvl2=3,lvl3=5,lvl4=2' as objpath UNION ALL
select 'lvl1=2,lvl2=3,lvl3=5,lvl4=44' as objpath UNION ALL
select 'lvl1=3,lvl2=3,lvl3=6' as objpath UNION ALL
select 'lvl1=2,lvl2=3' as objpath UNION ALL
select 'lvl1=1,lvl2=3,lvl3=5' as objpath
) t
WHERE arrayExists(
selectedObj ->
(startsWith(objpath, selectedObj)
or startsWith(selectedObj, objpath)),
fltArr);
АВ
http://myurl:8123
и получаю HTTP Error Forbidden. Все параметры доступа и бд - дефолтные.l
http://myurl:8123
и получаю HTTP Error Forbidden. Все параметры доступа и бд - дефолтные.l
cl
DC
AL
S
ИМ