Skip to content

Commit

Permalink
Make table wider in ClickHouse type mapping documentation
Browse files Browse the repository at this point in the history
Additionally, fix indentation for UUID mapping line.
  • Loading branch information
ebyhr committed Mar 16, 2022
1 parent 504ba97 commit 63e0696
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/src/main/sphinx/connector/clickhouse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,26 +160,26 @@ Type mapping

The data type mappings are as follows:

================= =============== ===================================================================================================
ClickHouse Trino Notes
================= =============== ===================================================================================================
``Int8`` ``TINYINT`` ``TINYINT``, ``BOOL``, ``BOOLEAN`` and ``INT1`` are aliases of ``Int8``
``Int16`` ``SMALLINT`` ``SMALLINT`` and ``INT2`` are aliases of ``Int16``
``Int32`` ``INTEGER`` ``INT``, ``INT4`` and ``INTEGER`` are aliases of ``Int32``
``Int64`` ``BIGINT`` ``BIGINT`` is an alias of ``Int64``
``Float32`` ``REAL`` ``FLOAT`` is an alias of ``Float32``
``Float64`` ``DOUBLE`` ``DOUBLE`` is an alias of ``Float64``
================= ================= ===================================================================================================
ClickHouse Trino Notes
================= ================= ===================================================================================================
``Int8`` ``TINYINT`` ``TINYINT``, ``BOOL``, ``BOOLEAN`` and ``INT1`` are aliases of ``Int8``
``Int16`` ``SMALLINT`` ``SMALLINT`` and ``INT2`` are aliases of ``Int16``
``Int32`` ``INTEGER`` ``INT``, ``INT4`` and ``INTEGER`` are aliases of ``Int32``
``Int64`` ``BIGINT`` ``BIGINT`` is an alias of ``Int64``
``Float32`` ``REAL`` ``FLOAT`` is an alias of ``Float32``
``Float64`` ``DOUBLE`` ``DOUBLE`` is an alias of ``Float64``
``Decimal`` ``DECIMAL``
``FixedString`` ``VARBINARY`` Enabling ``clickhouse.map-string-as-varchar`` config property changes the mapping to ``VARCHAR``
``String`` ``VARBINARY`` Enabling ``clickhouse.map-string-as-varchar`` config property changes the mapping to ``VARCHAR``
``FixedString`` ``VARBINARY`` Enabling ``clickhouse.map-string-as-varchar`` config property changes the mapping to ``VARCHAR``
``String`` ``VARBINARY`` Enabling ``clickhouse.map-string-as-varchar`` config property changes the mapping to ``VARCHAR``
``Date`` ``DATE``
``DateTime`` ``TIMESTAMP``
``IPv4`` ``IPADDRESS``
``IPv6`` ``IPADDRESS``
``Enum8`` ``VARCHAR``
``Enum16`` ``VARCHAR``
``UUID`` ``UUID``
================= =============== ===================================================================================================
``UUID`` ``UUID``
================= ================= ===================================================================================================

.. include:: jdbc-type-mapping.fragment

Expand Down

0 comments on commit 63e0696

Please sign in to comment.