Commit Graph

72915 Commits

Author SHA1 Message Date
Alexey Milovidov
04c5574ce6 Add comments 2021-09-19 20:51:35 +03:00
Alexey Milovidov
7d24e110e4 Make something with more sense 2021-09-19 20:23:06 +03:00
Ivan Blinkov
dc28a82192 tabs to spaces 2021-09-19 19:50:09 +03:00
Ivan Blinkov
a4479c48af adjust urls 2021-09-19 19:48:01 +03:00
Ivan Blinkov
e66a631321 Merge branch 'master' of github.com:flickerbox/tech.clickhouse 2021-09-19 19:32:21 +03:00
Alexey Milovidov
b444d224b0 Merge branch 'master' into exp-smooth 2021-09-19 17:58:57 +03:00
Alexey Milovidov
012497193e Merge branch 'exp-smooth' of github.com:yandex/ClickHouse into exp-smooth 2021-09-19 17:58:51 +03:00
tavplubix
40b1b5ed0e
Merge pull request #29078 from Slach/docs_add_distributed_ddl
add distributed_ddl description, sync EN with RU version
2021-09-19 16:16:35 +03:00
Anton Popov
e3e6258b95
Merge pull request #29163 from CurtizJ/small-refactoring
Slightly better code near reading of subcolumns
2021-09-19 16:14:52 +03:00
Anton Popov
db50a1027e
Merge pull request #29132 from Avogar/fix-avro
Fix segfault in Avro with LowCardinality(Nullable)
2021-09-19 16:13:11 +03:00
mergify[bot]
994d5ae13b
Merge branch 'master' into docs_add_distributed_ddl 2021-09-19 12:25:54 +00:00
tavplubix
81de25d37f
Merge pull request #29165 from ClickHouse/tavplubix-patch-3
Try print stacktraces if server does not respond to `select 1`
2021-09-19 14:05:04 +03:00
Alexander Tokmakov
6bc6ef8f2e fix test 2021-09-19 01:12:11 +03:00
tavplubix
5fdd2b67ee
Update clickhouse-test 2021-09-19 01:05:17 +03:00
mergify[bot]
700c1c4ce0
Merge branch 'master' into docs_add_distributed_ddl 2021-09-18 21:45:46 +00:00
Anton Popov
f50098a059
fix style check 2021-09-19 00:13:00 +03:00
Anton Popov
1c80a95b36 slightly better code near reading of subcolumns 2021-09-18 22:34:54 +03:00
alexey-milovidov
20d8523a2e
Merge pull request #28888 from azat/mysql-in-fix
Fix queries to external databases (i.e. MySQL) with multiple columns in IN ( i.e. `(k,v) IN ((1, 2))` )
2021-09-18 15:53:40 +03:00
alexey-milovidov
e16e8fa286
Update ExpressionElementParsers.cpp 2021-09-18 15:47:57 +03:00
alexey-milovidov
c4b3add859
Update Query.cpp 2021-09-18 15:46:48 +03:00
alexey-milovidov
2a9c6fb9fc
Merge pull request #29153 from azat/test-2010_lc_native-fix
Increase timeout in 2010_lc_native
2021-09-18 15:43:46 +03:00
Dmitriy
816bd7184f Update examples
Упростил примеры.
2021-09-18 15:09:56 +03:00
alexey-milovidov
3eed1f06ea
Merge pull request #28952 from fuzzERot/h3-functions
Implementation of h3ToGeoBoundary
2021-09-18 14:27:11 +03:00
robot-clickhouse
ae808b89d8 Update version_date.tsv after release 21.7.10.4 2021-09-18 11:46:19 +03:00
Azat Khuzhin
7f5f0e364d Increase timeout in 2010_lc_native
10 seconds it not enough [1]:

    2010_lc_native:                                                         [ FAIL ] 15.53 sec. - having stderror:
    Traceback (most recent call last):
      File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 302, in <module>
        main()
      File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 298, in main
        insertLowCardinalityRowWithIndexOverflow()
      File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 259, in insertLowCardinalityRowWithIndexOverflow
        readException(s)
      File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 185, in readException
        assert(readVarUInt(s) == 2)
      File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 65, in readVarUInt
        byte = readStrict(s)[0]
      File "/usr/share/clickhouse-test/queries/0_stateless/2010_lc_native.python", line 34, in readStrict
        cur = s.recv(size)
    socket.timeout: timed out

  [1]: https://clickhouse-test-reports.s3.yandex.net/29060/7f1160c466a968c680d1bc73e0ad5e9419d0b6d0/functional_stateless_tests_(debug).html#fail1

