Commit Graph

18645 Commits

Author SHA1 Message Date
Nikolai Kochetov
4a4de82648 Merged with master 2020-01-23 18:44:26 +03:00
Ivan
b80e3dcd46
Refactoring of replxx (#8748) 2020-01-23 11:18:19 +03:00
alexey-milovidov
2e849490bc
Merge pull request #8770 from millb/query_log
Created column exception_code in query_log table
2020-01-23 06:01:48 +03:00
tavplubix
8cfe9a4d66
Update ParsedTemplateFormatString.cpp 2020-01-22 23:09:23 +03:00
tavplubix
c00636bfa7
Update ParsedTemplateFormatString.cpp 2020-01-22 22:23:59 +03:00
Alexander Kuzmenkov
55be790199 Do not crash if the row template file is empty. 2020-01-22 21:27:09 +03:00
Mikhail Korotov
d68f8d1f8e
Update QueryLog.h 2020-01-22 16:58:36 +03:00
alexey-milovidov
c683c77633
Merge pull request #8768 from ClickHouse/processors-default
Enable Processors
2020-01-22 16:55:52 +03:00
millb
6fc7a827f6 Fixed bug with empty exception 2020-01-22 16:52:26 +03:00
millb
6cd6b4d3b2 exception_code is changed 2020-01-22 15:29:30 +03:00
Artem Zuikov
289f16978f
Merge pull request #8764 from 4ertus2/bugs
Fix toDecimalOrNull() with exception inside
2020-01-22 14:18:34 +03:00
alesapin
0d484be01a
Merge pull request #8767 from ClickHouse/aku/null-format
Fix sending no data to client with Null format.
2020-01-22 13:06:16 +03:00
Nikolai Kochetov
47ffa40f99
Merge pull request #8766 from vzakaznikov/issue_7878
Fix issue #7878
2020-01-22 12:54:59 +03:00
millb
4cffb62b41 Created exception_code column in query_log table 2020-01-21 22:49:42 +03:00
Alexey Milovidov
5d33bedf80 Whitespace 2020-01-21 22:18:40 +03:00
alexey-milovidov
5e7f80c664
Merge pull request #8760 from kreuzerkrieg/GCCSuggestOverride
Add GCC warning to suggest virtual function override
2020-01-21 22:12:26 +03:00
Alexey Milovidov
de5da5db2e Enable Processors 2020-01-21 21:12:45 +03:00
chertus
69fee6812b variant without catch 2020-01-21 21:04:22 +03:00
Alexander Kuzmenkov
c7b94c70e8 Fix sending no data to client with Null format.
Looks like before it could only work accidentally due to some mighty
NRVO.
2020-01-21 20:48:08 +03:00
alesapin
bef1eaeb98
Merge pull request #8753 from ClickHouse/fix_database_memory_wrong_data_path
Fix wrong data path in DatabaseMemory
2020-01-21 20:21:10 +03:00
Vitaliy Zakaznikov
507609b611 Fixing styling issues. 2020-01-21 11:18:41 -05:00
Vitaliy Zakaznikov
b2bfa6f938 Removing code used for debugging. 2020-01-21 17:11:21 +01:00
Vitaliy Zakaznikov
1b5f6e37cb First attempt to fix issue https://github.com/ClickHouse/ClickHouse/issues/7878 2020-01-21 17:02:40 +01:00
chertus
cc5fc0a825 fix toDecimalOrNull with exception inside 2020-01-21 16:24:54 +03:00
Alexander Tokmakov
cdfc17e9b1 check path in constructor 2020-01-21 14:11:11 +03:00
kreuzerkrieg
a256741cf9 Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02: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
Alexander Tokmakov
05c4405b65 fix 2020-01-20 23:08:47 +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
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
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
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
6eef7de47f Removed questionable code 2020-01-19 02:42:46 +03:00