kssenii
13f29a7242
Better
2023-03-28 18:57:24 +02:00
kssenii
04b28bf822
Merge remote-tracking branch 'upstream/master' into better-tests-for-data-lakes
2023-03-28 15:39:24 +02:00
Antonio Andelic
160aa186bb
Add support for NOSIGN keyword and no_sign_request config
2023-03-28 07:05:35 +00:00
kssenii
36cc6fee51
Rewrite data lakes (part 1)
2023-03-24 22:35:12 +01:00
Kuba Kaflik
576efc1da3
register GCP function in factory
2023-03-22 06:58:09 +01:00
Kuba Kaflik
1c8883b971
Merge branch 'master' into add-gcs-table-function
2023-03-21 13:47:03 +01:00
Kuba Kaflik
e6ddfc3486
Update GCS table function docs
2023-03-21 09:51:37 +01:00
Kuba Kaflik
0f039f8359
Add Google Cloud Storage S3 compatible table function
2023-03-21 09:09:57 +01:00
kssenii
bb0beb7449
Merge remote-tracking branch 'upstream/master' into named-collections-finish
2023-03-17 13:02:36 +01:00
Nikolai Kochetov
396e1b45a4
Merge pull request #47433 from ClickHouse/apply-settings-for-explain-earlier
...
Apply settings for EXPLAIN earlier (in the same way we do for SELECT).
2023-03-14 11:52:20 +01:00
Maksim Kita
0358cb36d8
Fixed tests
2023-03-11 11:51:54 +01:00
Nikolai Kochetov
815c5aa87e
Merge branch 'master' into apply-settings-for-explain-earlier
2023-03-10 21:19:07 +01:00
Nikolai Kochetov
d2c28fb555
Apply settings for explain subquery as well.
2023-03-10 18:29:13 +00:00
Han Fei
b7eef62458
Merge pull request #45491 from azat/dist/async-send-refactoring
...
[RFC] Rewrite distributed sends to avoid using filesystem as a queue, use in-memory queue instead
2023-03-06 12:32:33 +01:00
kssenii
8f2d75cef8
Fix tests
2023-03-05 12:56:00 +01:00
Kseniia Sumarokova
386663953c
Merge branch 'master' into named-collections-finish
2023-03-03 12:23:38 +01:00
kssenii
cd7cd0526b
Fix tests
2023-03-02 21:21:04 +01:00
Maksim Kita
3cd88003dd
Merge pull request #47101 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
...
Analyzer Planner fixes before enable by default
2023-03-02 22:16:39 +03:00
Kseniia Sumarokova
09444eeea1
Merge pull request #47006 from ucasfl/null
...
Table function null default table structure
2023-03-02 13:43:16 +01:00
Maksim Kita
47ece846bc
Fixed tests
2023-03-01 18:05:07 +01:00
kssenii
4716273349
Fix test
2023-03-01 13:37:05 +01:00
Azat Khuzhin
b5434eac3b
Rename StorageDistributedDirectoryMonitor to DistributedAsyncInsertDirectoryQueue
...
Since #44922 it is not a directory monitor anymore.
v2: Remove unused error codes
v3: Contains some header fixes due to conflicts with master
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-28 22:33:36 +01:00
flynn
e19f2f3c5b
fix
2023-02-28 13:07:19 +00:00
flynn
6481e304f1
fix
2023-02-28 12:30:07 +00:00
flynn
73427afe96
Table function null default table structure
2023-02-28 11:44:30 +00:00
kssenii
d4e6fc4546
Fix test
2023-02-27 21:43:45 +01:00
kssenii
ad88251ee7
Fix tests
2023-02-27 17:42:04 +01:00
avogar
12a9ff36b2
Better exception messages when schema_inference_hints is ill-formatted
2023-02-27 15:20:56 +00:00
kssenii
c2bcc4119f
Better
2023-02-24 20:57:37 +01:00
kssenii
96b57c8a65
Better support for equal keys
2023-02-24 20:38:40 +01:00
kssenii
d372bf9e12
Fix test
2023-02-24 11:47:22 +01:00
kssenii
b15be14792
Fix table function remote
2023-02-21 18:55:43 +01:00
kssenii
68e06ecb99
Replace for table function remote, and external storage
2023-02-21 14:33:37 +01:00
kssenii
a54b011670
Finish for mysql
2023-02-20 21:37:38 +01:00
Alexey Milovidov
5359dcc014
Merge pull request #46554 from ucasfl/iceberg-fix
...
fix build without avro
2023-02-19 14:35:29 +03:00
Maksim Kita
6dffe52e68
Merge pull request #46471 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
...
Analyzer planner fixes before enable by default
2023-02-19 13:49:18 +03:00
flynn
7b4fbf33b3
fix
2023-02-19 03:47:14 +00:00
flynn
830398f0bd
fix build without avro
...
fix
2023-02-18 17:32:35 +00:00
Maksim Kita
cbd961de98
Fixed code review issues
2023-02-18 17:06:00 +01:00
flynn
eae73a1511
fix
2023-02-16 13:42:19 +00:00
flynn
7f4c23ec8a
fix
2023-02-16 12:48:22 +00:00
Maksim Kita
cd3e8482ae
Analyzer TableFunctionExplain fix
2023-02-16 12:17:02 +01:00
Maksim Kita
2830877e22
Analyzer support table functions
2023-02-16 12:17:02 +01:00
flynn
ecc39978d7
fix conflict
2023-02-16 02:23:55 +00:00
Kruglov Pavel
4f380370a9
Fix s3Cluster schema inference in parallel distributed insert select ( #46381 )
...
* Fix s3Cluster schema inference in parallel distributed insert select
* Try fix flaky test
* Try SYSTEM SYNC REPLICA to avoid test flakiness
2023-02-15 15:30:43 +01:00
flynn
18cf72147e
remove more redundant header files
2023-02-15 07:02:44 +00:00
flynn
e4e3adf160
fix
2023-02-15 05:05:46 +00:00
flynn
f31451822e
fix
2023-02-15 03:56:01 +00:00
flynn
e05b4e9745
fix conflict
2023-02-14 13:49:28 +00:00
Antonio Andelic
5ab24285fc
Fix arg parsing
2023-02-14 08:33:59 +00:00
Antonio Andelic
3a6ea861d8
Extract common argument parsing logic
2023-02-13 12:27:49 +00:00
flynn
d3dd9421da
refactor and get rid of s3
2023-02-13 08:29:22 +00:00
flynn
37a850bd36
Merge branch 'master' of github.com:ClickHouse/ClickHouse into iceberg
2023-02-10 08:47:14 +00:00
flynn
db15634a01
fix conflict
2023-02-10 08:41:04 +00:00
Robert Schulze
e490ec91d9
Merge branch 'master' into rs/fix-fragile-linking
2023-02-09 11:33:59 +01:00
Ilya Yatsishin
9f480b8fa2
Merge pull request #46132 from azat/file-fd-schema-inference
2023-02-08 23:23:32 +01:00
robot-clickhouse-ci-1
99274f1db1
Merge pull request #46143 from ClickHouse/evillique-patch-2
...
Interpret `cluster_name` identifier in `s3Cluster` function as literal
2023-02-08 14:06:16 +01:00
Robert Schulze
6ff232d782
Merge branch 'master' into rs/fix-fragile-linking
2023-02-08 12:51:12 +01:00
Azat Khuzhin
0b37344b26
Use BAD_ARGUMENTS over LOGICAL_ERROR for schema inference error file() over fd
...
Otherwise the following leads to SIGSEGV in debug/sanitizers builds:
echo '0000000000Custom NULL representation0000000000' | clickhouse-local -q "desc file('-', 'TSV')"
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-08 05:36:49 +01:00
Nikolay Degterinsky
4040b9c91b
Interpret cluster_name identifier in s3Cluster function as literal
2023-02-08 00:39:19 +01:00
Robert Schulze
10af0b3e49
Reduce redundancies
2023-02-07 12:27:23 +00:00
kssenii
ab0dedf0c8
Simplify code around storage s3 configuration
2023-02-06 16:23:17 +01:00
flynn
0dd8a61a8e
fix conflict
2023-02-06 03:25:12 +00:00
Robert Schulze
84b9ff450f
Fix terribly broken, fragile and potentially cyclic linking
...
Sorry for the clickbaity title. This is about static method
ConnectionTimeouts::getHTTPTimeouts(). It was be declared in header
IO/ConnectionTimeouts.h, and defined in header
IO/ConnectionTimeoutsContext.h (!). This is weird and caused issues with
linking on s390x (##45520). There was an attempt to fix some
inconsistencies (#45848 ) but neither did @Algunenano nor me at first
really understand why the definition is in the header.
Turns out that ConnectionTimeoutsContext.h is only #include'd from
source files which are part of the normal server build BUT NOT part of
the keeper standalone build (which must be enabled via CMake
-DBUILD_STANDALONE_KEEPER=1). This dependency was not documented and as
a result, some misguided workarounds were introduced earlier, e.g.
0341c6c54b
The deeper cause was that getHTTPTimeouts() is passed a "Context". This
class is part of the "dbms" libary which is deliberately not linked by
the standalone build of clickhouse-keeper. The context is only used to
read the settings and the "Settings" class is part of the
clickhouse_common library which is linked by clickhouse-keeper already.
To resolve this mess, this PR
- creates source file IO/ConnectionTimeouts.cpp and moves all
ConnectionTimeouts definitions into it, including getHTTPTimeouts().
- breaks the wrong dependency by passing "Settings" instead of "Context"
into getHTTPTimeouts().
- resolves the previous hacks
2023-02-05 20:49:34 +00:00
attack204
7ed6bad097
Merge branch 'master' into urlCluster
2023-02-02 21:12:20 +08:00
FFFFFFFHHHHHHH
eca344eff1
Update src/TableFunctions/TableFunctionFormat.cpp
...
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
2023-02-01 14:12:36 +08:00
fhbai
d0fc3d9d4e
allow a three-argument version for table function format
2023-02-01 11:17:14 +08:00
Bharat Nallan
f1d6e3b908
Merge branch 'master' into ncb/odbc-connection-pool-fixes
2023-01-30 15:49:04 -08:00
Bharat Nallan Chakravarthy
0d2e4fcc15
set use_connection_pooling from settings everywhere
2023-01-30 08:22:48 -08:00
flynn
bb95093eee
remove unused file
2023-01-29 15:05:03 +00:00
flynn
6d9dc83064
fix
2023-01-29 10:15:13 +00:00
flynn
9b517cdc76
fix conflict
2023-01-29 08:34:56 +00:00
flynn
ed6fcfe0d1
refactor
2023-01-29 08:28:48 +00:00
Alexander Tokmakov
a584ad0eb1
forbid runtime strings
2023-01-26 10:52:47 +01:00
Alexander Tokmakov
9b670946db
Merge branch 'master' into exception_message_patterns5
2023-01-26 00:41:32 +01:00
Alexander Tokmakov
3744fa2c63
format more messages
2023-01-25 21:16:42 +01:00
Kruglov Pavel
cd3d3fdd68
Merge pull request #45483 from Avogar/fix-hdfs-cluster
...
Fix schema inference from insertion table in hdfsCluster
2023-01-25 20:24:51 +01:00
Alexander Tokmakov
414693feb2
fixes
2023-01-24 00:46:03 +01:00
Alexander Tokmakov
3f6594f4c6
forbid old ctor of Exception
2023-01-23 22:18:05 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
avogar
73538117eb
Fix and add a test
2023-01-23 16:24:00 +00:00
attack204
1ad4d47787
Merge branch 'master' of github.com:attack204/ClickHouse
2023-01-21 09:36:16 +08:00
attack204
d971e0e75d
Merge branch 'master' into master
2023-01-21 09:34:15 +08:00
attack204
0c92c9917e
Fix schema inference from insertion table in urlCluster
2023-01-21 09:33:37 +08:00
avogar
eed1db7e07
Fix schema inference in hdfsCluster
2023-01-20 21:17:35 +00:00
Alexander Tokmakov
910d6dc0ce
Merge pull request #45342 from ClickHouse/exception_message_patterns
...
Save message format strings for DB::Exception
2023-01-20 18:46:52 +03:00
attack204
406bd09b40
Merge branch 'master' into master
2023-01-19 17:50:08 +08:00
attack204
1f4139718a
fix:style
2023-01-19 16:19:39 +08:00
attack204
f549380867
fix:style
2023-01-19 16:10:59 +08:00
attack204
99bdef71c8
fix:style
2023-01-19 15:12:47 +08:00
attack204
31fa490822
fix conflict
2023-01-19 10:45:14 +08:00
attack204
e312cfa794
feature:urlCluster
2023-01-19 10:19:04 +08:00
avogar
117ec13c9e
Fix s3Cluster schema inference when structure from insertion table is used
2023-01-18 20:33:50 +00:00
flynn
2fb32dc56c
fix and add test
2023-01-18 08:33:55 +00:00
Alexander Tokmakov
5cd90c1a3e
Merge branch 'master' into exception_message_patterns
2023-01-17 20:04:04 +01:00
Alexander Tokmakov
522686f78b
less empty patterns
2023-01-17 01:19:44 +01:00
Maksim Kita
80f6a45376
Merge pull request #44641 from ClickHouse/vdimir/view_explain_2
...
Function viewExplain accept SELECT and settings
2023-01-16 13:39:53 +03:00
avogar
abfb6b096f
Better exception message
2023-01-13 14:23:30 +00:00
vdimir
f881a82417
Fix viewExplain, add testcases
2023-01-13 12:19:25 +00:00
avogar
82ff1fd343
Add tests and docs
2023-01-12 22:29:23 +00:00