Commit Graph

81995 Commits

Author SHA1 Message Date
Azat Khuzhin
4a9ef3ba76 Use hex char numbers for Ctrl-C/Ctrl-V in 02160_client_autocomplete_parse_query
Since special symbols for Ctrl-C/Ctrl-V are not rendered in github UI,
yes vim renders it, but this does not makes review easier.
2022-01-18 21:03:51 +03:00
Azat Khuzhin
df64b89ce5 Fix 02160_client_autocomplete_parse_query in a more better way
The problem was that "eof" handler had been reseted.
2021-12-28 21:16:20 +03:00
Azat Khuzhin
a656e4c0bd Fix 02160_client_autocomplete_parse_query by waiting for the client to be spawned
expect can be terminated with eof, if the process has not been started
yet, add a while loop to wait until it will be started.
2021-12-28 21:16:20 +03:00
Azat Khuzhin
72dd5a2d2f Fix 02160_client_autocomplete_parse_query
Sad (since I wanted to make the test a little bit cleaner/easier to
understand), but you cannot use send_user in tests, since expect
send_user works only if stdin is a tty, so the following will fail (so
as in CI):

    $ ./tests/clickhouse-test --database default 02160  < /dev/null
    Using queries from '/src/ch/clickhouse-upstream/tests/queries' directory
    Using clickhouse-client as client program (expecting split build)
    Connecting to ClickHouse server... OK

    Running 1 stateless tests (MainProcess).

    02160_client_autocomplete_parse_query:                                  [ FAIL ] - return code: 1
    send: spawn id exp0 not open
        while executing
    "send_user "Completion loaded\n""
        (file "/src/ch/clickhouse-upstream/tests/queries/0_stateless/02160_client_autocomplete_parse_query.expect" line 40)
    , result:

    stdout:

    Database: default
