tags: database
Support for the export and import of PARQUET format.
Not supported PARQUET data type: Date32, Time32, Fixed_Size_binary, JSON, UUID, ENUM.
note:
- The column name of the Clickhouse table must be the same as the column name of the PARQUet table.
- The column data type of the Clickhouse table can be different from the inserted PARQUET data type. When inserting data, Clickhouse interprets the data type according to the above table and converts the data type to the column data type of the Clickhouse table.
Remarks: Table is just looking away
Command: Clickhouse-Client - Query = "Select * from tutorial.tsv_demo format parquet"> PARQUET_DEMO.PARQUET
Create a test table:
Command: create Table Parquet_Demo (srcip string, destip string, time string) Engine = tinylog;
Import command:
cat parquet_demo.parquet | clickhouse-client --query="INSERT INTO parquet_demo FORMAT Parquet"
[Blue Bridge Cup] [Algorithm improves VIP] Input and output format exercises...
Title description enter Read in a 3-digit integer, a real number, and a character according to the format. Output According to the format, an integer occupies 8 digits left-justified, a real number (t...
Foreword: A program requires 0 or more inputs, one or more outputs First, format the output 1, echo command introduction Commonly used is \ a, \ b, \ t EG: Make countdown using ECHO -E and \ B ...
Format input and output of strings 1.Gets () and PUTS () gets() puts() PUTS () and gets () Gets (STR) and Scanf ("% s", STR) difference: 1、gets(str)Allow input string contains spaces 2、scanf...
Enter the function (template) in the output stream: Test output results: Where cout.setf is the same as setiosflags, Cout.Precision is the same as setPrecision, and Cout.unsetf is the same as Resetios...
Format the input and output functions Format IO output (1) Printf is to output the formatted string to the standard output (generally the screen). (2) sprintf, is to output the formatted string to the...
1. Define the string variable Name Output My name is XX, please take care! 2. Define integer variablesstudent_no , Output my student number is xxx Here% 06d, indicating the number of integers of the o...
Not particularly complete and complete. I hope some of my own little insights can help everyone. Very friendly to newbies, hahaha. enter: Scanner in=new Scanner(System.in); Create a newly input Scanne...
Reference article: make: Batch formatted input is separated by ",", such as: ...