Commit Graph

13915 Commits

Author SHA1 Message Date
Igor Nikonov
859022660e Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry 2022-11-04 23:31:51 +00:00
Igor Nikonov
3fad4131bf
Merge pull request #42937 from ClickHouse/fix_bad_cast_low_cardinality_to_string_column
Fix: bad cast from type DB::ColumnLowCardinality to DB::ColumnString
2022-11-04 23:34:37 +01:00
Nikolay Degterinsky
6995fa1afd
Merge pull request #42883 from zzsmdfj/fix_join_to_subqueries_null_pointer
Fix  join to subqueries rewriter null pointer
2022-11-04 19:56:40 +03:00
Kseniia Sumarokova
ed44b20694
Merge pull request #42224 from kssenii/fit-http-buffer-retries
Fix http buffer retries
2022-11-04 11:50:17 +01:00
Vladimir C
69faede2b6
Merge pull request #42823 from ClickHouse/vdimir/fix_analysis_of_variance 2022-11-04 11:11:05 +01:00
zzsmdfj
9d8840b8a7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix_join_to_subqueries_null_pointer 2022-11-04 10:05:12 +08:00
Yakov Olkhovskiy
4012fcbf01
Merge pull request #42285 from ClibMouse/feature/base64-encode-fixed-string
Add support for FixedString input to base64 functions
2022-11-03 18:56:21 -04:00
Igor Nikonov
3b44ac0a1d Fix: bad cast from type DB::ColumnLowCardinality to DB::ColumnString 2022-11-03 16:18:52 +00:00
vdimir
6d798cbc9d
Add checks in AggregateFunctionAnalysisOfVariance 2022-11-03 14:22:10 +00:00
Kseniia Sumarokova
844dd7b5e6
Update .reference 2022-11-03 13:11:36 +01:00
vdimir
b7fb500d5b Fix incorrect saved_block_sample with multiple disjuncts in hash join 2022-11-03 13:00:37 +01:00
kssenii
4fe4a07600 Add test 2022-11-03 12:14:08 +01:00
Igor Nikonov
9a315b7899 Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry 2022-11-02 15:32:54 +00:00
Igor Nikonov
3ed18ab162 Mark a test as long 2022-11-02 15:31:58 +00:00
ltrk2
431e1aa3fa Implement functional tests 2022-11-02 08:14:28 -04:00
vdimir
40314e9030 Add timezone to 02458_datediff_date32 2022-11-02 11:58:18 +01:00
zzsmdfj
61123b7f54 to fix join to subqueries rewriter null pointer 2022-11-02 11:34:15 +08:00
Anton Popov
876dca48da
Merge pull request #36969 from CurtizJ/dynamic-columns-14
Support `Object` type inside other types
2022-11-01 15:20:02 +01:00
Kruglov Pavel
c3a7211c1c
Merge pull request #41502 from marcioapm/coercing-json-extract
Add coercing in JSONExtract
2022-11-01 14:52:41 +01:00
Kruglov Pavel
21d50f76ea
Merge pull request #41979 from Avogar/s3-cluster-schema-inference
Fix schema inference in s3Cluster and improve in hdfsCluster
2022-11-01 14:00:21 +01:00
Maksim Kita
aa1c7d0de4
Merge pull request #42824 from den-crane/tests/lambda_analyzer
Tests/lambda analyzer
2022-11-01 14:29:20 +03:00
Alexander Gololobov
f67f0183f6
Merge pull request #42812 from azat/utf8-fix-followup
Fix lowerUTF8()/upperUTF8() in case of symbol was in between 16-byte boundary
2022-11-01 12:01:00 +01:00
Maksim Kita
27a72f096c
Merge pull request #42705 from kitaisreal/analyzer-small-improvements
Analyzer improve subqueries representation
2022-11-01 13:54:12 +03:00
vdimir
e7e223ffc6 Revert "Add 02474_dummy.sql"
This reverts commit c2a8176716746364e559d61d8475407610cb3d3f.
2022-11-01 11:20:10 +01:00
vdimir
bc78810f2c Add 02474_dummy.sql 2022-11-01 11:20:10 +01:00
vdimir
e0735e1e67 Debug TestBugfixCheck 2022-11-01 11:20:10 +01:00
Yakov Olkhovskiy
bab0e06e3d
Merge pull request #42458 from Clark0/match-func-use-index
match function can use index if it's a condition on string prefix #37333
2022-10-31 17:33:58 -04:00
Igor Nikonov
9cc64a0fcc Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry 2022-10-31 18:21:21 +00:00
Igor Nikonov
2d5050ea66 Fix review comments 2022-10-31 18:20:58 +00:00
Anton Popov
2ae3cfa9e0
Merge branch 'master' into dynamic-columns-14 2022-10-31 16:15:19 +01:00
Alexander Gololobov
3742fd848a Tests for upperUTF8() and for 32 and 64 byte boundaries 2022-10-31 15:31:14 +01:00
Márcio Martins
399d024c2c Fix array index argument type check for JSONExtract* functions 2022-10-31 15:08:34 +01:00
Márcio Martins
c33bd7794f
Merge branch 'master' into coercing-json-extract 2022-10-31 15:04:48 +01:00
Denny Crane
1c9fd1d0c7 test for #36677 2022-10-31 12:01:04 +00:00
Denny Crane
89a155d95c test for #28083 2022-10-31 12:00:49 +00:00
Nikolay Degterinsky
d8d479a8c0
Merge pull request #42804 from evillique/fix-create-user-parser
Fix a bug in ParserCreateUserQuery
2022-10-31 12:29:06 +01:00
Sergei Trifonov
8c67257a1c
Merge pull request #42665 from ClickHouse/token-bucket-throttler
Replace throttler algorithm by token bucket
2022-10-31 12:28:18 +01:00
Azat Khuzhin
5fe44f2736 Fix lowerUTF8()/upperUTF8() in case of symbol was in between 16-byte boundary
In lowerUTF8()/upperUTF8() there is an SSE optimization that handles
16 byte at a time, but only for ASCII, for UTF8 symbols converion will
be done by symbol.

