Skip to content

Commit

Permalink
Update links to clickhouse.com
Browse files Browse the repository at this point in the history
  • Loading branch information
xzkostyan committed Jul 10, 2022
1 parent 242c374 commit 978d6ac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion clickhouse_driver/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Client(object):
for the client settings, see below). Defaults to ``None``
(no additional settings). See all available settings in
`ClickHouse docs
<https://clickhouse.tech/docs/en/operations/settings/settings/>`_.
<https://clickhouse.com/docs/en/operations/settings/settings/>`_.
:param \\**kwargs: All other args are passed to the
:py:class:`~clickhouse_driver.connection.Connection`
constructor.
Expand Down
6 changes: 3 additions & 3 deletions docs/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Features
External data for query processing
----------------------------------

You can pass `external data <https://clickhouse.yandex/docs/en/single/index.html#external-data-for-query-processing>`_
You can pass `external data <https://clickhouse.com/docs/en/engines/table-engines/special/external-data/>`_
alongside with query:

.. code-block:: python
Expand All @@ -38,7 +38,7 @@ alongside with query:
Settings
--------

There are a lot of ClickHouse server `settings <https://clickhouse.yandex/docs/en/single/index.html#server-settings>`_.
There are a lot of ClickHouse server `settings <https://clickhouse.com/docs/en/operations/settings/settings/>`_.
Settings can be specified during Client initialization:

.. code-block:: python
Expand Down Expand Up @@ -133,7 +133,7 @@ You can manually set query identificator for each query. UUID for example:
You can cancel query with specific id by sending another query with the same
query id if option `replace_running_query
<https://clickhouse.yandex/docs/en/single/#replace-running-query>`_ is set to 1.
<https://clickhouse.com/docs/en/operations/settings/settings/#replace-running-query>`_ is set to 1.

Query results are fetched by the same instance of Client that emitted query.

Expand Down
2 changes: 1 addition & 1 deletion docs/performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ When you read data over HTTP you may need to cast strings into Python types.
Test data
---------

Sample data for testing is taken from `ClickHouse docs <https://clickhouse.tech/docs>`_.
Sample data for testing is taken from `ClickHouse docs <https://clickhouse.com/docs/en/getting-started/example-datasets/ontime>`_.

Create database and table:

Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ When you are dealing with large datasets block by block results streaming may be
Inserting data
--------------

Insert queries in `Native protocol <https://clickhouse.yandex/docs/en/single/index.html#native-interface-tcp>`_
Insert queries in `Native protocol <https://clickhouse.com/docs/en/interfaces/tcp/>`_
are a little bit tricky because of ClickHouse's columnar nature. And because we're using Python.

INSERT query consists of two parts: query statement and query values. Query values are split into chunks called blocks.
Expand Down
2 changes: 1 addition & 1 deletion docs/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ insertion of datetime column is a bottleneck.

SELECT type: :class:`~datetime.datetime`.

Setting `use_client_time_zone <https://clickhouse.yandex/docs/en/single/#datetime>`_ is taken into consideration.
Setting `use_client_time_zone <https://clickhouse.com/docs/en/sql-reference/data-types/datetime/#usage-remarks>`_ is taken into consideration.

You can cast DateTime column to integers if you are facing performance issues when selecting large amount of rows.

Expand Down

0 comments on commit 978d6ac

Please sign in to comment.