diff --git a/docs/changelog/next_release/310.doc.rst b/docs/changelog/next_release/310.doc.rst new file mode 100644 index 00000000..469ccf67 --- /dev/null +++ b/docs/changelog/next_release/310.doc.rst @@ -0,0 +1 @@ +Add note about `spark-dialect-extension `_ package to Clickhouse connector documentation. diff --git a/docs/connection/db_connection/clickhouse/types.rst b/docs/connection/db_connection/clickhouse/types.rst index 6135e066..4f2dbf3f 100644 --- a/docs/connection/db_connection/clickhouse/types.rst +++ b/docs/connection/db_connection/clickhouse/types.rst @@ -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 `_ 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 ------------------------ diff --git a/docs/connection/db_connection/greenplum/types.rst b/docs/connection/db_connection/greenplum/types.rst index 3c0e664b..01282159 100644 --- a/docs/connection/db_connection/greenplum/types.rst +++ b/docs/connection/db_connection/greenplum/types.rst @@ -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 ------------------------ diff --git a/docs/connection/db_connection/mongodb/types.rst b/docs/connection/db_connection/mongodb/types.rst index f701ac93..91a64a88 100644 --- a/docs/connection/db_connection/mongodb/types.rst +++ b/docs/connection/db_connection/mongodb/types.rst @@ -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 ------------------------ diff --git a/docs/connection/db_connection/mssql/types.rst b/docs/connection/db_connection/mssql/types.rst index 3a8b2d36..13c7874a 100644 --- a/docs/connection/db_connection/mssql/types.rst +++ b/docs/connection/db_connection/mssql/types.rst @@ -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 ------------------------ diff --git a/docs/connection/db_connection/mysql/types.rst b/docs/connection/db_connection/mysql/types.rst index 71795925..a828cb41 100644 --- a/docs/connection/db_connection/mysql/types.rst +++ b/docs/connection/db_connection/mysql/types.rst @@ -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 ------------------------ diff --git a/docs/connection/db_connection/oracle/types.rst b/docs/connection/db_connection/oracle/types.rst index 28ece909..b5277660 100644 --- a/docs/connection/db_connection/oracle/types.rst +++ b/docs/connection/db_connection/oracle/types.rst @@ -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 ------------------------ diff --git a/docs/connection/db_connection/postgres/types.rst b/docs/connection/db_connection/postgres/types.rst index e47336f0..7eea2850 100644 --- a/docs/connection/db_connection/postgres/types.rst +++ b/docs/connection/db_connection/postgres/types.rst @@ -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 ------------------------