Commit Graph

12906 Commits

Author SHA1 Message Date
Alexander Sapin
7d5b98f028 Remove logging add sleeps 2023-06-07 20:03:17 +02:00
Alexander Sapin
5d52c41689 Merge branch 'master' into azure_table_function 2023-06-07 12:33:26 +02:00
Boris Kuschel
1fa1215d15 Avoid UB 2023-06-06 19:08:42 -04:00
Boris Kuschel
689e0cabe0 Add space to if 2023-06-06 19:08:42 -04:00
Boris Kuschel
068b1fbbcc Add ability to ignore index 2023-06-06 19:08:42 -04:00
alesapin
6ab2a50c39 Fix two tests and build 2023-06-06 22:48:53 +02:00
Smita Kulkarni
99f0be8ef5 Refactored to StorageAzureBlob 2023-06-06 21:58:54 +02:00
alesapin
5637858182 Fix the most important check in the world 2023-06-06 21:06:45 +02:00
alesapin
ceab5117a9 Fxi style 2023-06-06 20:39:54 +02:00
alesapin
934df5e5bb Rename to AzureBlobStorage 2023-06-06 19:44:41 +02:00
alesapin
7100bc5152 Fixes for azure table function 2023-06-06 19:31:50 +02:00
alesapin
c910f0034b Some code for table function 2023-06-06 18:48:20 +02:00
alesapin
14470b46c7 Merge branch 'azure_table_function' of github.com:ClickHouse/ClickHouse into azure_table_function 2023-06-06 16:58:05 +02:00
alesapin
ebae79f7d4 Schema inference 2023-06-06 16:57:51 +02:00
Smita Kulkarni
75d0f9fc97 Updated to use readObjects for async 2023-06-06 16:32:05 +02:00
Smita Kulkarni
88f2f4f5fc Added createAsyncAzureReadBuffer 2023-06-06 16:16:49 +02:00
alesapin
a1f3bd9e23 Fix reads 2023-06-06 14:55:17 +02:00
Nikita Mikhaylov
e87348010d
Rework loading and removing of data parts for MergeTree tables. ()
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-06-06 14:42:56 +02:00
alesapin
d497562a07 Copy and paste 2023-06-06 13:01:21 +02:00
alesapin
3d99abee43 Remove async reads 2023-06-06 12:40:28 +02:00
alesapin
8028184e30 Fix read 2023-06-06 12:27:40 +02:00
alesapin
1506545db0 Fix merge conflicts 2023-06-06 11:47:29 +02:00
Smita Kulkarni
614451998d Fixed build by adding StorageAzureSource constructor and getHeader function implementation 2023-06-06 08:06:24 +02:00
Michael Kolupaev
9f80900d6f Changes related to an internal feature 2023-06-05 18:20:38 -07:00
alesapin
b22e664e25 Implement blob-read 2023-06-06 01:28:04 +02:00
alesapin
934237091d Merge remote-tracking branch 'origin/azure_table_function' into azure 2023-06-06 00:40:05 +02:00
Smita Kulkarni
bd6b0ff1c0 Updated to read only 1st object 2023-06-05 23:32:26 +02:00
Smita Kulkarni
aa6f4e43c5 Fixed COLUMN_NOT_FOUND in block issue 2023-06-05 23:15:13 +02:00
Sergei Trifonov
a1b961ee19
Merge pull request from ClickHouse/50422-add-systemuser_processes-system-table
Add `system.user_processes` table
2023-06-05 21:23:00 +02:00
Smita Kulkarni
dedb9067ce WIP : Azure Table Function, added read and StorageAzureSource 2023-06-05 20:36:17 +02:00
Smita Kulkarni
93e9752a3f Merge branch 'azure' into azure_table_function 2023-06-05 19:01:35 +02:00
Alexander Sapin
bc8ee56a19 Support settings, test truncate 2023-06-05 14:46:52 +02:00
Alexander Sapin
2866bac089 Add named collections and remove host filter support 2023-06-05 14:03:19 +02:00
Dmitry Novik
8e51a15606
Merge pull request from azat/fix-nested-dist-cte
Fix nested distributed SELECT in WITH clause
2023-06-05 13:18:50 +02:00
Alexander Sapin
c9c9e1e969 Merge branch 'master' into azure 2023-06-05 12:19:29 +02:00
János Benjamin Antal
e140cad10c Clean up includes 2023-06-05 10:18:36 +00:00
Alexey Milovidov
3c5bd78856 Fix typo 2023-06-05 06:13:39 +02:00
Alexey Milovidov
881bdbf839
Merge pull request from amosbird/fix_44504
Fix invalid index analysis for date related keys
2023-06-05 05:00:20 +03:00
Alexey Milovidov
5fc8838b04
Update KeyCondition.cpp 2023-06-05 04:58:29 +03:00
Alexey Milovidov
f118cba17e
Merge pull request from azat/dist-pending-bytes
Add new metrics BrokenDistributedBytesToInsert/DistributedBytesToInsert
2023-06-05 04:50:42 +03:00
Alexey Milovidov
3b8c781b2c
Merge pull request from ClickHouse/rm_parts_from_zk_paranoid
Paranoid fix for removing parts from ZooKeeper
2023-06-05 04:42:15 +03:00
Alexey Milovidov
18817517ed
Merge pull request from ClickHouse/fix-generaterandom
Control memory usage in generateRandom
2023-06-05 02:50:24 +03:00
alesapin
8d8d06285f Add integration test 2023-06-04 18:59:22 +02:00
alesapin
02923138a3 Merge branch 'master' into azure 2023-06-04 16:43:28 +02:00
Alexey Milovidov
c62558f982 Control memory usage in generateRandom 2023-06-04 04:44:51 +02:00
alesapin
a0df856605 Able to insert 2023-06-03 23:11:03 +02:00
Azat Khuzhin
69aec7af9b Add new metrics BrokenDistributedBytesToInsert/DistributedBytesToInsert
Useful to see at the server status overall.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-03 20:49:19 +02:00
Azat Khuzhin
13a1226971 Fix nested distributed SELECT in WITH clause
For the CSE (common scalar expression, form of CTE) form of WITH it will
set max_result_rows to 1, since there should not be more rows, but this
will be applied for the DESC TABLE as well (service distributed query
that required to obtain the structure).

Note, that it is a problem only for nested distributed queries because
getSubqueryContext() from InterpreterSelectQuery.cpp resets those limits
as well, but this does not helps, for the nested DESC since it is
executed on the remote node that has max_result_rows=1.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-03 20:22:51 +02:00
Alexey Milovidov
8018e58b74
Merge pull request from evillique/postgresql-uuid
Add UUID data type to PostgreSQL
2023-06-03 07:13:41 +03:00
Alexey Milovidov
ccba3500dd
Update StoragePostgreSQL.cpp 2023-06-03 07:13:26 +03:00