Azat Khuzhin
119e000873
Fix subsequent use of external tables in client
...
Before this patch it fails on the second and all other invocations:
$ chc --external --file=/tmp/test-no-lf.tsv --name=t --structure='x String'
azat.local$ select * from t limit 1
┌─x───┐
1. │ foo │
└─────┘
azat.local$ select * from t limit 1
Exception on client:
Code: 27. DB::Exception: Cannot parse input: expected '\t' at end of stream.: (at row 1)
: Buffer has gone, cannot extract information about what has been parsed.: (in file/uri /tmp/test-no-lf.tsv): While executing TabSeparatedRowInputFormat. (CANNOT_PARSE_INPUT_ASSERTION_FAILED)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-29 11:43:29 +02:00
Azat Khuzhin
437621cbe5
Remove superfluous condition from ClientBase::sendExternalTables()
...
send_external_tables already checked by the callers.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-29 11:43:29 +02:00
alesapin
4701429db4
Merge pull request #62773 from hileef/fix/update/nested-columns-size-check
...
fix: update: nested materialized columns: size check fixes
2024-04-29 09:27:39 +00:00
Alexey Milovidov
dffcc51b83
Merge pull request #62074 from kitaisreal/analyzer-support-recursive-cte
...
Analyzer support recursive CTEs
2024-04-29 00:32:15 +00:00
Alexey Milovidov
c570316c87
Merge branch 'master' into analyzer-support-recursive-cte
2024-04-29 02:26:59 +02:00
Alexey Milovidov
eaf3b91ab6
Merge pull request #62907 from kitaisreal/query-plan-convert-outer-join-to-inner-join-optimization
...
QueryPlan convert OUTER JOIN to INNER JOIN optimization
2024-04-28 23:07:44 +00:00
Alexey Milovidov
98263388cb
Merge pull request #62987 from azat/fetches-exceptions-on-http
...
Fix possible CHECKSUM_DOESNT_MATCH (and others) during replicated fetches
2024-04-28 20:46:21 +00:00
Maksim Kita
56037ffaca
Fixed build
2024-04-28 12:52:17 +03:00
Maksim Kita
f5cfe597f2
Fixed tests
2024-04-28 12:52:17 +03:00
Maksim Kita
bd1189de70
Fixed tests
2024-04-28 12:52:17 +03:00
Maksim Kita
0111f30ed2
Fixed clang-tidy
2024-04-28 12:52:17 +03:00
Maksim Kita
f91b8580db
Fixed tests
2024-04-28 12:52:17 +03:00
Maksim Kita
85dc0cf20a
Fixed tests
2024-04-28 12:52:17 +03:00
Maksim Kita
126f3692cb
Added tests
2024-04-28 12:52:17 +03:00
Maksim Kita
06d2c18f26
Analyzer support recursive CTEs
2024-04-28 12:52:17 +03:00
Maksim Kita
b080adb586
Fixed build
2024-04-28 12:52:05 +03:00
Maksim Kita
8ed6f4c27a
Fixed code review issues
2024-04-28 12:52:05 +03:00
Maksim Kita
ab0842347d
Fixed code review issues
2024-04-28 12:52:04 +03:00
Maksim Kita
16887ce802
Fixed tests
2024-04-28 12:52:04 +03:00
Maksim Kita
e42d00e4b8
Added performance tests
2024-04-28 12:52:04 +03:00
Maksim Kita
8900a6a035
Added tests
2024-04-28 12:52:04 +03:00
Maksim Kita
bc6db79737
QueryPlan convert OUTER JOIN to INNER JOIN optimization
2024-04-28 12:52:04 +03:00
Azat Khuzhin
cf1451ecde
Fix possible CHECKSUM_DOESNT_MATCH during replicated fetches
...
Previously HTTP server does not tries to send exception if something had
been written to the client already, but after rewriting to "zero-copy"
HTTP implementation (back in #19516 ) this got broken, and you can get
pretty "dangerous" at least at first glance errors, like:
- Malformed chunked encoding
- or most likely to CHECKSUM_DOESNT_MATCH error
This is not crucial because it will never pass checksum checks, but
still icky. So let's fix it.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-28 07:34:08 +02:00
Azat Khuzhin
478ba92ddd
Improve error message on checksum mismatch during fetches
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-28 07:34:07 +02:00
Azat Khuzhin
43dcc012f4
Add a test for fetches failures
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-28 07:34:07 +02:00
Azat Khuzhin
d278866d52
Add copy_data_failpoint failpoint
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-28 07:34:07 +02:00
alesapin
5139ef7b91
Merge pull request #63077 from ClickHouse/fix_stateful_azure
...
Fix stateful tests
2024-04-27 22:37:46 +00:00
Alexey Milovidov
f7b6a1149a
Merge pull request #61357 from canhld94/fix_count
...
Fix parser error when using COUNT(*) with FILTER clause
2024-04-27 21:53:47 +00:00
Alexey Milovidov
d9fa3fdceb
Merge pull request #63069 from azat/tests/integration-old-analyzer
...
Fix integration tests with old analyzer (and fix some leftovers of enabling it)
2024-04-27 21:43:07 +00:00
Alexey Milovidov
753dd30a40
Merge pull request #63070 from azat/tests/dist-inter-server-backward
...
Get back test for old inter-server mode (DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET non-v2)
2024-04-27 21:42:11 +00:00
alesapin
c7a6af3c4a
Fix stateful
2024-04-27 21:47:48 +02:00
Nikita Taranov
c14fb847da
Merge pull request #62047 from azat/dist/fix-IN-rewrite
...
Fix optimize_skip_unused_shards_rewrite_in for composite sharding key
2024-04-27 18:39:34 +00:00
alesapin
9c3d40749b
Merge pull request #62565 from ClickHouse/ci_add_azure_tests
...
CI: Add tests with Azure storage
2024-04-27 15:13:42 +00:00
alesapin
8a2ca8513d
Temporary remove azure from template
2024-04-27 16:58:21 +02:00
Alexey Milovidov
f6d443c927
Merge pull request #62041 from azat/clickhouse-test-no-reference-fix
...
Fix clickhouse-test in case of missing .reference file
2024-04-27 14:55:54 +00:00
Alexey Milovidov
58792a1935
Merge pull request #60302 from azat/INSERT-receive-timeout
...
Change back how receive_timeout is handled for INSERTs
2024-04-27 14:55:28 +00:00
Alexey Milovidov
49ffacc9cd
Merge pull request #63071 from ClickHouse/alexey-milovidov-patch-8
...
Make a statement about HDFS
2024-04-27 14:13:26 +00:00
Alexey Milovidov
06d21ab028
Merge pull request #62420 from ClickHouse/too-many-parts-in-move-partition
...
Add back-pressure for `MOVE PARTITION TO TABLE` as for `INSERT`s
2024-04-27 14:07:10 +00:00
Alexey Milovidov
5a7e7a9f2f
Merge branch 'master' into too-many-parts-in-move-partition
2024-04-27 16:02:02 +02:00
Alexey Milovidov
a75a9e37be
Merge pull request #62534 from ClickHouse/Azure_write_buffer_parallel_upload
...
Support parallel write buffer for AzureBlobStorage
2024-04-27 13:59:55 +00:00
Alexey Milovidov
a985721129
Merge pull request #63033 from Algunenano/i42769
...
Add test for #42769
2024-04-27 13:49:44 +00:00
Azat Khuzhin
98df6b88a0
tests: forbid allow_experimental_analyzer if tag was specified
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 15:49:09 +02:00
Alexey Milovidov
b1f4171f5a
Merge pull request #63039 from azat/tsan-suppressions-fix
...
Fix suppressions for librdkafka data-race for statistics code
2024-04-27 13:48:44 +00:00
Alexey Milovidov
da2b9f2cbb
Merge pull request #63040 from vitlibar/fix-unhandled-exception-in-restorer-from-backup-destructor
...
Fix unhandled exception in ~RestorerFromBackup
2024-04-27 13:47:38 +00:00
Alexey Milovidov
d8adbf0de2
Merge pull request #63048 from vitlibar/unfork-and-update-curl
...
Unfork and update curl to 8.7.1
2024-04-27 13:45:17 +00:00
Alexey Milovidov
054e63134c
Update hdfs.md
2024-04-27 15:32:23 +02:00
Azat Khuzhin
5facb1d099
Get back test for old inter-server mode (DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET non-v2)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-27 15:29:14 +02:00
alesapin
bfa9026cf4
Merge branch 'ci_add_azure_tests' of github.com:ClickHouse/ClickHouse into ci_add_azure_tests
2024-04-27 14:11:25 +02:00
alesapin
ba949f2a38
Add for master only
2024-04-27 12:36:17 +02:00
alesapin
78e6d62ed3
Merge branch 'master' into ci_add_azure_tests
2024-04-27 12:33:42 +02:00