Commit Graph

24511 Commits

Author SHA1 Message Date
Pavel Kovalenko
abfacdaadc SeekableReadBuffer refactoring.
Store size and multiple references for S3 metadata file.
Log engine support for S3.
2020-01-27 21:44:30 +03:00
Pavel Kovalenko
dce424fe11 SeekableReadBuffer initial implementation. IDisk readFile should return SeekableBuffer. 2020-01-22 19:17:25 +03:00
Nikolai Kochetov
c28e224e24
Merge pull request #8735 from ClickHouse/processors-5.12
Processors 5.12
2020-01-21 11:51:07 +03:00
Nikolai Kochetov
d9738bb88e Disable processors by default. 2020-01-21 11:50:43 +03:00
alexey-milovidov
2a1fb20c27
Merge pull request #8720 from ClickHouse/GrigoryPervakov-vfs-s3
Merging DiskS3
2020-01-21 02:06:41 +03:00
alexey-milovidov
c4e2d71b48
Merge pull request #8749 from ikopylov/function-bitCount-Int16-Int8-perf
bitCount performance: special handling for Int16 and Int8
2020-01-21 00:12:34 +03:00
Alexey Milovidov
e4ff88a604 Added a test from Zlobober #5610 2020-01-20 22:43:57 +03:00
alexey-milovidov
9f550fc97f
Merge pull request #8744 from filimonov/test_for_incremental_filling_with_feedback
Test for incremental filling with feedback
2020-01-20 22:03:29 +03:00
Nikolai Kochetov
ccb124ebdf Update SortingTransform. 2020-01-20 19:48:15 +03:00
ikopylov
f5f36f0199
bitCount performance: special handling for Int16 and Int8 2020-01-20 19:36:03 +03:00
Alexey Milovidov
856962b290 Fixed test 2020-01-20 19:33:43 +03:00
Alexey Milovidov
24a8bfe096 Minor improvements 2020-01-20 18:57:13 +03:00
Mikhail Filimonov
bfb448b209 Test for incremental filling from 2 sources with feedback 2020-01-20 14:04:16 +01:00
Alexey Milovidov
d547c23300 Minor modification 2020-01-20 15:58:55 +03:00
Alexey Milovidov
09f3890b20 Merge branch 'master' into GrigoryPervakov-vfs-s3 2020-01-20 15:39:15 +03:00
Nikolai Kochetov
76171c7afc Do not add resize transform for SystemNumbers. 2020-01-20 10:24:28 +03:00
Nikolai Kochetov
cd369bea4e Do not add resize transform for SystemNumbers. 2020-01-19 23:05:01 +03:00
Alexey Milovidov
d159570309 Added a test for fun 2020-01-19 22:09:03 +03:00
alexey-milovidov
9e1ab408f6
Merge pull request #8728 from Akazz/fixing_ternary_logic_for_batches
A followup to #8718: Simpler and faster code in logical functions
2020-01-19 16:22:30 +03:00
alexey-milovidov
c2e95c008e
Merge pull request #8724 from yurriy/less-mysql-logging
Proper logging levels in MySQL compatibility server
2020-01-19 16:19:30 +03:00
Alexey Milovidov
98d393c957 Fixed LineReader 2020-01-19 15:26:49 +03:00
alexey-milovidov
9fa877341b
Merge pull request #8719 from ClickHouse/bitCount-improve-performance
Reasonable performance for function bitCount
2020-01-19 15:23:32 +03:00
Azat Khuzhin
cbebb94f25 Fix ryu_test compilation (missing <cstring> for memcpy) with libstdc++
libc++ has <cstring> in <string> while libstdc++ does not:

  $ fgrep -r '#include <cstring>' /usr/include/c++/v1/
  /usr/bin/../include/c++/v1/vector:#include <cstring>
  /usr/bin/../include/c++/v1/ext/__hash:#include <cstring>
  /usr/bin/../include/c++/v1/memory:#include <cstring>
  /usr/bin/../include/c++/v1/algorithm:#include <cstring>
  /usr/bin/../include/c++/v1/string:#include <cstring>
  /usr/bin/../include/c++/v1/utility:#include <cstring>

  $ fgrep -r '#include <cstring>' /usr/include/c++/9.2.0/
  /usr/include/c++/9.2.0/experimental/buffer:#include <cstring>
  /usr/include/c++/9.2.0/regex:#include <cstring>
  /usr/include/c++/9.2.0/x86_64-pc-linux-gnu/bits/stdc++.h:#include <cstring>
  /usr/include/c++/9.2.0/x86_64-pc-linux-gnu/32/bits/stdc++.h:#include <cstring>

  $ clang++ -stdlib=libc++ -o /dev/null -c /tmp/test.cpp
  /tmp/test.cpp:7:30: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
          return memcpy(0, 0, 0);
                        ~      ^
  /tmp/test.cpp:7:30: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
          return memcpy(0, 0, 0);
                           ~   ^
  2 warnings generated.

  $ clang++ -o /dev/null -c /tmp/test.cpp
  /tmp/test.cpp:7:16: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
          return memcpy(0, 0, 0);
                 ^~~~~~
                 wmemcpy
  /usr/include/wchar.h:262:17: note: 'wmemcpy' declared here
  extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
                  ^
  1 error generated.
