Commit Graph

24515 Commits

Author SHA1 Message Date
Nikita Vasilev
21577c3395 default 2020-02-01 21:13:43 +03:00
Nikita Vasilev
98e54aaae0 string support fix 2020-02-01 13:12:35 +03:00
Nikita Vasilev
80acedb8be getString 2020-01-29 21:51:09 +03:00
Nikita Vasilev
468b7237b2 strings support 2020-01-28 23:32:41 +03:00
Nikita Vasilev
6803196d93 impr 2020-01-27 22:29:23 +03:00
Nikita Vasilev
bbcba746b2 strings basic 2020-01-26 20:35:39 +03:00
Nikita Vasilev
94b41450e5 fix 2020-01-25 22:23:27 +03:00
Nikita Vasilev
dd25da8cfd Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict 2020-01-20 20:29:50 +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
Nikita Vasilev
de2b39b587 debug 2020-01-19 13:54:36 +03:00
Nikita Vasilev
9bf8044873 fix 2020-01-19 12:51:19 +03:00
Nikita Vasilev
ac7b8400f3 write buffer config 2020-01-19 11:49:40 +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
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
Nikita Vasilev
af1161a8e1 counters 2020-01-18 20:46:00 +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
alexey-milovidov
86a062110d
Merge pull request #8704 from kreuzerkrieg/MoreGCCWarnings
Enable -Wmissing-include-dirs for GCC
2020-01-18 20:12:56 +03:00
Alexey Milovidov
157e6539de Added performance test for bitCount function 2020-01-18 18:50:18 +03:00
alexey-milovidov
0ceed79d4e
Merge pull request #8710 from ClickHouse/ifNotFinite
Added function 'ifNotFinite'
2020-01-18 18:47:22 +03:00
Alexey Milovidov
c0a5c664a9 Replace readline to replxx: docs and corrections 2020-01-18 18:44:08 +03:00
Alexey Milovidov
f7efa5e2c7 Merge branch 'replxx' of https://github.com/abyss7/ClickHouse into abyss7-replxx 2020-01-18 17:00:59 +03:00
Nikita Vasilev
cac20e3c9f fix 2020-01-18 16:21:07 +03:00
Alexey Milovidov
eeea89e0a4 Added test 2020-01-18 16:06:19 +03:00
Alexey Milovidov
71763c9ab6 Fixed error 2020-01-18 16:06:02 +03:00
Nikita Vasilev
1ee46c0690 select * from ssd_dictionary 2020-01-18 14:47:58 +03:00
alexey-milovidov
3fe83a1006
Merge pull request #8708 from ClickHouse/bitCount
Added function bitCount
2020-01-18 14:37:08 +03:00
alexey-milovidov
3e680b59ee
Merge pull request #8709 from ClickHouse/client-clusters-in-suggest
Added cluster names to suggestions in interactive mode in clickhouse-client
2020-01-18 14:36:43 +03:00
alexey-milovidov
3f603b7141
Merge pull request #8711 from ClickHouse/speedup-exception-while-insert-test
Speedup "exception while insert" test
2020-01-18 14:33:32 +03:00