You can also download a release, extract it into your local-projects, and follow the same steps above (minus the git clone, of course). To prevent lin

juliojimenez/clickhouse-cl

submited by
Style Pass
2023-03-16 22:30:04

You can also download a release, extract it into your local-projects, and follow the same steps above (minus the git clone, of course).

To prevent line breaks, which makes query outputs with many fields difficult to read, issue the command M-x toggle-truncate-lines RET in the Emacs minibuffer.

All methods can take the keyword parameter :console t, providing a cleaner output when interacting directly with the library in the REPL.

The default query method timeout is 60 seconds. Use the :timeout seconds keyword parameter to change the default for long running operations.

ClickHouse can accept and return data in various formats. A format supported for input can be used to parse the data provided to INSERTs, to perform SELECTs from a file-backed table such as File, URL or HDFS, or to read a dictionary. A format supported for output can be used to arrange the results of a SELECT, and to perform INSERTs into a file-backed table. (Formats)

clickhouse-cl supports automatic input and output format processing for the formats below. If such processing is not desired, the keyword parameter :no-format t is added to the query method.

Leave a Comment