2020-01-19 14:14:41 +03:00
Nikolai Kochetov
4523f9b2f9
Update ResizeProcessor.cpp
remove comment
2020-01-19 10:11:21 +03:00
Alexander Kazakov
bffd66fcba More effective code + some cleanup 2020-01-19 09:22:01 +03:00
Alexander Kazakov
3b6499cce9 Made code in OperationApplier more generic 2020-01-19 09:07:30 +03:00
alexey-milovidov
c711ce500b
Merge pull request #8422 from excitoon-favorites/bettertestalterttl
Fixed `ALTER MODIFY TTL`
2020-01-19 04:53:11 +03:00
alexey-milovidov
36a7a40a08
Merge pull request #8718 from Akazz/fixing_ternary_logic_for_batches
Fixed ternary logic (OR/AND/XOR) calculation in multiple batches
2020-01-19 04:49:04 +03:00
Yuriy
6f4431b79f proper logging levels 2020-01-19 01:19:06 +00:00
Alexey Milovidov
db1bb630e0 Fixed configuration of replxx 2020-01-19 03:23:35 +03:00
Alexey Milovidov
47f6156ad8 Correct configuration of replxx 2020-01-19 03:01:49 +03:00
Alexey Milovidov
6eef7de47f Removed questionable code 2020-01-19 02:42:46 +03:00
Alexey Milovidov
2d39e5ad8c Merging DiskS3 2020-01-19 02:18:23 +03:00
Alexey Milovidov
4da00994d1 Merging DiskS3 2020-01-19 01:17:48 +03:00
Alexey Milovidov
ae7b9a652b Merge branch 'vfs-s3' of https://github.com/GrigoryPervakov/ClickHouse into GrigoryPervakov-vfs-s3 2020-01-19 01:12:05 +03:00
alexey-milovidov
530e7e381a
Update DiskMemory.cpp 2020-01-19 01:07:03 +03:00
alexey-milovidov
feabcf53cb
Update DiskMemory.cpp 2020-01-19 01:05:37 +03:00
alexey-milovidov
7583f8744a
Merge branch 'master' into bettertestalterttl 2020-01-19 01:03:25 +03:00
Alexey Milovidov
28ad3b46da Reasonable performance for function bitCount 2020-01-19 00:59:07 +03:00
alexey-milovidov
93887371f3
Merge pull request #8716 from ClickHouse/bitCount-perf-test
Added performance test for bitCount function
2020-01-19 00:05:57 +03:00
Alexander Kazakov
be091a5133 Tiny optimization 2020-01-19 00:03:45 +03:00
Alexander Kazakov
f29db2ed68 Fixed problem with calculating ternary logic OPs in multiple batches 2020-01-19 00:02:43 +03:00
Alexander Kazakov
b2fd151dd0 More stable XorImpl code for XOR 2020-01-18 23:49:12 +03:00
Alexander Kazakov
0f22b5ec85 Fixed "newlines" 2020-01-18 23:45:41 +03:00
Alexander Kazakov
5fb75b3b9e Added tests for batched logical OPs 2020-01-18 23:35:12 +03:00
Alexey Milovidov
f9e1f25189 Added comment to DiskMemory 2020-01-18 22:15:21 +03:00
alexey-milovidov
2ba89d169e
Merge branch 'master' into readline-to-replxx-docs-and-corrections 2020-01-18 20:58:24 +03:00
alexey-milovidov
52e8252653
Merge pull request #8650 from ClickHouse/remove_istorage_weak_ptr
Get rid of StorageWeakPtr
2020-01-18 20:28:53 +03:00
alexey-milovidov
3f3a9e69b0
Merge pull request #8672 from excitoon/patch-7
Fixed `MergeTreeData::areBackgroundMovesNeeded` according to move TTL feature
2020-01-18 20:20:00 +03:00
alexey-milovidov
85f395a8ee
Merge pull request #8680 from excitoon-favorites/criticalbugwithmove
Fixed a bug with double move which corrupt original part
2020-01-18 20:19:03 +03:00