Server log:

    2021.09.17 21:02:53.734388 [ 682 ] {123456} <Trace> ContextAccess (default): Access granted: INSERT(x) ON test_0tmdh4.tab
    2021.09.17 21:03:04.835044 [ 682 ] {123456} <Error> executeQuery: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA) (version 21.11.1.8109) (from [::ffff:127.0.0.1]:59512) (in query: insert into test_0tmdh4.tab format TSV settings input_format_defaults_for_omitted_fields=0), Stack trace (when copying this message, always include the lines below):

And according to trace_log the problem is slow unwind:

    2021-09-17 21:02:55.103893 libunwind::LocalAddressSpace::get32
    2021-09-17 21:02:56.151960 libunwind::LocalAddressSpace::get8
    2021-09-17 21:03:03.168447 libunwind::LocalAddressSpace::getULEB128
2021-09-18 10:53:02 +03:00
Ivan Blinkov
ba3f8f303d
[website] move js around (#29152)
* [website] move js around

* Update base.js
2021-09-18 10:49:15 +03:00
Ivan Blinkov
e18af442d4
[website] maybe fix deploy 2 2021-09-18 02:12:46 +03:00
Kruglov Pavel
9fb73af891
Mark test as no-parallel 2021-09-17 23:54:09 +03:00
Kruglov Pavel
5ab8d5beda
Delete grep 2021-09-17 23:52:28 +03:00
robot-clickhouse
fa261ef19e Update version_date.tsv after release 21.8.6.15 2021-09-17 23:21:18 +03:00
robot-clickhouse
edfe566aee Update version_date.tsv after release 21.9.3.30 2021-09-17 23:16:52 +03:00
tavplubix
749b91347d
Update PostgreSQLDictionarySource.cpp 2021-09-17 22:39:54 +03:00
Alexander Tokmakov
3bca886174 remove some trash 2021-09-17 22:29:10 +03:00
Azat Khuzhin
a613382d48 Cover max_suspicious_broken_parts/max_suspicious_broken_parts_bytes 2021-09-17 22:06:32 +03:00
Azat Khuzhin
b108c5e1b0 Implement max_suspicious_broken_parts_bytes
Usually broken parts are found from just created parts, which are
usually small enough, so it make sense to have a limit in bytes for
broken parts.

Default value was set to 1G.
2021-09-17 22:06:32 +03:00
Ivan Blinkov
e3ee039c48
[website] maybe fix deploy 2021-09-17 20:41:19 +03:00
robot-clickhouse
c26bcf4ae1 Update version_date.tsv after release 21.3.17.2 2021-09-17 20:12:39 +03:00
Dmitriy
2c6d7e479c
Update docs/ru/sql-reference/functions/logical-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-17 19:31:51 +03:00
Dmitriy
6d834ff388
Update docs/ru/sql-reference/functions/logical-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-17 19:31:43 +03:00
Dmitriy
2f0f55a9a0
Update docs/ru/sql-reference/functions/conditional-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-17 19:31:35 +03:00
Dmitriy
6bc67d1144
Update docs/ru/sql-reference/functions/conditional-functions.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-17 19:31:24 +03:00
Dmitriy
86876ef710
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-17 19:31:08 +03:00
Dmitriy
5401606083
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-17 19:30:54 +03:00
Dmitriy
852a05a4fb
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-09-17 19:30:34 +03:00
Maksim Kita
784a4a33e0 Fixed tests 2021-09-17 18:43:00 +03:00
Maksim Kita
85a4d4bb50 Added user defined executable functions to system.functions 2021-09-17 18:43:00 +03:00
Maksim Kita
ca395e9678 Fixed tests 2021-09-17 18:43:00 +03:00
Maksim Kita
ca3fc352d6 Fixed tests 2021-09-17 18:43:00 +03:00
Maksim Kita
581f051f37 Fixed build 2021-09-17 18:43:00 +03:00
Maksim Kita
769fab62e3 UserDefinedExecutableFunction added send_chunk_header option 2021-09-17 18:43:00 +03:00