You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog/0.11.0.rst
+41-41Lines changed: 41 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,41 +28,6 @@ most of users will not see any differences.
28
28
29
29
This brings few bugfixes with datetime format handling.
30
30
31
-
- Serialize ``ColumnDatetimeHWM`` to Clickhouse's ``DateTime64(6)`` (precision up to microseconds) instead of ``DateTime`` (precision up to seconds) (:github:pull:`267`).
32
-
33
-
In previous onETL versions, ``ColumnDatetimeHWM`` value was rounded to the second, and thus reading some rows that were read in previous runs,
34
-
producing duplicates.
35
-
36
-
For Clickhouse versions below 21.1 comparing column of type ``DateTime`` with a value of type ``DateTime64`` is not supported, returning an empty dataframe.
37
-
To avoid this, replace:
38
-
39
-
.. code:: python
40
-
41
-
DBReader(
42
-
...,
43
-
hwm=DBReader.AutoDetectHWM(
44
-
name="my_hwm",
45
-
expression="hwm_column", # <--
46
-
),
47
-
)
48
-
49
-
with:
50
-
51
-
.. code:: python
52
-
53
-
DBReader(
54
-
...,
55
-
hwm=DBReader.AutoDetectHWM(
56
-
name="my_hwm",
57
-
expression="CAST(hwm_column AS DateTime64)", # <-- add explicit CAST
58
-
),
59
-
)
60
-
61
-
- Pass JDBC connection extra params as ``properties`` dict instead of URL with query part (:github:pull:`268`).
62
-
63
-
This allows passing custom connection parameters like ``Clickhouse(extra={"custom_http_options": "option1=value1,option2=value2"})``
64
-
without need to apply urlencode to parameter value, like ``option1%3Dvalue1%2Coption2%3Dvalue2``.
65
-
66
31
- For JDBC connections add new ``SQLOptions`` class for ``DB.sql(query, options=...)`` method (:github:pull:`272`).
67
32
68
33
Firsly, to keep naming more consistent.
@@ -166,6 +131,41 @@ most of users will not see any differences.
166
131
For now, ``DB.fetch(query, options=...)`` and ``DB.execute(query, options=...)`` can accept ``JDBCOptions``, to keep backward compatibility,
167
132
but emit a deprecation warning. The old class will be removed in ``v1.0.0``.
168
133
134
+
- Serialize ``ColumnDatetimeHWM`` to Clickhouse's ``DateTime64(6)`` (precision up to microseconds) instead of ``DateTime`` (precision up to seconds) (:github:pull:`267`).
135
+
136
+
In previous onETL versions, ``ColumnDatetimeHWM`` value was rounded to the second, and thus reading some rows that were read in previous runs,
137
+
producing duplicates.
138
+
139
+
For Clickhouse versions below 21.1 comparing column of type ``DateTime`` with a value of type ``DateTime64`` is not supported, returning an empty dataframe.
140
+
To avoid this, replace:
141
+
142
+
.. code:: python
143
+
144
+
DBReader(
145
+
...,
146
+
hwm=DBReader.AutoDetectHWM(
147
+
name="my_hwm",
148
+
expression="hwm_column", # <--
149
+
),
150
+
)
151
+
152
+
with:
153
+
154
+
.. code:: python
155
+
156
+
DBReader(
157
+
...,
158
+
hwm=DBReader.AutoDetectHWM(
159
+
name="my_hwm",
160
+
expression="CAST(hwm_column AS DateTime64)", # <-- add explicit CAST
161
+
),
162
+
)
163
+
164
+
- Pass JDBC connection extra params as ``properties`` dict instead of URL with query part (:github:pull:`268`).
165
+
166
+
This allows passing custom connection parameters like ``Clickhouse(extra={"custom_http_options": "option1=value1,option2=value2"})``
167
+
without need to apply urlencode to parameter value, like ``option1%3Dvalue1%2Coption2%3Dvalue2``.
168
+
169
169
Features
170
170
--------
171
171
@@ -188,14 +188,14 @@ Improve user experience with Kafka messages and Database tables with serialized
Copy file name to clipboardExpand all lines: docs/connection/db_connection/kafka/prerequisites.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ Authentication mechanism
46
46
~~~~~~~~~~~~~~~~~~~~~~~~
47
47
48
48
Kafka can support different authentication mechanism (also known as `SASL <https://en.wikipedia.org/wiki/Simple_Authentication_and_Security_Layer>`_).
49
+
49
50
List of currently supported mechanisms:
50
51
* :obj:`PLAIN <onetl.connection.db_connection.kafka.kafka_basic_auth.KafkaBasicAuth>`. To no confuse this with ``PLAINTEXT`` connection protocol, onETL uses name ``BasicAuth``.
51
52
* :obj:`GSSAPI <onetl.connection.db_connection.kafka.kafka_kerberos_auth.KafkaKerberosAuth>`. To simplify naming, onETL uses name ``KerberosAuth``.
Copy file name to clipboardExpand all lines: docs/connection/db_connection/mssql/prerequisites.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,11 @@ Connecting to MSSQL
27
27
Connection port
28
28
~~~~~~~~~~~~~~~
29
29
30
-
Connection is usually performed to port 1443. Port may differ for different MSSQL instances.
30
+
Connection is usually performed to port 1433. Port may differ for different MSSQL instances.
31
31
Please ask your MSSQL administrator to provide required information.
32
32
33
+
For named MSSQL instances (``instanceName`` option), `port number is optional <https://learn.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver16#named-and-multiple-sql-server-instances>`_, and could be omitted.
0 commit comments