PL

и в таком стиле 2 кластера по 12 тачек(
Size: a a a
PL
SC
metrics
TZ MoscowSELECT toTypeName(timeSlots(toDateTime(toDate('2021-01-11')), toUInt32(dateDiff('second', toDateTime(toDate('2021-01-11')), toDateTime(toDate('2021-01-12')))), toUInt32(86400))) AS typename
┌─typename─────────────────────────┐
│ Array(DateTime('Europe/Moscow')) │
└──────────────────────────────────┘
NT
VN
NT
VN
NT
NT
DC
NT
DC
PL
) - не помогает - видимо чего-то не учел?
set max_threads = 6;
set min_insert_block_size_rows=200000;
D
) - не помогает - видимо чего-то не учел?
set max_threads = 6;
set min_insert_block_size_rows=200000;
OG
OG
PL
S
IK
FORMAT CustomSeparated
?,
Row 1:когда делаю запрос с указаниме типа разделителя
Column 0, name: datetime, type: String, parsed text: "2021-Jan^d1^d2" ERROR: Line feed found where delimiter (,) is expected. It's like your file has less columns than expected.
And if your file have right number of columns, maybe it have unescaped quotes in value
А
format_custom_field_delimiter='^'
, то выдаёт ошибкуCode: 49, e.displayText() = DB::Exception: There is no checkpoint (version 20.1.2.4 (official build))cам запрос
find . -type f -name 'j.log' | while read f; do
curl "http://localhost:8123
/?query=INSERT%20INTO%20mydb%20FORMAT%20CustomSeparated%20SETTINGS%20format_custom_escaping_rule%3D%27CSV%27%2C%20format_custom_field_delimiter%20%3D%20%27%5E%27" --data-binary "@${f}"
done
D
PL