Consider the following example:

    КВ АМ И СЖ
             ^ - offset is 15, length of sequence is 2
                 so first byte of a symbol is in first 16 bytes
                 second byte of a symbol is not ther

And in this case it will be handled incorrectly because it will try to
process oly these 16 bytes w/o looking forward.

This had been broken by #41286, before this patch it does not looks at
the row boundaries but only at the string end and so this sutation
wasn't possible.

Fixes: #42756
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-31 08:17:38 +01:00
Nikolay Degterinsky
978aa16e29 Fix a bug in ParserCreateUserQuery 2022-10-30 16:42:57 +00:00
Roman Vasin
24a4f4afe7
Merge branch 'master' into ADQM-605 2022-10-30 18:03:07 +03:00
Nikolay Degterinsky
6d1b547586
Merge pull request #42724 from evillique/fix-parser-bug
Fix a bug in ParserFunction
2022-10-29 13:59:20 +02:00
clarkcaoliu
ca5dbe88db match function can use index if prefix 2022-10-29 18:25:29 +08:00
Igor Nikonov
937dd44399 Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry 2022-10-28 15:09:23 +00:00
Sergei Trifonov
c948303fa0
Merge branch 'master' into token-bucket-throttler 2022-10-28 16:21:55 +02:00
Alexey Milovidov
f64e632707
Merge pull request #42469 from amosbird/issue_42456
Fix misbehavior of key analysis
2022-10-28 16:18:00 +02:00
Roman Vasin
4a4fb20731 Add Date32 to 01411_from_unixtime and improve 00718_format_datetime 2022-10-28 14:08:28 +00:00
Igor Nikonov
f31ce5debe Fix for messed up test output file 2022-10-28 06:24:22 +00:00
Igor Nikonov
3682913172 Merge remote-tracking branch 'origin/master' into igor/insert_zk_retries_retry 2022-10-27 22:01:53 +00:00
Sergei Trifonov
8892da3a4c
Merge branch 'master' into token-bucket-throttler 2022-10-27 22:40:59 +02:00
serxa
2038db21f4 lower limit to avoid hitting another bottleneck 2022-10-27 17:26:12 +00:00