Commit Graph

64183 Commits

Author SHA1 Message Date
robot-clickhouse
cd2417aa03 Update version_date.tsv after release 21.3.11.5 2021-05-16 16:07:06 +03:00
Nikolai Kochetov
2057b98322
Update 01710_projection_fetch.sql 2021-05-16 13:48:07 +03:00
Azat Khuzhin
d768a2ac71 Add a test for Buffer flush before shutdown 2021-05-16 13:28:35 +03:00
Azat Khuzhin
5a8d61954a Call IStorage::flush() for each table on DETACH DATABASE before shutdown 2021-05-16 13:28:35 +03:00
Azat Khuzhin
23981ffd0e Introduce IStorage::flushAndShutdown() 2021-05-16 13:23:53 +03:00
Azat Khuzhin
f20799f683 Destroy Buffer() tables before others (within one database)
This will reduce amount of data that may be lost at shutdown.

v2: replace dynamic_cast with IStorage::isBuffer (@kitaisreal)
v3: replace IStorage::isBuffer with IStorage::flush (@alexey-milovidov)
v4: flush() for StorageProxy/StorageTableFunction
2021-05-16 13:23:53 +03:00
Amos Bird
e5cd597111
Fix add projection to replicated mergetree 2021-05-16 16:49:38 +08:00
Maksim Kita
1a8ce039b4
Merge pull request #24160 from fuzhe1989/patch-1
Fix typo in decimal.md
2021-05-16 11:42:31 +03:00
Maksim Kita
85ad25be04
Merge pull request #24161 from pleiadesian/patch-1
Fix typo in adding_test_queries.md
2021-05-16 11:41:39 +03:00
Maksim Kita
af1eaea3e5
Merge pull request #24147 from amosbird/simdjsonfix
Bump simdjson to fix crash when alloc fails
2021-05-16 11:40:02 +03:00
wzl
025d65b143 Fix typo in adding_test_queries.md 2021-05-16 15:40:44 +08:00
Fu Zhe
ee52c2d371
Fix typo in decimal.md 2021-05-16 13:52:32 +08:00
Nikolai Kochetov
093b7e120a
Merge pull request #24062 from amosbird/projection-fix1
Fix empty key projection query analysis
2021-05-16 07:37:03 +03:00
Maksim Kita
196ca14c3a
Merge pull request #24150 from azat/whitespaces
Fix a few trailing whitespaces in output
2021-05-15 22:39:16 +03:00
Maksim Kita
947f28d430 IFunction refactoring 2021-05-15 20:33:15 +03:00
Kseniia Sumarokova
99e2f83c69
Merge pull request #23548 from ucasFL/table-comment
Implement table comments
2021-05-15 19:56:16 +03:00
alesapin
bae419be36 Fix typo 2021-05-15 18:29:07 +03:00
Maksim Kita
3dd7401985
Merge pull request #23412 from godliness/fix-kafka-with-parquet
Fix kafka storage does not work with parquet format messages
2021-05-15 18:15:58 +03:00
alesapin
852608c937 Don't abort on Auth request 2021-05-15 18:01:00 +03:00
alesapin
83627de2b8 Merge branch 'master' into standalone_keeper 2021-05-15 17:15:06 +03:00
alexey-milovidov
a9a66f6572
Merge pull request #24139 from Algunenano/aiotest_fix_tmpfs
TestReadAfterAIO: Use the current path instead of /tmp for temporal files
2021-05-15 17:04:41 +03:00
alexey-milovidov
3695eb9c90
Merge pull request #24135 from Algunenano/zstd_1.5.0
Update zstd to v1.5.0
2021-05-15 17:04:30 +03:00
Azat Khuzhin
1cdeafe473 Remove superfluous trailing whitespace in Markdown format 2021-05-15 16:08:17 +03:00
Azat Khuzhin
5b668fc351 Remove trailing whitespace for Processed client message 2021-05-15 16:07:54 +03:00
alesapin
33e9f1bcf1 Better tests 2021-05-15 15:33:01 +03:00
Azat Khuzhin
a44ddd2064 Update distributed_group_by_no_merge description 2021-05-15 15:03:13 +03:00
alexey-milovidov
32a96779f5
Merge pull request #24144 from oxidecomputer/master
Update submodules for building on illumos
2021-05-15 14:32:54 +03:00
Kseniia Sumarokova
6bcc99e5e6
Whitespace 2021-05-15 10:56:46 +03:00
Kseniia Sumarokova
9e65f376cc
Fix PVS check 2021-05-15 10:05:31 +03:00
Amos Bird
fe6a956499
bump simdjson to fix crash when alloc fails 2021-05-15 14:15:51 +08:00
Kseniia Sumarokova
1d73cd6406
Fix PVS check 2021-05-15 09:05:27 +03:00
Anna
b9f3321270
Update docs/ru/operations/settings/merge-tree-settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:40:18 +03:00
Anna
2b05303d7d
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:40:08 +03:00
Anna
a0c0723c3d
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:39:58 +03:00
Anna
aea177ea42
Update docs/ru/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:39:46 +03:00
Anna
73c7552add
Update docs/ru/operations/settings/merge-tree-settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:39:38 +03:00
Anna
20ef8e8bf2
Update docs/ru/operations/settings/merge-tree-settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-05-15 06:39:29 +03:00
Benjamin Naecker
3252228852 Updates submodules bringing in several upstream changes to build on
illumos
2021-05-14 19:38:36 -07:00
Raúl Marín
e358a0963c Clearer code based on review 2021-05-15 03:03:38 +02:00
Raúl Marín
0ddfc3df84 TestReadAfterAIO: Use the local path instead of /tmp for temporal files
/tmp might be mounted as tmpfs (default in ArchLinux) which is incompatible with
O_DIRECT (https://lore.kernel.org/lkml/459D290B.1040703@tmr.com/t/), making the
test fail:

```
[ RUN      ] ReadBufferAIOTest.TestReadAfterAIO
unknown file: Failure
C++ exception with description "Cannot open file /tmp/filei6ZsCa/foo, errno: 22, strerror: Invalid argument" thrown in the test body.
[  FAILED  ] ReadBufferAIOTest.TestReadAfterAIO (0 ms)
```

Instead create the tmp folder in the local path and delete it at the end
2021-05-15 02:13:51 +02:00
Raúl Marín
5d2778dd2d Update zstd to v1.5.0 2021-05-15 00:57:24 +02:00
Maksim Kita
e785029ead
Merge pull request #24116 from hexiaoting/dev_explain
Fix bug for explain pipeline
2021-05-15 01:41:27 +03:00
Nikita Mikhaylov
fa3ac3d7d2
Merge pull request #24133 from nikitamikhaylov/fix-arcadia-6
Fix arcadia
2021-05-15 00:29:18 +03:00
Nikita Mikhaylov
d174afae5a better 2021-05-15 00:28:22 +03:00
Nikita Mikhaylov
703bd2aeb6 done 2021-05-15 00:25:12 +03:00
Nikita Mikhaylov
6028eb1c88 done 2021-05-15 00:17:00 +03:00
mergify[bot]
d31021ea4f
Merge branch 'master' into fix-kafka-with-parquet 2021-05-14 21:10:12 +00:00
Maksim Kita
6c334800c3 Disable broken test 2021-05-15 00:03:26 +03:00
Maksim Kita
0b4b5eb808 FunctionComparison remove constant result for non constant arguments optimization 2021-05-15 00:03:26 +03:00
Maksim Kita
18894005ac Update ExpressionJIT.cpp 2021-05-15 00:03:26 +03:00