Skip to content

Commit

Permalink
[DOP-16941] Add spark-dialect-extension package to Clickhouse documen…
Browse files Browse the repository at this point in the history
…tation
  • Loading branch information
dolfinus committed Oct 1, 2024
1 parent f8c6d3f commit 45c6bb8
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/changelog/next_release/310.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add note about `spark-dialect-extension <https://github.com/MobileTeleSystems/spark-dialect-extension>`_ package to Clickhouse connector documentation.
10 changes: 10 additions & 0 deletions docs/connection/db_connection/clickhouse/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
Clickhouse <-> Spark type mapping
=================================

.. note::

The results below are valid for Spark 3.5.3, and may differ on other Spark versions.

.. note::

It is recommended to use `spark-dialect-extension <https://github.com/MobileTeleSystems/spark-dialect-extension>`_ package,
which implements writing Arrays from Spark to Clickhouse, fixes dropping fractions of seconds in ``TimestampType``,
and fixes other type conversion issues.

Type detection & casting
------------------------

Expand Down
4 changes: 4 additions & 0 deletions docs/connection/db_connection/greenplum/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Greenplum <-> Spark type mapping
=================================

.. note::

The results below are valid for Spark 3.2.4, and may differ on other Spark versions.

Type detection & casting
------------------------

Expand Down
4 changes: 4 additions & 0 deletions docs/connection/db_connection/mongodb/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
MongoDB <-> Spark type mapping
==============================

.. note::

The results below are valid for Spark 3.5.3, and may differ on other Spark versions.

Type detection & casting
------------------------

Expand Down
6 changes: 5 additions & 1 deletion docs/connection/db_connection/mssql/types.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
.. _mssql-types:

MSSQL <-> Spark type mapping
=================================
============================

.. note::

The results below are valid for Spark 3.5.3, and may differ on other Spark versions.

Type detection & casting
------------------------
Expand Down
6 changes: 5 additions & 1 deletion docs/connection/db_connection/mysql/types.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
.. _mysql-types:

MySQL <-> Spark type mapping
=================================
============================

.. note::

The results below are valid for Spark 3.5.3, and may differ on other Spark versions.

Type detection & casting
------------------------
Expand Down
4 changes: 4 additions & 0 deletions docs/connection/db_connection/oracle/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Oracle <-> Spark type mapping
=============================

.. note::

The results below are valid for Spark 3.5.3, and may differ on other Spark versions.

Type detection & casting
------------------------

Expand Down
6 changes: 5 additions & 1 deletion docs/connection/db_connection/postgres/types.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
.. _postgres-types:

Postgres <-> Spark type mapping
=================================
===============================

.. note::

The results below are valid for Spark 3.5.3, and may differ on other Spark versions.

Type detection & casting
------------------------
Expand Down

0 comments on commit 45c6bb8

Please sign in to comment.