Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOP-16941] Add spark-dialect-extension package to Clickhouse docs #310

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,
maxim-lixakov marked this conversation as resolved.
Show resolved Hide resolved
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