This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2170 from aiven/dorota-clickhouse-add-ref-docs
clickhouse: add supported table functions and file formats
- Loading branch information
Showing
4 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
docs/products/clickhouse/reference/s3-supported-file-formats.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
File formats for the S3 table function in Aiven for ClickHouse® | ||
=============================================================== | ||
|
||
The `S3 table function <https://clickhouse.com/docs/en/sql-reference/table-functions/s3>`_ allows you to select and insert data in S3-compatible storages. The S3 table function in Aiven for ClickHouse® can be used with the following file formats: | ||
|
||
* ``Arrow`` | ||
* ``CSV`` | ||
* ``JSON`` | ||
* ``TSV`` | ||
* ``Parquet`` | ||
* ``ORC`` | ||
* ``Avro`` | ||
|
||
.. seealso:: | ||
|
||
* :doc:`Table functions supported in Aiven for ClickHouse® </docs/products/clickhouse/reference/supported-table-functions>` | ||
* :doc:`Read and pull data from S3 object storages and web resources over HTTP </docs/products/clickhouse/howto/run-federated-queries>` |
40 changes: 40 additions & 0 deletions
40
docs/products/clickhouse/reference/supported-table-functions.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Table functions supported in Aiven for ClickHouse® | ||
================================================== | ||
|
||
`Table functions <https://clickhouse.com/docs/en/sql-reference/table-functions>`_ can be used to construct tables, for example, in a FROM clause of a query or in an INSERT INTO TABLE FUNCTION statement. | ||
|
||
.. topic:: Sample usage of the S3 table function | ||
|
||
.. code-block:: bash | ||
SELECT * | ||
FROM deltaLake('s3://bucket/path/to/lake') | ||
Aiven for ClickHouse® supports the following table functions: | ||
|
||
* ``cluster`` | ||
* ``clusterAllReplicas`` | ||
* ``cosn`` | ||
* ``deltaLake`` | ||
* ``format`` | ||
* ``generateRandom`` | ||
* ``hudi`` | ||
* ``iceberg`` | ||
* ``input`` | ||
* ``merge`` | ||
* ``mysql`` | ||
* ``null`` | ||
* ``numbers`` | ||
* ``numbers_mt`` | ||
* ``postgresql`` | ||
* ``remote`` | ||
* ``remoteSecure`` | ||
* ``s3`` | ||
* ``s3Cluster`` | ||
* ``url`` | ||
* ``values`` | ||
* ``view`` | ||
* ``viewExplain`` | ||
* ``viewIfPermitted`` | ||
* ``zeros`` | ||
* ``zeros_mt`` |