id
stringlengths
36
36
document
stringlengths
3
3k
metadata
stringlengths
23
69
embeddings
listlengths
384
384
0ce98b28-b258-415d-bb42-c5d0c0ec9451
"rows": 17, "statistics": { "elapsed": 0.173464376, "rows_read": 0, "bytes_read": 0 } } ``` Format settings {#format-settings}
{"source_file": "JSONStrings.md"}
[ 0.047941189259290695, 0.032633326947689056, -0.11183501780033112, 0.03131226450204849, -0.08304066210985184, 0.0014160892460495234, -0.019439011812210083, 0.022873787209391594, -0.01703198254108429, 0.06343473494052887, -0.019358530640602112, -0.04500260576605797, 0.011690597049891949, -0....
4189a415-565e-4f1e-8cfe-442ef3f5ef16
description: 'Documentation for the JSONCompactStringsEachRowWithNamesAndTypes format' keywords: ['JSONCompactStringsEachRowWithNamesAndTypes'] slug: /interfaces/formats/JSONCompactStringsEachRowWithNamesAndTypes title: 'JSONCompactStringsEachRowWithNamesAndTypes' doc_type: 'reference' | Input | Output | Alias | |-...
{"source_file": "JSONCompactStringsEachRowWithNamesAndTypes.md"}
[ -0.03083072043955326, 0.014329548925161362, -0.03820474073290825, 0.015235956758260727, 0.007642568554729223, -0.011514711193740368, -0.035218458622694016, 0.08183147013187408, 0.022032463923096657, -0.0719437524676323, 0.014122681692242622, -0.025116056203842163, 0.05135589838027954, 0.07...
84e50b76-361a-4e0b-963f-f92fbc5e64ee
Read data using the JSONCompactStringsEachRowWithNamesAndTypes format: sql SELECT * FROM football FORMAT JSONCompactStringsEachRowWithNamesAndTypes The output will be in JSON format: json ["date", "season", "home_team", "away_team", "home_team_goals", "away_team_goals"] ["Date", "Int16", "LowCardinality(String)...
{"source_file": "JSONCompactStringsEachRowWithNamesAndTypes.md"}
[ 0.057574767619371414, -0.015655146911740303, -0.00532038789242506, 0.012202052399516106, 0.020738888531923294, 0.029182009398937225, 0.019363459199666977, 0.05166031792759895, -0.010413036681711674, -0.021832602098584175, -0.005043884739279747, -0.0348445400595665, 0.00008733339927857742, ...
d93d0399-1475-4a87-8cc4-3a439b22e1d8
alias: [] description: 'Documentation for the JSONCompactColumns format' input_format: true keywords: ['JSONCompactColumns'] output_format: true slug: /interfaces/formats/JSONCompactColumns title: 'JSONCompactColumns' doc_type: 'reference' | Input | Output | Alias | |-------|--------|-------| | ✔ | ✔ | ...
{"source_file": "JSONCompactColumns.md"}
[ -0.0405922569334507, 0.03467800095677376, -0.03304234892129898, -0.0010346781928092241, -0.020390426740050316, -0.01140954252332449, -0.024899279698729515, 0.08461062610149384, 0.049582213163375854, -0.035013310611248016, 0.013891269452869892, 0.004676480777561665, 0.031096136197447777, 0....
66507d4f-7e63-452a-9de4-865301def9f2
Reading data {#reading-data} Read data using the JSONCompactColumns format: sql SELECT * FROM football FORMAT JSONCompactColumns The output will be in JSON format: json [ ["2022-04-30", "2022-04-30", "2022-04-30", "2022-05-02", "2022-05-02", "2022-05-07", "2022-05-07", "2022-05-07", "2022-05-07", "2022-05...
{"source_file": "JSONCompactColumns.md"}
[ 0.009301013313233852, -0.031335823237895966, -0.005826131906360388, 0.0005445829592645168, -0.010370641015470028, 0.03848287835717201, 0.03378209099173546, 0.03655015304684639, -0.019539762288331985, -0.002123518381267786, -0.0012990994146093726, -0.012120221741497517, -0.0035762181505560875...
d3f9b06d-6b9b-4113-a669-5caa82be6ce1
alias: [] description: 'Documentation for the Avro format' input_format: true keywords: ['Avro'] output_format: true slug: /interfaces/formats/Avro title: 'Avro' doc_type: 'reference' import DataTypeMapping from './_snippets/data-types-matching.md' | Input | Output | Alias | |-------|--------|-------| | ✔ | ✔...
{"source_file": "Avro.md"}
[ 0.04357672855257988, -0.04371758922934532, -0.06267400830984116, -0.03146364167332649, -0.012688903138041496, -0.004190422128885984, 0.025749867781996727, 0.06696341931819916, -0.029333151876926422, 0.01050236914306879, 0.0030550737865269184, -0.0611189529299736, -0.03314445912837982, 0.02...
02216027-28f8-488c-9f26-fb33ed63ab2b
While importing data, when a field is not found in the schema and setting input_format_avro_allow_missing_fields is enabled, the default value will be used instead of throwing an error. Writing Avro data {#writing-avro-data} To write data from a ClickHouse table into an Avro file: bash $ clickhouse-client --que...
{"source_file": "Avro.md"}
[ 0.029858993366360664, -0.050816670060157776, -0.14482936263084412, 0.005479251500219107, 0.026309488341212273, 0.0024030867498368025, -0.011644992977380753, -0.03895394876599312, -0.026634415611624718, 0.04092520847916603, 0.022360118106007576, -0.048766396939754486, 0.016311265528202057, ...
6b8730a3-19b7-4484-a07d-0cfd52c57229
```sql DESCRIBE url('https://clickhouse-public-datasets.s3.eu-central-1.amazonaws.com/hits.avro','Avro); ┌─name───────────────────────┬─type────────────┬─default_type─┬─default_expression─┬─comment─┬─codec_expression─┬─ttl_expression─┐ │ WatchID │ Int64 │ │ ...
{"source_file": "Avro.md"}
[ 0.05654896795749664, -0.09716446697711945, -0.05489453673362732, 0.0425332672894001, 0.038833137601614, -0.037218235433101654, 0.010292300023138523, -0.06335128098726273, -0.012147990986704826, 0.0675756186246872, 0.016103776171803474, -0.07723362743854523, 0.03569736331701279, -0.09397272...
5bb700e6-9d5b-4aad-83e4-543d68f087bd
alias: [] description: 'Documentation for the AvroConfluent format' input_format: true keywords: ['AvroConfluent'] output_format: false slug: /interfaces/formats/AvroConfluent title: 'AvroConfluent' doc_type: 'reference' import DataTypesMatching from './_snippets/data-types-matching.md' | Input | Output | Alias |...
{"source_file": "AvroConfluent.md"}
[ -0.019558757543563843, -0.0604296550154686, -0.10649111866950989, -0.03617514669895172, -0.023513127118349075, -0.01700807921588421, 0.016124222427606583, 0.019034067168831825, 0.012075664475560188, 0.020735803991556168, -0.00994251761585474, -0.058543961495161057, -0.03622861206531525, -0...
bbe756f9-dc91-49af-a092-6321d50daa4b
Troubleshooting {#troubleshooting} To monitor ingestion progress and debug errors with the Kafka consumer, you can query the system.kafka_consumers system table . If your deployment has multiple replicas (e.g., ClickHouse Cloud), you must use the clusterAllReplicas table function. sql SELECT * FROM clusterAllRe...
{"source_file": "AvroConfluent.md"}
[ 0.06657124310731888, -0.08652806282043457, -0.050335731357336044, 0.043226975947618484, 0.0010486328974366188, -0.018767377361655235, -0.042212601751089096, -0.04187259078025818, -0.009346861392259598, 0.059073470532894135, 0.011440379545092583, -0.12414466589689255, -0.027658239006996155, ...
7f5e8110-0be8-4b00-96e2-b18e1b0ca904
alias: [] description: 'Documentation for the CSVWithNamesAndTypes format' input_format: true keywords: ['CSVWithNamesAndTypes'] output_format: true slug: /interfaces/formats/CSVWithNamesAndTypes title: 'CSVWithNamesAndTypes' doc_type: 'reference' | Input | Output | Alias | |-------|--------|-------| | ✔ | ✔ ...
{"source_file": "CSVWithNamesAndTypes.md"}
[ -0.03579428046941757, 0.03562333807349205, -0.05977243930101395, 0.01972321979701519, 0.041646238416433334, -0.027030207216739655, 0.05461593717336655, 0.03349374607205391, 0.02397521771490574, 0.006494744680821896, 0.0016965289833024144, -0.07844153046607971, 0.1099371388554573, -0.002168...
e14d8f7f-4610-46ff-9586-2abc1007ba24
Read data using the CSVWithNamesAndTypes format: sql SELECT * FROM football FORMAT CSVWithNamesAndTypes The output will be a CSV with a two header rows for column names and types: csv "date","season","home_team","away_team","home_team_goals","away_team_goals" "Date","Int16","LowCardinality(String)","LowCardinal...
{"source_file": "CSVWithNamesAndTypes.md"}
[ 0.0700487419962883, 0.0035050080623477697, -0.06651972234249115, 0.03031042031943798, 0.05863025039434433, 0.04652600362896919, 0.023963266983628273, 0.03816170245409012, -0.006130460184067488, 0.021753260865807533, -0.009910441935062408, -0.10961847007274628, 0.04541918635368347, -0.01552...
d7fee0c7-030c-4d8c-b4b5-4ab2187a68cb
alias: [] description: 'Documentation for the CSV format' input_format: true keywords: ['CSV'] output_format: true slug: /interfaces/formats/CSV title: 'CSV' doc_type: 'reference' Description {#description} Comma Separated Values format ( RFC ). When formatting, rows are enclosed in double quotes. A double quote ...
{"source_file": "CSV.md"}
[ -0.003106512362137437, 0.04977600276470184, -0.03380446508526802, -0.016768330708146095, -0.01494180504232645, -0.0011048789601773024, 0.03355802223086357, 0.020316945388913155, 0.07032322138547897, 0.03256536275148392, -0.03536951541900635, -0.05803614854812622, 0.07517368346452713, -0.03...
7b553f4a-f4c7-4cf3-b32f-9dfdd2cb64b7
Example usage {#example-usage} Format settings {#format-settings} | Setting | Description ...
{"source_file": "CSV.md"}
[ 0.015382125042378902, 0.02221941389143467, -0.057884473353624344, 0.05155569314956665, -0.08083784580230713, 0.09154631197452545, 0.004420081153512001, 0.0776667520403862, 0.003745294874534011, -0.011943661607801914, 0.036205265671014786, -0.025225363671779633, 0.01674126647412777, -0.0495...
3f542891-00b1-439b-8486-b5a8701255e1
| input_format_csv_empty_as_default | treat empty fields in CSV input as default values. | true | For complex default expressions, input_format_defaults_for_omitted_fields must be enabled too. | | input_fo...
{"source_file": "CSV.md"}
[ 0.04208246245980263, 0.03906084969639778, -0.039419084787368774, 0.02002902701497078, -0.017162494361400604, -0.0007354990229941905, -0.08521930128335953, -0.003766648005694151, -0.015682702884078026, 0.03235260769724846, 0.017968622967600822, -0.08403527736663818, 0.06208124756813049, -0....
8abd2d4e-2dbe-46ea-97bc-bec332c4d163
| input_format_csv_skip_trailing_empty_lines | skip trailing empty lines at the end of data. | false | ...
{"source_file": "CSV.md"}
[ 0.013597995042800903, 0.04165821149945259, -0.07419677823781967, 0.027979927137494087, -0.034316811710596085, -0.010484392754733562, -0.05736544355750084, 0.022080469876527786, -0.028121342882514, 0.017501477152109146, 0.04551549255847931, -0.07295884191989899, 0.05963817611336708, -0.0531...
5f8eef8f-3cde-44d1-aad7-34768f8377f2
alias: [] description: 'Documentation for the CSV format' input_format: true keywords: ['CSVWithNames'] output_format: true slug: /interfaces/formats/CSVWithNames title: 'CSVWithNames' doc_type: 'reference' | Input | Output | Alias | |-------|--------|-------| | ✔ | ✔ | | Description {#description}...
{"source_file": "CSVWithNames.md"}
[ -0.03620915487408638, 0.04199904948472977, -0.07722250372171402, 0.011502581648528576, 0.03565335273742676, -0.016604728996753693, 0.03050547093153, 0.041138906031847, 0.02488892339169979, -0.00007409212412312627, 0.012779229320585728, -0.07902421057224274, 0.10103950649499893, -0.02109524...
10cd033e-7726-4467-9649-00a12577435b
Reading data {#reading-data} Read data using the CSVWithNames format: sql SELECT * FROM football FORMAT CSVWithNames The output will be a CSV with a single header row: csv "date","season","home_team","away_team","home_team_goals","away_team_goals" "2022-04-30",2021,"Sutton United","Bradford City",1,4 "2022-04...
{"source_file": "CSVWithNames.md"}
[ 0.04872334003448486, 0.011119124479591846, -0.04635116085410118, 0.02888874150812626, 0.07296832650899887, 0.04065825045108795, 0.02692205272614956, 0.0041146427392959595, -0.010785926133394241, 0.03964579105377197, -0.009020661003887653, -0.09776542335748672, 0.055971063673496246, -0.0366...
94d46902-68a9-47c4-bce9-22dac7eb4d21
alias: [] description: 'Documentation for the TSKV format' input_format: true keywords: ['TSKV'] output_format: true slug: /interfaces/formats/TSKV title: 'TSKV' doc_type: 'reference' | Input | Output | Alias | |-------|--------|-------| | ✔ | ✔ | | Description {#description} Similar to the TabS...
{"source_file": "TSKV.md"}
[ -0.015885580331087112, 0.06555791944265366, 0.025718603283166885, 0.04154849424958229, -0.01566539704799652, -0.017842456698417664, 0.08265774697065353, 0.07043655961751938, 0.05595609173178673, 0.010740905068814754, -0.007885739207267761, -0.08463167399168015, 0.11781919002532959, 0.00182...
9cd736f0-d018-402a-a157-5996ece43f37
NULL is formatted as \N . Example usage {#example-usage} Inserting data {#inserting-data} Using the following tskv file, named as football.tskv : tsv date=2022-04-30 season=2021 home_team=Sutton United away_team=Bradford City home_team_goals=1 away_team_goals=4 date=2022-04-30 season=2021 home_...
{"source_file": "TSKV.md"}
[ 0.0325501374900341, 0.02504613995552063, -0.07744547724723816, 0.01008068211376667, 0.032826296985149384, 0.030976371839642525, -0.001703549176454544, 0.033390164375305176, -0.04790377989411354, 0.05467492714524269, 0.07896255701780319, -0.1280367076396942, 0.05439041927456856, -0.07002448...
1ad953ee-c610-4b82-ba9f-4e31208379ef
Read data using the TSKV format: sql SELECT * FROM football FORMAT TSKV The output will be in tab separated format with two header rows for column names and types: tsv date=2022-04-30 season=2021 home_team=Sutton United away_team=Bradford City home_team_goals=1 away_team_goals=4 date=2022-04-30 season...
{"source_file": "TSKV.md"}
[ 0.06526432931423187, -0.023828642442822456, -0.049896981567144394, 0.03720014542341232, 0.0693860575556755, 0.048161622136831284, 0.019562626257538795, 0.00921114906668663, -0.04006519913673401, 0.013391576707363129, 0.06197225674986839, -0.11053962260484695, 0.048570603132247925, -0.04489...
74f5d2ca-b3e1-4ae8-8cac-21db28520a6a
alias: ['TSVRaw', 'Raw'] description: 'Documentation for the TabSeparatedRaw format' input_format: true keywords: ['TabSeparatedRaw'] output_format: true slug: /interfaces/formats/TabSeparatedRaw title: 'TabSeparatedRaw' doc_type: 'reference' | Input | Output | Alias | |-------|--------|-----------------|...
{"source_file": "TabSeparatedRaw.md"}
[ -0.040032874792814255, -0.002726203529164195, -0.006248161196708679, -0.017442340031266212, -0.020908545702695847, -0.007889344356954098, 0.015577474609017372, 0.06820666044950485, -0.023485632613301277, 0.05468008667230606, -0.01608917862176895, -0.053411029279232025, 0.04552673175930977, ...
20f4efec-6c8d-4840-9cc8-9d67e4ca5eec
Reading data {#reading-data} Read data using the TabSeparatedRaw format: sql SELECT * FROM football FORMAT TabSeparatedRaw The output will be in tab separated format: tsv 2022-04-30 2021 Sutton United Bradford City 1 4 2022-04-30 2021 Swindon Town Barrow 2 1 2022-04-30 ...
{"source_file": "TabSeparatedRaw.md"}
[ 0.06875907629728317, -0.07596739381551743, -0.02583645097911358, 0.005053529050201178, 0.023714367300271988, 0.03548046946525574, 0.04172297194600105, -0.013808182440698147, -0.08768730610609055, 0.05574776977300644, 0.034308504313230515, -0.05458635836839676, -0.0015373352216556668, -0.00...
7911b509-c9f9-4e0f-8bac-1c34f1853774
alias: ['TSVRawWithNamesAndTypes', 'RawWithNamesAndTypes'] description: 'Documentation for the TabSeparatedRawWithNamesAndTypes format' input_format: true keywords: ['TabSeparatedRawWithNamesAndTypes', 'TSVRawWithNamesAndTypes', 'RawWithNamesAndTypes'] output_format: true slug: /interfaces/formats/TabSeparatedRawWithNa...
{"source_file": "TabSeparatedRawWithNamesAndTypes.md"}
[ -0.011334346607327461, 0.0123517494648695, 0.01828029751777649, -0.00463147833943367, -0.02074591815471649, -0.03194637596607208, 0.08145622164011002, 0.06456168740987778, 0.011663013137876987, -0.004193565342575312, 0.01116653997451067, -0.08280211687088013, 0.08312739431858063, 0.0116994...
9e72a448-a51a-48d0-b694-5d782eb20af1
sql SELECT * FROM football FORMAT TabSeparatedRawWithNamesAndTypes The output will be in tab separated format with two header rows for column names and types: tsv date season home_team away_team home_team_goals away_team_goals Date Int16 LowCardinality(String) LowCardinality(String) Int8 I...
{"source_file": "TabSeparatedRawWithNamesAndTypes.md"}
[ 0.060387320816516876, -0.024043427780270576, -0.03473489731550217, 0.017809929326176643, 0.07471407204866409, 0.06393624097108841, 0.03660181537270546, 0.016462815925478935, -0.0772114172577858, 0.023171069100499153, 0.004148044623434544, -0.11119549721479416, 0.005580902099609375, -0.0011...
9402289e-9ba8-4939-8c3e-f5e125235ca4
alias: ['TSVRawWithNames', 'RawWithNames'] description: 'Documentation for the TabSeparatedRawWithNames format' input_format: true keywords: ['TabSeparatedRawWithNames', 'TSVRawWithNames', 'RawWithNames'] output_format: true slug: /interfaces/formats/TabSeparatedRawWithNames title: 'TabSeparatedRawWithNames' doc_type: ...
{"source_file": "TabSeparatedRawWithNames.md"}
[ -0.040949247777462006, 0.0034583339001983404, 0.013943737372756004, 0.017276763916015625, -0.03769782930612564, -0.002394260372966528, 0.062013618648052216, 0.04281191527843475, -0.016619155183434486, 0.01808580569922924, -0.012277774512767792, -0.07242196053266525, 0.08908228576183319, 0....
3ba4906b-1362-4f38-9bcf-ce08343953b3
Read data using the TabSeparatedRawWithNames format: sql SELECT * FROM football FORMAT TabSeparatedRawWithNames The output will be in tab separated format with a single line header: tsv date season home_team away_team home_team_goals away_team_goals 2022-04-30 2021 Sutton United Bradfo...
{"source_file": "TabSeparatedRawWithNames.md"}
[ 0.044068142771720886, -0.046361614018678665, -0.04523267224431038, 0.014500441960990429, 0.060488440096378326, 0.05989334359765053, 0.026997268199920654, 0.009820663370192051, -0.08145754039287567, 0.03146525099873543, 0.01268918439745903, -0.09036467224359512, 0.014895276166498661, -0.016...
8468d0b1-8f9a-450e-a755-c031d00877a6
description: 'Documentation for the TabSeparatedWithNamesAndTypes format' keywords: ['TabSeparatedWithNamesAndTypes'] slug: /interfaces/formats/TabSeparatedWithNamesAndTypes title: 'TabSeparatedWithNamesAndTypes' doc_type: 'reference' | Input | Output | Alias | |-------|----...
{"source_file": "TabSeparatedWithNamesAndTypes.md"}
[ -0.00042627129005268216, -0.006153352092951536, -0.036622583866119385, 0.010646515525877476, -0.024505285546183586, -0.042332399636507034, 0.08594415336847305, 0.03355974331498146, -0.01271266583353281, 0.030008893460035324, 0.026510857045650482, -0.08056634664535522, 0.100865438580513, -0...
400aa7af-2457-4d87-83b5-8c383723bce0
sql SELECT * FROM football FORMAT TabSeparatedWithNamesAndTypes The output will be in tab separated format with two header rows for column names and types: tsv date season home_team away_team home_team_goals away_team_goals Date Int16 LowCardinality(String) LowCardinality(String) Int8 Int8...
{"source_file": "TabSeparatedWithNamesAndTypes.md"}
[ 0.057199627161026, -0.025777965784072876, -0.036801211535930634, 0.013192855753004551, 0.0796302855014801, 0.06403305381536484, 0.03527793660759926, 0.017963655292987823, -0.08188805729150772, 0.02770264446735382, 0.0037125786766409874, -0.11160789430141449, 0.011124377138912678, 0.0023898...
3527f739-5080-442b-bf8a-30eb1723c2b5
alias: ['TSV'] description: 'Documentation for the TSV format' input_format: true keywords: ['TabSeparated', 'TSV'] output_format: true slug: /interfaces/formats/TabSeparated title: 'TabSeparated' doc_type: 'reference' | Input | Output | Alias | |-------|--------|--------| | ✔ | ✔ | TSV | Description...
{"source_file": "TabSeparated.md"}
[ -0.04627855494618416, 0.0183687936514616, -0.06303457170724869, -0.017124991863965988, -0.05852947011590004, -0.029556766152381897, 0.06359398365020752, 0.09662698209285736, 0.01544755045324564, 0.056883636862039566, -0.0074553461745381355, 0.02340523898601532, 0.06745141744613647, 0.01616...
32bf70c1-2fa9-46d6-9aa8-69e65d23247b
Dates are written in YYYY-MM-DD format and parsed in the same format, but with any characters as separators. Dates with times are written in the format YYYY-MM-DD hh:mm:ss and parsed in the same format, but with any characters as separators. This all occurs in the system time zone at the time the client or server sta...
{"source_file": "TabSeparated.md"}
[ -0.04149565100669861, 0.01965857855975628, 0.03632159158587456, 0.008292803540825844, 0.02113375812768936, -0.05822728946805, -0.040916558355093, 0.024901511147618294, 0.050318147987127304, -0.0011667273938655853, -0.0027065682224929333, -0.0007879917393438518, -0.03125894442200661, -0.007...
ee08453b-5914-4f60-ba79-0512601f908c
sql INSERT INTO nestedt VALUES ( 1, [1], ['a']) sql SELECT * FROM nestedt FORMAT TSV response 1 [1] ['a'] Example usage {#example-usage} Inserting data {#inserting-data} Using the following tsv file, named as football.tsv : tsv 2022-04-30 2021 Sutton United Bradford City 1 4 2022-04-3...
{"source_file": "TabSeparated.md"}
[ 0.002422529039904475, -0.06680313497781754, 0.003225787775591016, 0.05058065429329872, -0.015219831839203835, 0.009129675105214119, 0.031050102785229683, -0.007912431843578815, -0.07190753519535065, 0.09977114945650101, 0.037427112460136414, -0.06163644418120384, 0.012591646984219551, 0.01...
5c8685a7-e039-4037-9e09-f438bee22f47
| Setting | Description ...
{"source_file": "TabSeparated.md"}
[ 0.02628874033689499, 0.04149900749325752, -0.007149931043386459, -0.0076652951538562775, -0.06222875788807869, 0.06969451159238815, 0.012696566060185432, 0.046962615102529526, 0.028385523706674576, -0.05742150917649269, 0.02139538899064064, -0.04820146784186363, -0.025498265400528908, -0.0...
517ec869-06a1-451c-be94-ecc41bc86f0e
false | | input_format_tsv_skip_first_lines | skip specified number of lines at the beginning of data. ...
{"source_file": "TabSeparated.md"}
[ -0.0012712040916085243, 0.03991234675049782, -0.04616745561361313, 0.03599485754966736, 0.005875322036445141, -0.006623037159442902, -0.05126281455159187, -0.018228638917207718, -0.04592665284872055, 0.05612355098128319, 0.021970689296722412, -0.024453358724713326, 0.01555907353758812, -0....
d2c212bd-e83f-4562-9fcd-f6df92413b01
alias: ['TSVWithNames'] description: 'Documentation for the TabSeparatedWithNames format' input_format: true keywords: ['TabSeparatedWithNames'] output_format: true slug: /interfaces/formats/TabSeparatedWithNames title: 'TabSeparatedWithNames' doc_type: 'reference' | Input | Output | Alias ...
{"source_file": "TabSeparatedWithNames.md"}
[ 0.0013774795224890113, -0.009185148403048515, -0.016961779445409775, -0.00660022022202611, -0.05300562456250191, -0.03907187283039093, 0.08044907450675964, 0.07149823755025864, -0.029439853504300117, 0.013480877503752708, 0.008219714276492596, -0.05832737684249878, 0.07235948741436005, 0.0...
0c79eabf-eeaf-462f-860d-a11741c239ee
Reading data {#reading-data} Read data using the TabSeparatedWithNames format: sql SELECT * FROM football FORMAT TabSeparatedWithNames The output will be in tab separated format: tsv date season home_team away_team home_team_goals away_team_goals 2022-04-30 2021 Sutton United Bradfor...
{"source_file": "TabSeparatedWithNames.md"}
[ 0.059909649193286896, -0.05814942717552185, -0.036706071346998215, 0.015678146854043007, 0.047190118581056595, 0.0441107302904129, 0.06049654260277748, -0.0012477573473006487, -0.08076553046703339, 0.039775799959897995, 0.035277679562568665, -0.05948464572429657, 0.010309221222996712, -0.0...
af93c8a1-fd16-4fcd-8fc7-fe80faa2e9fd
alias: [] description: 'Documentation for the PrettyCompactNoEscapesMonoBlock format' input_format: false keywords: ['PrettyCompactNoEscapesMonoBlock'] output_format: true slug: /interfaces/formats/PrettyCompactNoEscapesMonoBlock title: 'PrettyCompactNoEscapesMonoBlock' doc_type: 'reference' import PrettyFormatSett...
{"source_file": "PrettyCompactNoEscapesMonoBlock.md"}
[ -0.008328915573656559, 0.014229631051421165, 0.015618291683495045, 0.004716869909316301, 0.002828421304002404, -0.05665718764066696, -0.03096453659236431, 0.049136750400066376, -0.022931179031729698, -0.0062127551063895226, -0.025380350649356842, -0.02492617629468441, 0.07026001065969467, ...
496acff9-3d53-4faa-84a2-bb0a9ee3da1a
alias: [] description: 'Documentation for the Pretty format' input_format: false keywords: ['Pretty'] output_format: true slug: /interfaces/formats/Pretty title: 'Pretty' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty-format-settings.md'; | Input | Output | Alias | |-------|---...
{"source_file": "Pretty.md"}
[ 0.0009966525249183178, 0.018960578367114067, -0.005242851562798023, 0.036685798317193985, -0.04080525040626526, -0.034325603395700455, 0.006384940352290869, 0.07605091482400894, -0.0036480892449617386, -0.013845491223037243, -0.03200754150748253, -0.024002879858016968, 0.09623480588197708, ...
311572ba-487d-4053-b5d9-0df306ccddd0
alias: [] description: 'Documentation for the PrettyCompactMonoBlock format' input_format: false keywords: ['PrettyCompactMonoBlock'] output_format: true slug: /interfaces/formats/PrettyCompactMonoBlock title: 'PrettyCompactMonoBlock' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty...
{"source_file": "PrettyCompactMonoBlock.md"}
[ -0.009457283653318882, -0.00304250861518085, 0.0226434413343668, 0.02084925025701523, 0.004364960826933384, -0.029311716556549072, -0.051883306354284286, 0.08534801751375198, -0.02516569197177887, -0.012442131526768208, -0.02632131800055504, -0.012907085008919239, 0.05030447617173195, -0.0...
8675ecc4-3770-4f9e-9fc0-cf75d9ae8d4a
alias: [] description: 'Documentation for the PrettyMonoBlock format' input_format: false keywords: ['PrettyMonoBlock'] output_format: true slug: /interfaces/formats/PrettyMonoBlock title: 'PrettyMonoBlock' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty-format-settings.md'; | In...
{"source_file": "PrettyMonoBlock.md"}
[ -0.014827012084424496, 0.006744987331330776, 0.014489860273897648, 0.021736716851592064, 0.0055744843557477, -0.031236303970217705, -0.029655974358320236, 0.08802350610494614, -0.01128129381686449, -0.0033769854344427586, -0.03217853978276253, 0.0009485126356594265, 0.04382243752479553, -0...
1fcff14c-ebc5-48f5-bb6e-f7e5c6ab6aef
alias: [] description: 'Documentation for the PrettySpaceNoEscapes format' input_format: false keywords: ['PrettySpaceNoEscapes'] output_format: true slug: /interfaces/formats/PrettySpaceNoEscapes title: 'PrettySpaceNoEscapes' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty-format-...
{"source_file": "PrettySpaceNoEscapes.md"}
[ -0.04544364660978317, 0.029572119936347008, 0.03350704908370972, 0.022588614374399185, -0.0017883427208289504, -0.009781851433217525, 0.01712227612733841, 0.03963339328765869, 0.014602124691009521, -0.014953204430639744, -0.021262751892209053, -0.028205055743455887, 0.05888878181576729, -0...
492f3415-e83e-4bfd-a099-9eb3ec479234
alias: [] description: 'Documentation for the PrettySpaceNoEscapesMonoBlock format' input_format: false keywords: ['PrettySpaceNoEscapesMonoBlock'] output_format: true slug: /interfaces/formats/PrettySpaceNoEscapesMonoBlock title: 'PrettySpaceNoEscapesMonoBlock' doc_type: 'reference' import PrettyFormatSettings fro...
{"source_file": "PrettySpaceNoEscapesMonoBlock.md"}
[ -0.014837626367807388, 0.012800347059965134, 0.026486104354262352, 0.00984257087111473, -0.004992951173335314, -0.051966387778520584, -0.020175892859697342, 0.042375724762678146, -0.025384200736880302, 0.004452777560800314, -0.02374083921313286, -0.021398130804300308, 0.06532323360443115, ...
f383f864-87a2-401d-9df5-49088c7751b1
alias: [] description: 'Documentation for the PrettySpace format' input_format: false keywords: ['PrettySpace'] output_format: true slug: /interfaces/formats/PrettySpace title: 'PrettySpace' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty-format-settings.md'; | Input | Output | ...
{"source_file": "PrettySpace.md"}
[ -0.004677401389926672, 0.015515544451773167, -0.0042435647919774055, 0.03351712226867676, 0.0065485285595059395, -0.006618699058890343, -0.025271132588386536, 0.1104864627122879, 0.020361317321658134, 0.03031930886209011, -0.023144373670220375, -0.00944340880960226, 0.05429678037762642, -0...
3ea000be-4e11-41e6-a0d8-621b79664dd0
alias: [] description: 'Documentation for the PrettyCompact format' input_format: false keywords: ['PrettyCompact'] output_format: true slug: /interfaces/formats/PrettyCompact title: 'PrettyCompact' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty-format-settings.md'; | Input | Ou...
{"source_file": "PrettyCompact.md"}
[ -0.004339170642197132, 0.015096728689968586, -0.002851419383659959, 0.03995310515165329, 0.0007692722720094025, -0.008101952262222767, -0.0282010305672884, 0.10673651099205017, 0.001653054030612111, 0.011582992039620876, -0.01278271246701479, -0.015794379636645317, 0.06559555232524872, 0.0...
2fa2cbdb-345d-41b7-afde-899b85d690a3
alias: [] description: 'Documentation for the PrettySpaceMonoBlock format' input_format: false keywords: ['PrettySpaceMonoBlock'] output_format: true slug: /interfaces/formats/PrettySpaceMonoBlock title: 'PrettySpaceMonoBlock' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty-format-...
{"source_file": "PrettySpaceMonoBlock.md"}
[ -0.036063745617866516, -0.009838946163654327, 0.007894928567111492, 0.022999823093414307, -0.002595603233203292, -0.020425202324986458, -0.01784646138548851, 0.08153865486383438, 0.000021796849978272803, -0.005761397536844015, -0.022513385862112045, -0.00818718783557415, 0.04699794948101044,...
732a97d4-ba4c-4860-8d44-52bc3ea7e05d
alias: [] description: 'Documentation for the PrettyNoEscapes format' input_format: false keywords: ['PrettyNoEscapes'] output_format: true slug: /interfaces/formats/PrettyNoEscapes title: 'PrettyNoEscapes' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty-format-settings.md'; | In...
{"source_file": "PrettyNoEscapes.md"}
[ -0.011921992525458336, 0.05782032385468483, 0.017630940303206444, 0.013486583717167377, 0.012098447419703007, -0.01624109596014023, 0.036162540316581726, 0.020284421741962433, 0.04134499281644821, -0.009654042311012745, -0.03579209744930267, -0.04249754548072815, 0.03626599535346031, 0.001...
8d6d0842-35fa-4c50-b104-d0b68852d1d2
alias: [] description: 'Documentation for the PrettyNoEscapesMonoBlock format' input_format: false keywords: ['PrettyNoEscapesMonoBlock'] output_format: true slug: /interfaces/formats/PrettyNoEscapesMonoBlock title: 'PrettyNoEscapesMonoBlock' doc_type: 'reference' import PrettyFormatSettings from './_snippets/commo...
{"source_file": "PrettyNoEscapesMonoBlock.md"}
[ -0.0008071615593507886, 0.02695278823375702, 0.03542238101363182, 0.003386344760656357, 0.008828903548419476, -0.06237891688942909, -0.02438017539680004, 0.0413084551692009, -0.03392990678548813, 0.004379656631499529, -0.027834005653858185, -0.014648910611867905, 0.0639914944767952, -0.033...
5e715482-464a-4aa0-84a5-f2a54e7cb37d
alias: [] description: 'Documentation for the PrettyCompactNoEscapes format' input_format: false keywords: ['PrettyCompactNoEscapes'] output_format: true slug: /interfaces/formats/PrettyCompactNoEscapes title: 'PrettyCompactNoEscapes' doc_type: 'reference' import PrettyFormatSettings from './_snippets/common-pretty...
{"source_file": "PrettyCompactNoEscapes.md"}
[ -0.03135557845234871, 0.03198486566543579, 0.03311162814497948, 0.029575064778327942, 0.011147935874760151, -0.021965330466628075, -0.007382137235254049, 0.0455346442759037, -0.010601463727653027, -0.028775129467248917, -0.028423959389328957, -0.03112909197807312, 0.06303036212921143, 0.00...
473a3b5b-8129-44d5-ad8c-5fdc027c0935
alias: [] description: 'Documentation for the Parquet format' input_format: true keywords: ['Parquet'] output_format: true slug: /interfaces/formats/Parquet title: 'Parquet' doc_type: 'reference' | Input | Output | Alias | |-------|--------|-------| | ✔ | ✔ | | Description {#description} Apache P...
{"source_file": "Parquet.md"}
[ -0.044845011085271835, 0.010595777072012424, -0.031986940652132034, -0.03956577926874161, -0.10008854418992996, -0.05718689784407616, 0.005837823264300823, 0.020936517044901848, 0.010891390033066273, 0.03439551591873169, -0.012672504410147667, -0.018896332010626793, 0.03863631188869476, -0...
15c75a96-bd0e-4636-903c-33d21d9b36d9
For some Parquet types there's no closely matching ClickHouse type. We read them as follows: * TIME (time of day) is read as a timestamp. E.g. 10:23:13.000 becomes 1970-01-01 10:23:13.000 . * TIMESTAMP / TIME with isAdjustedToUTC=false is a local wall-clock time (year, month, day, hour, minute, second and subs...
{"source_file": "Parquet.md"}
[ -0.0138777457177639, -0.029357898980379105, -0.019417654722929, -0.018208812922239304, -0.038980722427368164, -0.06156264245510101, 0.012777681462466717, -0.001180311432108283, -0.015489550307393074, -0.04620281234383583, -0.01460597850382328, -0.04870789125561714, -0.04059809073805809, 0....
e0182724-520e-4252-8720-c0e222947a41
Example usage {#example-usage} Inserting data {#inserting-data} Using a Parquet file with the following data, named as football.parquet : text ┌───────date─┬─season─┬─home_team─────────────┬─away_team───────────┬─home_team_goals─┬─away_team_goals─┐ 1. │ 2022-04-30 │ 2021 │ Sutton United │ Bradford...
{"source_file": "Parquet.md"}
[ 0.010581071488559246, -0.002932063303887844, -0.03805087134242058, -0.05981333181262016, -0.01556728221476078, -0.020399508997797966, 0.07401208579540253, -0.008298424072563648, -0.04434164986014366, 0.0561697781085968, 0.04870208352804184, -0.016939764842391014, 0.013462279923260212, -0.0...
6babf3bc-bf62-4889-a9e5-e94754e85615
| Setting | Description | Default ...
{"source_file": "Parquet.md"}
[ 0.027272013947367668, 0.04274405911564827, -0.006601972505450249, -0.007452395744621754, -0.060984302312135696, 0.0718095675110817, 0.012279381044209003, 0.047188855707645416, 0.028277188539505005, -0.05718793720006943, 0.021592915058135986, -0.04840480908751488, -0.0257643423974514, -0.05...
f56b22b5-c9b6-4163-8f49-912e0382b056
8192 | | input_format_parquet_enable_row_group_prefetch | Enable row group prefetching during parquet parsing. Currently, only single-threaded parsing can prefetch. ...
{"source_file": "Parquet.md"}
[ -0.02660740725696087, -0.04386972635984421, -0.06866233050823212, -0.07068588584661484, -0.07296989858150482, -0.06111002713441849, -0.08316027373075485, 0.02008645236492157, -0.0714053064584732, 0.019700461998581886, -0.0302182137966156, -0.02175631746649742, -0.03323918208479881, -0.0335...
dac0f653-af7e-4a77-a8f3-1ecb8079cb5e
1 | | output_format_parquet_version | Parquet format version for output format. Supported versions: 1.0, 2.4, 2.6 and 2.latest (default) ...
{"source_file": "Parquet.md"}
[ -0.04039021581411362, -0.02334483340382576, -0.029711226001381874, -0.067762590944767, -0.03043161891400814, -0.04262847080826759, -0.015433412976562977, 0.038128774613142014, -0.06209950894117355, -0.029502328485250473, -0.010396470315754414, 0.04413227364420891, -0.019764095544815063, -0...
9904a512-b26f-4224-ae42-2246c25478c7
0 | | input_format_parquet_local_time_as_utc | true | Determines the data type used by schema inference for Parquet timestamps with isAdjustedToUTC=false. If true: DateTime64(..., 'UTC'), if false: DateTime64(...). Neither behavior is fully correct as ClickHouse doesn't have a data type for local wall-clock ...
{"source_file": "Parquet.md"}
[ -0.008842099457979202, 0.03044760785996914, -0.015871774405241013, -0.06347355991601944, -0.0072352709248661995, -0.012331880629062653, -0.028918521478772163, -0.017204592004418373, -0.016211459413170815, -0.012033293023705482, 0.03267428278923035, -0.06904683262109756, -0.04353195056319237,...
7f49021d-3b7f-4dcf-ab78-cba590acc4b9
description: 'Documentation for the ParquetMetadata format' keywords: ['ParquetMetadata'] slug: /interfaces/formats/ParquetMetadata title: 'ParquetMetadata' doc_type: 'reference' Description {#description} Special format for reading Parquet file metadata (https://parquet.apache.org/docs/file-format/metadata/). It...
{"source_file": "ParquetMetadata.md"}
[ 0.004063013941049576, 0.019294489175081253, -0.08092938363552094, -0.08514880388975143, -0.06653017550706863, -0.0643322691321373, -0.017985329031944275, 0.06623663753271103, -0.015366174280643463, 0.046640802174806595, 0.002561277011409402, -0.007913131266832352, -0.0004630069888662547, -...
befccfde-4ace-4ca8-822d-d7ac2fb86e5b
Example usage {#example-usage} Example: sql SELECT * FROM file(data.parquet, ParquetMetadata) FORMAT PrettyJSONEachRow json { "num_columns": "2", "num_rows": "100000", "num_row_groups": "2", "format_version": "2.6", "metadata_size": "577", "total_uncompressed_size": "282436", "total_...
{"source_file": "ParquetMetadata.md"}
[ -0.017782147973775864, 0.05972150340676308, -0.049193233251571655, 0.011867154389619827, -0.04621792957186699, -0.029834754765033722, -0.015347476117312908, 0.08652208000421524, -0.02221277542412281, 0.03605952113866806, -0.003795100376009941, 0.019705479964613914, -0.02194729633629322, -0...
60c8ceaa-db42-4303-8462-e6cd7d61a723
alias: [] description: 'Documentation for the ProtobufSingle format' input_format: true keywords: ['ProtobufSingle'] output_format: true slug: /interfaces/formats/ProtobufSingle title: 'ProtobufSingle' doc_type: 'reference' import CloudNotSupportedBadge from '@theme/badges/CloudNotSupportedBadge'; | Input | Out...
{"source_file": "ProtobufSingle.md"}
[ -0.013321897946298122, 0.04508616030216217, 0.051057565957307816, -0.036201875656843185, 0.03882927820086479, -0.017052147537469864, 0.02672521397471428, 0.06376863270998001, 0.006384529639035463, 0.030812913551926613, -0.027397233992815018, -0.08534227311611176, 0.06303436309099197, 0.014...
c1809d8a-61c0-4d85-bb88-d025f245ccf6
alias: [] description: 'Documentation for the Protobuf format' input_format: true keywords: ['Protobuf'] output_format: true slug: /interfaces/formats/Protobuf title: 'Protobuf' doc_type: 'guide' | Input | Output | Alias | |-------|--------|-------| | ✔ | ✔ | | Description {#description} The Pro...
{"source_file": "Protobuf.md"}
[ 0.010411594063043594, -0.020774031057953835, -0.03029121644794941, -0.06441983580589294, -0.007944819517433643, -0.062282174825668335, 0.03414086997509003, 0.0492587648332119, -0.003839542157948017, 0.026411358267068863, -0.0019218629458919168, -0.10810887813568115, 0.013021250255405903, 0...
96d6b1c0-0da7-4287-a4cc-673e945eb5ba
The setting input_format_protobuf_oneof_presence is disabled by default ClickHouse inputs and outputs protobuf messages in the length-delimited format. This means that before every message its length should be written as a variable width integer (varint) . Example usage {#example-usage} Reading and writing d...
{"source_file": "Protobuf.md"}
[ 0.0439782440662384, -0.009675044566392899, -0.05239500477910042, -0.05292374640703201, -0.06967169791460037, -0.06083476170897484, 0.0339333601295948, 0.05203169211745262, -0.06423792988061905, 0.025598494336009026, 0.009276502765715122, -0.10534462332725525, 0.0002695213770493865, -0.0040...
bc5e1f87-3c41-4e23-b49d-7b566dd35461
output_filename = "protobuf_messages.bin" # Open the binary file in write-binary mode ('wb') with open(output_filename, "wb") as f: for item in data_to_serialize: # Create a Protobuf message instance for the current user message = create_user_data_message( item["name"], item...
{"source_file": "Protobuf.md"}
[ 0.023256899788975716, 0.03279067575931549, -0.024394508451223373, -0.041914500296115875, -0.08897323161363602, -0.07563742250204086, -0.018447887152433395, 0.12716682255268097, -0.11690125614404678, -0.005294400732964277, 0.01962774246931076, -0.05985897406935692, 0.012461381033062935, -0....
d81ce10a-e264-4478-9f84-6d0d4f1076d9
sql SELECT * FROM test.protobuf_messages INTO OUTFILE 'protobuf_message_from_clickhouse.bin' FORMAT Protobuf SETTINGS format_schema = 'schemafile:MessageType' With your Protobuf schema, you can now deserialize the data which was written out from ClickHouse to file protobuf_message_from_clickhouse.bin . Reading and...
{"source_file": "Protobuf.md"}
[ 0.05537765100598335, -0.03885558247566223, -0.0342128686606884, -0.01712682470679283, -0.04817444086074829, -0.059171002358198166, 0.04753340780735016, 0.020413566380739212, -0.06406804174184799, 0.08139093965291977, 0.04412079602479935, -0.09806369990110397, 0.06512705981731415, -0.036695...
fe87f9ee-f7d0-484d-b92d-2d3df3941328
Select the data inserted into the table: sql clickhouse client --host <hostname> --secure --password <password> --query "SELECT * FROM testing.protobuf_messages" response Aisha Khan 19920815 ['(555) 247-8903','(555) 612-3457'] Javier Rodriguez 20001015 ['(555) 891-2046','(555) 738-5129'] Mei Ling 19980616 ['(555) 9...
{"source_file": "Protobuf.md"}
[ 0.06674841791391373, -0.013827741146087646, -0.09584040194749832, 0.00009800406405702233, -0.05943596363067627, -0.03558649867773056, 0.04571857303380966, -0.02190493419766426, -0.05234310403466225, 0.05438822880387306, 0.03008999675512314, -0.1633094698190689, 0.08102737367153168, -0.0364...
d771c669-6a1b-4301-a8fe-b449f1f3580d
alias: [] description: 'Documentation for the ProtobufList format' input_format: true keywords: ['ProtobufList'] output_format: true slug: /interfaces/formats/ProtobufList title: 'ProtobufList' doc_type: 'reference' import CloudNotSupportedBadge from '@theme/badges/CloudNotSupportedBadge'; | Input | Output | Al...
{"source_file": "ProtobufList.md"}
[ -0.004383751191198826, -0.005938471760600805, -0.023326726630330086, -0.003202554304152727, -0.01300029456615448, -0.02346232905983925, 0.07987358421087265, 0.036564137786626816, 0.0075472514145076275, 0.03713025152683258, -0.009888592176139355, -0.12351708114147186, 0.1031385213136673, 0....