diff --git a/_toc.yml b/_toc.yml index 4810310070..7c16985543 100644 --- a/_toc.yml +++ b/_toc.yml @@ -812,9 +812,13 @@ entries: title: Reference entries: - file: docs/products/clickhouse/reference/supported-table-engines - title: Supported table engines + title: Table engines - file: docs/products/clickhouse/reference/metrics-list title: ClickHouse metrics in Grafana + - file: docs/products/clickhouse/reference/supported-table-functions + title: Table functions + - file: docs/products/clickhouse/reference/s3-supported-file-formats + title: S3 file formats - file: docs/products/clickhouse/reference/supported-input-output-formats title: Formats for ClickHouse-Kafka data exchange - file: docs/products/clickhouse/reference/advanced-params diff --git a/docs/products/clickhouse/reference.rst b/docs/products/clickhouse/reference.rst index 198c2f88df..724adc8807 100644 --- a/docs/products/clickhouse/reference.rst +++ b/docs/products/clickhouse/reference.rst @@ -20,3 +20,11 @@ Additional reference information for Aiven for ClickHouse®: .. grid-item-card:: :doc:`Advanced parameters ` :shadow: md :margin: 2 2 0 0 + + .. grid-item-card:: :doc:`File formats for the S3 table function in Aiven for ClickHouse® ` + :shadow: md + :margin: 2 2 0 0 + + .. grid-item-card:: :doc:`Table functions supported in Aiven for ClickHouse® ` + :shadow: md + :margin: 2 2 0 0 diff --git a/docs/products/clickhouse/reference/s3-supported-file-formats.rst b/docs/products/clickhouse/reference/s3-supported-file-formats.rst new file mode 100644 index 0000000000..690580e244 --- /dev/null +++ b/docs/products/clickhouse/reference/s3-supported-file-formats.rst @@ -0,0 +1,17 @@ +File formats for the S3 table function in Aiven for ClickHouse® +=============================================================== + +The `S3 table function `_ 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® ` + * :doc:`Read and pull data from S3 object storages and web resources over HTTP ` diff --git a/docs/products/clickhouse/reference/supported-table-functions.rst b/docs/products/clickhouse/reference/supported-table-functions.rst new file mode 100644 index 0000000000..befb1b2971 --- /dev/null +++ b/docs/products/clickhouse/reference/supported-table-functions.rst @@ -0,0 +1,40 @@ +Table functions supported in Aiven for ClickHouse® +================================================== + +`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``