2021-12-28 10:05:14 +03:00
Azat Khuzhin
36c4fc054c Client interactive suggest (extract info from CREATE queries)
This will parse CREATE queries and add the following things to
completion list for clickhouse-client/clickhouse-local:
- table
- database
- columns
2021-12-26 19:10:25 +03:00
Nikolay Degterinsky
02146a11d8
Merge pull request #33995 from cnmade/PF202201261010
Translate zh/faq/general/index
2022-01-27 04:42:49 +03:00
Nikolay Degterinsky
de12521d3f
Merge pull request #33999 from cnmade/PF202201261620
Translate zh/faq/general/mapreduce
2022-01-27 04:41:57 +03:00
alexey-milovidov
85bd87a5a0
Merge pull request #34041 from ClickHouse/authors-in-blog
Add authors in blog
2022-01-27 02:04:21 +03:00
Alexey Milovidov
96348dc7e8 Add authors in blog 2022-01-27 01:18:11 +03:00
Alexey Milovidov
7e0341ddc0 Update year 2022-01-27 01:01:27 +03:00
Maksim Kita
10cba358cf
Merge pull request #33952 from grant88/patch-1
Update user.md
2022-01-26 22:29:14 +01:00
alexey-milovidov
58b2bbe868
Merge pull request #34040 from ClickHouse/rfraposa-patch-1
Rich's feedback
2022-01-27 00:27:27 +03:00
alexey-milovidov
2c8d722709
Update clickhouse-v22.1-released.md 2022-01-27 00:26:34 +03:00
alexey-milovidov
766ec93ec1
Merge pull request #34039 from ClickHouse/blog-post-22.1
Add blog post for 22.1
2022-01-27 00:25:09 +03:00
Rich Raposa
9ca0acef9e
Rich's feedback 2022-01-26 14:18:16 -07:00
Alexey Milovidov
8d947daa06 Add blog post for 22.1 2022-01-26 23:58:30 +03:00
Alexey Milovidov
fb02786084 Add blog post for 22.1 2022-01-26 23:49:33 +03:00
Alexey Milovidov
5537e64e94 Add blog post for 22.1 2022-01-26 23:46:45 +03:00
Alexey Milovidov
dedbd2242e Add blog post for 22.1 2022-01-26 23:45:18 +03:00
Mikhail f. Shiryaev
662444fe13
Merge pull request #33963 from pkit/fix_chown_squash
docker: fix root squashed data dirs
2022-01-26 16:13:38 +01:00
alesapin
289a51b61d
Merge pull request #33905 from zhongyuankai/fix_same_disk_path
Fix disk using the same path
2022-01-26 17:38:08 +03:00
Constantine Peresypkin
f5787ff0a9 docker: fix root squashed data dirs
if we use some root squashed volume mappings in docker
uid=0 is actually uid=nobody
thus FS operations with uid=0 will fail miserably
and overall it's a strange idea to create dirs under root when
DO_NOT_CHOWN is in effect...
2022-01-26 14:29:27 +02:00
Kruglov Pavel
662ea9d024
Merge pull request #33927 from kitaisreal/range-hashed-dictionary-refactoring
RangeHashedDictionary refactoring
2022-01-26 15:26:57 +03:00
mergify[bot]
1c0af06011
Merge branch 'master' into PF202201261620 2022-01-26 08:32:38 +00:00
cnmade
532c3b98ef Translate zh/faq/general/mapreduce: translate adjust 2022-01-26 16:30:30 +08:00
tavplubix
9e91a9dfd1
Merge pull request #33429 from zzsmdfj/MaterializeMySQL_support_set_and_other_dataType
MaterializeMySQL support SET YEAR TIME GEOMETRY dataType
2022-01-26 11:29:46 +03:00
cnmade
f8b3f76104 Translate zh/faq/general/mapreduce: remove bak file 2022-01-26 16:27:42 +08:00
cnmade
bb1760537b Translate zh/faq/general/mapreduce: translate to zh 2022-01-26 16:27:14 +08:00
cnmade
57658a1654 Translate zh/faq/general/mapreduce: reimport file 2022-01-26 16:22:03 +08:00
cnmade
fa894f4041 Translate zh/faq/general/mapreduce: remove bak 2022-01-26 16:21:06 +08:00
mergify[bot]
d6c9c61cff
Merge branch 'master' into PF202201261010 2022-01-26 08:11:15 +00:00
alesapin
677a7f1133
Merge pull request #33990 from ClickHouse/cancel-lambda
Cancel lambda
2022-01-26 10:51:21 +03:00
cnmade
56939cedfb Translate zh/faq/general/index: remove bak 2022-01-26 10:16:24 +08:00
cnmade
2136a33733 Translate zh/faq/general/index: translate to zh 2022-01-26 10:15:59 +08:00
cnmade
c689dec7ad Translate zh/faq/general/index: reimport file 2022-01-26 10:05:21 +08:00
cnmade
dc52dc2f45 Translate zh/faq/general/index: rename old to bak 2022-01-26 10:03:23 +08:00
Maksim Kita
43604a2e8f Fixed tests 2022-01-25 21:56:29 +00:00
Maksim Kita
bf768a94e8
Merge pull request #33971 from Avogar/fix-ipv6
Fix parsing IPv6 from query parameter and fix IPv6 to string conversion
2022-01-25 22:45:11 +01:00
Maksim Kita
2c7a5e4d4e
Merge pull request #33967 from cnmade/PF202201250933
Translate to zh: use-case/time-serial: remove bak file
2022-01-25 22:24:23 +01:00
alesapin
0105f7e0bc
Merge pull request #33988 from ClickHouse/keeper_and_access
Fix clickhouse server start when replicated access storage depend on keeper
2022-01-25 22:54:43 +03:00
alexey-milovidov
0d6032f0fe
Merge pull request #33962 from ClickHouse/cpp-expr-script
add c++expr script for C++ one-liners
2022-01-25 22:50:18 +03:00
mergify[bot]
00d728a9d2
Merge branch 'master' into PF202201250933 2022-01-25 18:56:50 +00:00
Mikhail f. Shiryaev
62ddfbe4ab
Use workflow names instead of ID 2022-01-25 18:32:13 +01:00
Mikhail f. Shiryaev
604af8d3b8
Apply black to cancel lambda 2022-01-25 18:28:17 +01:00
Maksim Kita
0cc8b9462b
Merge pull request #33977 from vitlibar/fix-checking-access-for-system-command
Fix checking access for the SYSTEM command.
2022-01-25 17:07:36 +01:00
tavplubix
9f1da9b8b8
Update MaterializedMySQLSyncThread.cpp 2022-01-25 17:25:34 +03:00
Maksim Kita
4507f883e6
Merge pull request #33976 from azat/fix-00985_merge_stack_overflow
Disable parallel run for 00985_merge_stack_overflow
2022-01-25 15:12:47 +01:00
tavplubix
35534a4b92
Update Types.h 2022-01-25 16:42:55 +03:00
alesapin
b8c6481d4c Fix clickhouse server start when replicated access storage depend on keeper 2022-01-25 16:40:12 +03:00
Vitaly Baranov
cc38fe3fb6 Fix checking access for the SYSTEM command. 2022-01-25 18:54:59 +07:00