Alexander Kuzmenkov
bd33bf8f96
Don't copy aggregate function states with memcpy.
...
They may contain pointers to themselves, such as when using
PODArrayWithStackMemory. Instead, initialize empty new structures
with `create`, and merge the old one to it with `merge`.
2019-07-02 20:48:00 +03:00
Alexander Kuzmenkov
f6ee2ea4e4
Add asan integration to arenas.
2019-07-02 20:48:00 +03:00
Alexey Milovidov
ffaaf93c49
Compatibility with old compiler (gcc-7)
2019-07-02 20:24:22 +03:00
chertus
207145025c
Join.h refactoring: extract joinDispatch into own file
2019-07-02 17:38:31 +03:00
alexey-milovidov
1bda6994ad
Merge pull request #5832 from yandex/fix_low_cardinality_check
...
Fix low cardinality check
2019-07-02 17:06:06 +03:00
chertus
8932dc9c23
minpr perf improvement
2019-07-02 15:31:20 +03:00
chertus
d1250e6042
fix build
2019-07-02 15:01:39 +03:00
alesapin
cbb0d640f4
Add comments
2019-07-02 14:34:16 +03:00
alesapin
f68b5216a8
Fix prefix reading and skip check for low cardinality dictionary
2019-07-02 13:55:47 +03:00
alexey-milovidov
aea3fc661a
Merge pull request #5824 from Enmk/double_delta_fix
...
Fixed DoubleDelta codec edge case
2019-07-02 12:52:40 +03:00
Vasily Nemkov
c5b2ba2a25
Fixed DoubleDelta codec edge case
...
Casused by mistreating negative double delta value as HUGE unsigned value, crippling compression ratio.
2019-07-02 07:58:03 +03:00
alexey-milovidov
28ae9f9044
Merge pull request #4828 from laplab/update_libunwind
...
switch to llvm libunwind
2019-07-02 02:34:01 +03:00
Nikita Lapkov
5286ab97fd
refactor and comments
2019-07-01 22:11:11 +00:00
Nikita Lapkov
9641d058d0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-07-01 21:11:26 +00:00
alexey-milovidov
6890c5e3b3
Merge pull request #5822 from yandex/fix-build-gcc9
...
fix build on macosx and gcc9
2019-07-01 23:16:11 +03:00
alexey-milovidov
c43dfce041
Merge pull request #5382 from abyss7/issue-5286
...
Add virtual columns to Kafka Engine tables
2019-07-01 21:30:09 +03:00
alexey-milovidov
bf8c154d3d
Merge pull request #5819 from CurtizJ/fix-segfault-ttl
...
Fix segfault in TTL merge with non-physical columns in block.
2019-07-01 20:28:26 +03:00
filimonov
c5492e59f1
more accidental spaces
2019-07-01 17:01:10 +02:00
filimonov
051a9ae492
remove accidental spaces
2019-07-01 16:44:45 +02:00
filimonov
2627dec804
fix build on macosx and gcc9
2019-07-01 16:42:05 +02:00
CurtizJ
ecf9feab9c
remove extra semicolon
2019-07-01 17:09:22 +03:00
Alexey Milovidov
cb8be105d5
Added missing implementations of IColumn::getFloat64, IColumn::getBool
2019-07-01 16:49:50 +03:00
chertus
13fa9a07e5
Merge branch 'master' into t64
2019-07-01 16:40:32 +03:00
chertus
37b7ff7a0a
fix maning, add comment
2019-07-01 16:35:04 +03:00
CurtizJ
c0a63801fc
fix segfault in ttl merge with non-physical columns in block
2019-07-01 15:50:50 +03:00
chertus
5df4ad0f28
Merge branch 'master' into bugs
2019-07-01 14:49:01 +03:00
chertus
0c634129da
add IColumn.isNullable()
2019-07-01 14:44:19 +03:00
alexey-milovidov
106a2d0c0f
Merge pull request #4930 from yandex/tsan-miscellaneous
...
Miscellaneous changes
2019-07-01 11:11:53 +03:00
Yuriy
450b20ca89
max_memory_usage support in MySQL wire protocol
2019-07-01 08:58:31 +03:00
alexey-milovidov
5fb7bf6854
Update ParallelInputsProcessor.h
2019-07-01 03:15:14 +03:00
alexey-milovidov
c108882c5f
Merge pull request #5805 from yandex/BHYCHIK-h3-integration
...
Merge H3 integration
2019-07-01 01:02:16 +03:00
alexey-milovidov
a9cfe4ce91
Merge pull request #5807 from yandex/ngramSearch
...
Inverting ngramSearch to be more intuitive
2019-07-01 00:43:17 +03:00
Alexey Milovidov
fd2f90488e
Simplification
2019-06-30 23:54:06 +03:00
Alexey Milovidov
6eae511b6e
Changed order of (lat, lon) to (lon, lat) to be consistent with "greatCircleDistance" function and PostGIS
2019-06-30 23:13:32 +03:00
Maxim Sabyanin
663aab6f5b
complete ExternalLoader method's implementations
2019-06-30 23:04:21 +03:00
Alexey Milovidov
7591c3b7b2
Fixed error
2019-06-30 22:47:20 +03:00
Alexey Milovidov
7c98327e4d
Fixed error
2019-06-30 22:46:23 +03:00
Alexey Milovidov
86093a474f
Fixed error
2019-06-30 22:45:23 +03:00
Danila Kutenin
9127c8b27c
inverting ngramSearch to be more intuitive
2019-06-30 22:34:17 +03:00
Alexey Milovidov
a7fc631de7
Style
2019-06-30 21:55:08 +03:00
Alexey Milovidov
1777313821
Own CMakeLists for H3 because otherwise "m" library does not link correctly
2019-06-30 21:49:57 +03:00
Alexey Milovidov
008f3a247e
Merging H3 integration
2019-06-30 21:20:32 +03:00
Alexey Milovidov
b86aca37ea
Merge branch 'h3-integration' of https://github.com/BHYCHIK/ClickHouse into BHYCHIK-h3-integration
2019-06-30 19:15:33 +03:00
Alexey Milovidov
33cff5ee0f
Merge remote-tracking branch 'origin/master' into sanych73-prepared_statements
2019-06-30 17:24:15 +03:00
alexey-milovidov
feafcb21bd
Merge branch 'master' into h3-integration
2019-06-30 16:19:11 +03:00
proller
a69990ce27
CLICKHOUSE-4514 Unique query_id among all users ( #5430 )
...
* CLICKHOUSE-4514 Unique query_id among all users
* try 1
* Fix
* fix
* use condvar
* fix style
* Update ProcessList.cpp
2019-06-30 16:17:27 +03:00
alexey-milovidov
18535590ce
Merge pull request #5802 from CurtizJ/upstream/systemlog-flushing
...
Fix shutdown of SystemLogs
2019-06-30 15:51:35 +03:00
Alexey Milovidov
6ad07172ee
Fixed error in query formatting
2019-06-30 15:49:06 +03:00
CurtizJ
1a8695ffd9
fix shutdown of system_logs
2019-06-30 04:56:16 +03:00
Alexey Milovidov
725bcd9d02
Merge branch 'master' into sanych73-prepared_statements
2019-06-30 02:59:37 +03:00
Alexey Milovidov
f25b96bed2
Moved a few tests to gtest
2019-06-30 02:23:53 +03:00
Alexey Milovidov
b76d5a7cf0
Added a test (not gtest though)
2019-06-30 01:45:57 +03:00
Alexey Milovidov
299607a301
ThreadPool: more informative error message if exception is thrown before we schedule a next thread #5305
2019-06-30 01:37:46 +03:00
Alexey Milovidov
c7e70df5fc
Fixed error with formatting aliases
2019-06-29 21:59:07 +03:00
Alexey Milovidov
88fc72f0b9
Merge branch 'feature/bloom_filter' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/bloom_filter
2019-06-29 20:44:11 +03:00
alexey-milovidov
87993de98d
Merge pull request #5725 from yandex/PerformanceVision-ignore_scheme
...
Performance vision ignore scheme
2019-06-29 20:36:23 +03:00
Alexey Milovidov
90898905e0
Allow to DROP database with Dictionary engine
2019-06-29 20:27:32 +03:00
Alexey Milovidov
de8a15b5f4
Removed unused method
2019-06-29 20:19:46 +03:00
Alexey Milovidov
498a2072b5
Fixed bug in query formatting with TEMPORARY tables
2019-06-29 19:58:32 +03:00
Alexey Milovidov
6566bb7088
Updated tests
2019-06-29 19:18:59 +03:00
Alexey Milovidov
a8e1c8a7d2
Fixed formatting of invalid queries with ambiguous aliases
2019-06-29 19:13:28 +03:00
Alexey Milovidov
6ff0a88eb3
Fixed minor issue in query formatting
2019-06-29 18:26:19 +03:00
Alexey Milovidov
a643f2f75e
Merge branch 'master' into sanych73-prepared_statements
2019-06-29 15:51:56 +03:00
alexey-milovidov
fe542e26f8
Merge pull request #5685 from CurtizJ/upstream/systemlog-flushing
...
Fix race condition in flushing system log in another way.
2019-06-29 15:46:22 +03:00
alexey-milovidov
a0d3db8d9b
Merge pull request #5787 from yandex/aku/podarray-bytes
...
Fix initial size of some inline PODArray's.
2019-06-29 15:34:00 +03:00
alexey-milovidov
7474abfea6
Merge pull request #5791 from yandex/aku/store-explicit
...
Require explicit type in unalignedStore
2019-06-29 15:33:38 +03:00
Danila Kutenin
614ec98a42
Fix runtime of SPLIT_SHARED_LIBRARIES build
2019-06-28 21:26:24 +03:00
Nikita Lapkov
2a131185b0
Merge remote-tracking branch 'upstream/master' into update_libunwind
2019-06-28 18:20:23 +00:00
Nikita Lapkov
f8d2b5effd
introduce Backtrace class
2019-06-28 18:06:38 +00:00
Alexander Kuzmenkov
0116c10e41
Require explicit type in unalignedStore
...
This is a follow-up to PR #5786 , which fixed a segfault caused by
an unexpected deduced type for unalignedStore. To prevent future errors
of this kind, require a caller to specify the stored type explicitly.
2019-06-28 20:33:14 +03:00
Alexander Kuzmenkov
a719933c58
Fix initial size of some inline PODArray's.
...
A template parameter of PODArray named INITIAL_SIZE didn't make its
units clear, which made some callers to erroneously assume that it
specifies the number of elements and not the number of bytes.
Rename it, fix the wrong usages and, where possible, use the
PODArrayWithStackMemory typedef for arrays with inline memory.
2019-06-28 16:03:14 +03:00
alexey-milovidov
18659e367e
Merge pull request #5758 from zlobober/bool_masks
...
Extend KeyCondition interface so that it returns BoolMask.
2019-06-28 14:51:52 +03:00
alexey-milovidov
b9cbd36487
Merge pull request #5750 from hczhcz/patch-7
...
Refactor: Improve function registering
2019-06-28 14:50:38 +03:00
alexey-milovidov
1327342040
Merge pull request #5764 from hczhcz/patch-8
...
Add synonim arrayFlatten <-> flatten
2019-06-28 14:49:05 +03:00
alexey-milovidov
6e77fc4abe
Merge pull request #5775 from yandex/lfalloc2mimalloc
...
Use mimalloc instead of lfallocator
2019-06-28 14:48:18 +03:00
alexey-milovidov
8b93f086aa
Merge pull request #5777 from proller/fix27
...
Move file Functions/array/empty.cpp -> Functions/empty.cpp
2019-06-28 14:47:12 +03:00
alexey-milovidov
72b0bdd0d3
Merge pull request #5786 from yandex/awful_delta_codec_bug
...
Fix bug in delta codec
2019-06-28 14:46:05 +03:00
alexey-milovidov
2f0918eadf
Merge pull request #5785 from fredchenbj/fix/io_endian_portable_on_mac
...
IO: fix endian portable on macos x
2019-06-28 14:45:20 +03:00
alesapin
cfd8df6568
Fix bug in delta codec caused by genious C++ implicit type conversion and consequent template type deduction
2019-06-28 13:42:36 +03:00
fredchenbj
e3b3ca8d0e
IO: fix endian portable on macos x
...
Signed-off-by: fredchenbj <cfworking@163.com>
2019-06-28 15:15:56 +08:00
hcz
1d2695cbd2
Add alias flatten/arrayFlatten
2019-06-28 11:55:09 +08:00
Danila Kutenin
407cf9a229
Comments
2019-06-28 00:43:50 +03:00
chertus
f19dee706a
move IColumn.isColumnConst() outside of interface
2019-06-27 22:28:52 +03:00
Alexey Milovidov
3c4784a466
Removed obsolete undocumented embedded dictionaries that were used by Yandex.Metrica
2019-06-27 22:18:28 +03:00
chertus
db7c8748e9
remove IColumn.isColumnNullable()
2019-06-27 21:50:20 +03:00
proller
da6490c11d
renamed: Functions/array/notEmpty.cpp -> Functions/notEmpty.cpp
2019-06-27 21:43:40 +03:00
proller
0baaa4b254
Move file Functions/array/empty.cpp -> Functions/empty.cpp
2019-06-27 20:45:41 +03:00
alexey-milovidov
ea37aeb1b4
Merge pull request #5774 from yandex/gcc-9
...
Compatibility with gcc-9
2019-06-27 20:24:09 +03:00
alexey-milovidov
246f34d8f6
Merge pull request #5768 from abyss7/better-log
...
Print table name in message about missing column
2019-06-27 18:49:40 +03:00
Danila Kutenin
e67431e455
Use mimalloc instead of lfallocator
2019-06-27 18:13:19 +03:00
Alexey Milovidov
e33d482271
Fixed warning in gcc-9
2019-06-27 17:44:39 +03:00
Maxim Akhmedov
2cacc3cfd2
CHYT-142: extend KeyCondition interface so that it returns BoolMask.
2019-06-27 16:31:33 +03:00
Alexey Milovidov
e3277c191b
Fixed idiotic inconsistency in code
2019-06-27 16:26:06 +03:00
Alexey Milovidov
8f3ff6c77a
Removed inconsistent whitespaces
2019-06-27 16:20:33 +03:00
chertus
68034103bb
fix arrayIndex for new columns's isNullable
2019-06-27 15:49:08 +03:00
Nikolai Kochetov
8e4bb58c4c
Merge pull request #5757 from yandex/leader_queries_ddl_worker
...
Execute some distributed DDL queries on leader
2019-06-27 15:12:37 +03:00
Alexey Milovidov
f6265d332a
Fixed bad translation in comment
2019-06-27 14:13:32 +03:00
Ivan Lezhankin
9d3eef80b0
Print table name in message about missing column.
2019-06-27 13:56:04 +03:00
proller
e9a66d427c
Fix freebsd build
2019-06-26 23:32:28 +03:00
chertus
65c0d23efa
better casts to ColumnNullable
2019-06-26 20:20:33 +03:00
Ivan Remen
718da84f41
Fix
2019-06-26 20:02:31 +03:00
Ivan Remen
c22322a446
3rd party header compile fix
2019-06-26 19:01:18 +03:00
alesapin
197f1eedd2
Remove searcher
2019-06-26 18:22:15 +03:00
alesapin
306e27c152
Return old behaviour
2019-06-26 18:18:12 +03:00
alesapin
b7f173ad2c
Execute some distributed DDL queries on leader
2019-06-26 17:52:20 +03:00
Ivan Remen
30c7055d3b
Fix
2019-06-26 17:15:29 +03:00
chertus
6fe4640e0b
fix ColumnConst.isColumnNullable() and related crash
2019-06-26 15:59:25 +03:00
Alexander Kuzmenkov
cb718c194f
Fix a hard-to-spot typo: aggreAGte -> aggregate.
2019-06-26 15:35:27 +03:00
Ivan Remen
93523416d7
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-26 14:52:46 +03:00
Nikita Lapkov
7cff36fbfc
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-06-26 11:46:04 +00:00
alesapin
f740334ee5
Faster scheme search
...
Add docs
2019-06-26 13:26:34 +03:00
alexey-milovidov
dca6d2947c
Merge pull request #5600 from Enmk/gorilla_column_encoding
...
Gorilla column encoding
2019-06-26 12:53:12 +03:00
hcz
da206109a6
Move registerFunctionConvertCharset
2019-06-26 16:05:53 +08:00
hcz
97b762ad06
Improve function registering
2019-06-26 15:53:43 +08:00
Ivan Remen
7a5979cc0a
Fix bug
2019-06-26 02:11:28 +03:00
Ivan Remen
d933b024bd
Fix now???
2019-06-26 00:49:42 +03:00
Nikolai Kochetov
f9b29bfdd2
Merged with master.
2019-06-25 20:00:54 +03:00
Nikolai Kochetov
50aac7e982
Atomic Ports. [2]
2019-06-25 19:42:57 +03:00
Nikolai Kochetov
67b7080707
Atomic Ports.
2019-06-25 19:42:26 +03:00
Nikolai Kochetov
ab781f0988
Add task_queue to PipelineExecutor.
2019-06-25 19:42:05 +03:00
Nikolai Kochetov
d0cd3cc640
Update PipelineExecutor
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
1f6bbeee7d
Update Port.h
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
94e087102d
Use std::pair in port.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
6c2dd9b87d
Remove copy constructor from Chunk.
2019-06-25 19:41:59 +03:00
Nikolai Kochetov
66b0ae52d5
Added StopwatchGuard
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
11e0752f6d
Update PipelineExecutor.
2019-06-25 19:41:55 +03:00
Nikolai Kochetov
c6bbf6d91d
Process pipeline in each thread in PipelineExecutor.
...
Exception safety in PipelineExecutor.
2019-06-25 19:41:38 +03:00
Nikolai Kochetov
d8f0c6c15a
Added stream number to pipeline execution state.
2019-06-25 19:41:28 +03:00
Nikolai Kochetov
3bee30a215
Update PipelineExecutor.
2019-06-25 19:41:11 +03:00
Nikolai Kochetov
fc5f28faeb
Remove ExceptionHandler from PipelineExecutor.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
8299680efe
Update Port.h
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
76934cf801
Don't call cancell for RemoteBlockInputStream in SourceFromInputStream.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
f5e20027a7
Better exception safety for SourceFromInputStream.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
b2a3835195
Unify streams for SourceFromInputStream.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
93b9f3e06a
Disable processors for ClickHouseDictionarySource.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
1ae23a6d9d
Don't throw exception if query was cannelled.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
821d520a52
Fix limit by offset.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
cc09bb5557
Fix distinct.
2019-06-25 19:41:06 +03:00
Nikolai Kochetov
96174e90b0
Fix build.
2019-06-25 19:41:00 +03:00
alesapin
bd56f219ab
Fix style
2019-06-25 19:15:00 +03:00
alesapin
ff72cf4893
Trying to do everything in one pass
2019-06-25 18:54:47 +03:00
chertus
e681bef71d
T64 full transpose variant
2019-06-25 16:59:33 +03:00
Ivan Remen
df4bd3eec6
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-25 15:43:33 +03:00
Ivan Remen
737abcdbfc
Finally fix??
2019-06-25 15:43:07 +03:00
alesapin
57ed08f832
Merge pull request #5738 from yandex/hczhcz-patch-6
...
Slightly better style
2019-06-25 15:14:28 +03:00
Ivan Remen
8ad592dd07
Fix??
2019-06-25 14:27:39 +03:00
Vasily Nemkov
138087d2e1
Performance tests for Gorilla and DoubleDelta
...
Testing INSERTs and SELECTs on codec combinations:
* DoubleDelta (or Gorilla)
* LZ4
* DD (or G) + LZ4
On 3 types of data:
* sequential
* monotonic
* random.
2019-06-25 13:47:55 +03:00
alesapin
4a8a70a079
Merge pull request #5720 from coraxster/fix-5377
...
MergedColumnOnlyOutputStream. Skip empty blocks. Fix 5377
2019-06-25 13:35:09 +03:00
alesapin
2fcb786093
Slightly more ClickHouse style
2019-06-25 13:17:11 +03:00
Ivan Remen
6f6c1167bc
Fix
2019-06-25 12:44:55 +03:00
alesapin
b14a6ab8ab
Merge branch 'patch-6' of https://github.com/hczhcz/ClickHouse into hczhcz-patch-6
2019-06-25 12:40:13 +03:00
alesapin
fff18f78db
Fix tail detection
2019-06-25 12:12:28 +03:00
alesapin
fa88954e56
Better scheme cut
2019-06-25 12:04:35 +03:00
Ivan Remen
f3c8ac2d3b
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-25 11:23:53 +03:00
Ivan Remen
0b28e73f50
Fix unblundled build
2019-06-25 11:23:36 +03:00
hcz
3368ed933f
Improve error codes
2019-06-25 12:39:00 +08:00
hcz
8a2c6985a4
Use size_t step
2019-06-25 12:37:40 +08:00
hcz
f1e146d208
Fix parameter handling
2019-06-25 12:28:20 +08:00
alesapin
48451b2b0f
Better name
2019-06-24 22:00:40 +03:00
alexey-milovidov
b43e75200e
Merge pull request #5595 from inv2004/moving-sum
...
movingSum/Avg window functions for numeric and decimals
2019-06-24 19:13:26 +03:00
dmitry kuzmin
c72e4dfe08
5337: clang compiler fix
2019-06-24 18:07:01 +03:00
Alexey Milovidov
8f77d898f3
Renamed functions for consistency #5704
2019-06-24 17:51:37 +03:00
alexey-milovidov
8e41d89126
Merge pull request #5704 from zhang2014/fix/ISSUES-5697
...
ISSUES-5697 fix insert and select query with mysql style identifier
2019-06-24 17:40:28 +03:00
alexey-milovidov
dacbe9a410
Update WriteHelpers.h
2019-06-24 17:38:58 +03:00
alesapin
c6ece40f3c
Fix minor bug and style
2019-06-24 16:04:20 +03:00
Ivan Lezhankin
0917573493
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-06-24 14:42:58 +03:00
alesapin
88b9bc6254
Merge branch 'patch-6' of https://github.com/hczhcz/ClickHouse into hczhcz-patch-6
2019-06-24 14:29:35 +03:00
alesapin
5b378a3f01
Remove degug info
2019-06-24 14:18:53 +03:00
proller
1ac09fa721
Split Common/config.h by libs (dbms) ( #5715 )
2019-06-24 14:17:15 +03:00
alesapin
331e17d56a
Return scheme logic
2019-06-24 14:16:08 +03:00
alesapin
56a7595254
Slightly speed up
2019-06-24 13:47:17 +03:00
Andy Yang
4b6efaa4b9
Merge branch 'master' into custom_week_functions
...
update last code
2019-06-24 09:53:38 +08:00
dmitry kuzmin
c988293e1e
5337 fix: MergedColumn. skip empty blocks
2019-06-23 07:30:29 +03:00
zhang2014
029e2ccf1f
some review fixes
2019-06-22 19:10:00 +08:00
zhang2014
b9cb1feb4c
some review fixes
2019-06-22 12:40:41 +08:00
CurtizJ
53634a324e
fix error with uninitialized system_logs
2019-06-21 22:24:30 +03:00
CurtizJ
ac3072cd9b
better shutdown of system_logs
2019-06-21 20:25:47 +03:00
chertus
29700fd5e9
Auto version update to [19.11.0] [54423]
2019-06-21 18:47:02 +03:00
proller
badb6ab831
Functions: make array and gatherutils libs ( #5712 )
2019-06-21 18:31:37 +03:00
alesapin
efc0f7f65e
Remove unused method
2019-06-21 18:19:47 +03:00
alesapin
ca1626926d
Adjust settings
2019-06-21 18:11:33 +03:00
Ivan Lezhankin
b75db2ef04
Fix dropping message to early when stalling
2019-06-21 17:29:10 +03:00
alesapin
8b263739ce
Comments
2019-06-21 16:01:27 +03:00
alesapin
92509b71a4
Slightly speedup
2019-06-21 16:01:16 +03:00
alesapin
682e803fc9
Merge with master
2019-06-21 12:44:57 +03:00
zhang2014
1786407621
ISSUES-5697 fix insert and select query with mysql style identifier
2019-06-21 13:51:27 +08:00
alexey-milovidov
f6d150d9f8
Merge pull request #5688 from izebit/add-distributed_ddl_task_timeout-description
...
add description for distributed_ddl_task_timeout
2019-06-21 02:53:25 +03:00
proller
f111dbd45f
Do not require gperf on build ( #5701 )
...
* Build fixes
* fix
* USE_GPERF
* wip
* wip
* wip
* test -j
* Simpler
* fix
* FunctionsURL.h -> URL/FunctionsURL.h
* clean
* clean
* Always use gperf-generated file
* Generator for tldLookup.generated.cpp
* clang-format
2019-06-21 02:50:53 +03:00
alexey-milovidov
606b074a4b
Merge pull request #5659 from yandex/ignore-mutation-limits
...
Ignore query execution limits and limits for max parts size for merge while executing mutations.
2019-06-21 02:14:41 +03:00
alexey-milovidov
73df46be2b
Merge pull request #5698 from abyss7/issue-5615
...
Lower the probability of hanging when shutting down Kafka storage
2019-06-21 02:11:07 +03:00
alexey-milovidov
bc15ebbb18
Merge pull request #5700 from yandex/join-use-nulls-5620
...
Fix #5620 issue about join_use_nulls setting
2019-06-21 02:08:05 +03:00
proller
da1814c2a8
Fix shared build ( #5702 )
2019-06-20 23:57:01 +03:00
alesapin
3f7892ef50
Fix typo
2019-06-20 22:21:17 +03:00
CurtizJ
25cbc901ed
fix deadlock at flushing on shutdown
2019-06-20 20:38:16 +03:00
alesapin
80f27968ac
Add test for interaction of tables with different granularity and different versions
2019-06-20 19:25:32 +03:00
proller
fa809de91f
Move all url functions to clickhouse_functions_url lib ( #5696 )
2019-06-20 18:49:54 +03:00
stavrolia
aff92c263e
Make setting join_use_nulls get no effect for types that cannot be inside Nullable
2019-06-20 16:13:46 +03:00
Ivan Lezhankin
ec78ec8365
Merge branch 'master' into issue-5286
2019-06-20 16:08:22 +03:00
akuzm
4cc9f632a0
Treat empty cells in CSV as default values. ( #5625 )
...
Treat empty cells in CSV as default values when input_format_defaults_for_omitted_fields = true.
Closes #5349 .
2019-06-20 15:46:36 +03:00
Ivan Lezhankin
61750d09d2
Commit offsets for SELECTing from Kafka table too
2019-06-20 15:34:25 +03:00
Ivan Remen
b439769aa7
Merge remote-tracking branch 'main/master' into h3-integration-fix
2019-06-20 13:53:17 +03:00
Ivan Remen
6064a1ed7c
Fix geoToH3 compile
2019-06-20 13:44:34 +03:00
dmitry kuzmin
3b45ac8bb6
fix macos compile
2019-06-20 13:26:19 +03:00
proller
3d8c8ee83c
Build fixes. Split config.h ( #5686 )
2019-06-20 12:12:49 +03:00
alesapin
4ae502eaa6
Fix bug with wrong granularity detection
2019-06-20 11:48:56 +03:00
zhang2014
8221dd2a1a
fix build and test failure
2019-06-20 08:33:37 +08:00
alexey-milovidov
c899fce9fc
Merge pull request #5661 from BHYCHIK/crc32-for-master
...
Support crc32 function
2019-06-20 01:32:00 +03:00
alexey-milovidov
1a19a36704
Update CRC32.cpp
2019-06-20 01:31:51 +03:00
alexey-milovidov
f943bbb7a3
Merge pull request #5684 from eejoin/master
...
Flush buffer when WriteBufferFromHDFS's destructor is called
2019-06-19 23:17:35 +03:00
CurtizJ
5e6ceef224
fix race condition in flushing system log
2019-06-19 19:50:17 +03:00
zhang2014
374aac3501
fix build & chmod shell test
2019-06-20 00:32:20 +08:00
alesapin
dd37370aab
Fix test and add one
2019-06-19 19:16:13 +03:00
Ivan Lezhankin
fdd3f07860
Don't do premature subscription to topics
2019-06-19 19:15:30 +03:00
CurtizJ
047ee38838
fix race condition in flushing system log
2019-06-19 18:38:06 +03:00
Vasily Nemkov
0b68f55ce0
Fixed UB in maskLowBits
2019-06-19 18:36:34 +03:00
zhang2014
166018e41e
fix code style & rename minmax, set
2019-06-19 23:30:48 +08:00
zhang2014
a50aea09f1
fix float in bloom filter
2019-06-19 23:13:21 +08:00
zhang2014
d145295163
convert type with condition
2019-06-19 23:12:06 +08:00
zhang2014
6c8ff6dc31
add some test
2019-06-19 23:12:05 +08:00
zhang2014
f52b16e1e1
support bloom filter for any type
2019-06-19 23:12:05 +08:00
Artem Konovalov
0c4f32a4c0
add description for insert_distributed_timeout
2019-06-19 18:02:51 +03:00
alesapin
fefce49c8f
Mixed parts by setting
2019-06-19 17:46:06 +03:00
alesapin
dd2e4fd805
Bug fixes
2019-06-19 15:30:56 +03:00
CurtizJ
bb95d9a860
fix race condition in flushing system log
2019-06-19 15:28:34 +03:00
Ivan Remen
b353b8347a
Merge remote-tracking branch 'main/master' into crc32-for-master
2019-06-19 15:16:20 +03:00
alesapin
f0c273ee4c
More correct version
2019-06-19 14:59:08 +03:00
eejoin
f3e0c60b89
Flush buffer when WriteBufferFromHDFS's destructor is called
2019-06-19 19:50:34 +08:00
Artem Zuikov
41302c9910
Merge pull request #5645 from coraxster/decimal-overflow-2
...
Fix float to decimal convert overflow, extreme values
2019-06-19 14:29:33 +03:00
Vasily Nemkov
e79c3d0e22
Post-PR fixes stage 3
...
maskLowBits()
building for clang
more test cases for codecs.
2019-06-19 13:38:15 +03:00
alesapin
d1de7431e1
Compilable
2019-06-19 13:26:26 +03:00
alesapin
7e11c3c78b
Merge branch 'master' into index_granularity_by_default
2019-06-19 13:08:12 +03:00
alesapin
b544b62e44
A log of bugs
2019-06-19 13:07:56 +03:00
Ivan Remen
85fd2b3127
Fix compile
2019-06-19 11:33:45 +03:00
Ivan Remen
64231090cd
Fix compile
2019-06-19 11:14:49 +03:00
Ivan Remen
f6b16e40af
Rename file
2019-06-19 11:02:50 +03:00
Ivan Remen
80ee05eb8d
Make CRC32 case insensitive
2019-06-19 10:59:38 +03:00
alexey-milovidov
9bdbd84263
Merge pull request #5030 from PerformanceVision/top_level_domain
...
Changing how the function (cutTo)firstSignificantSubdomain detect the tld (proposal)
2019-06-19 02:08:43 +03:00
Ivan Lezhankin
9fd048cdbd
Allow to select virtual columns in materialized view
2019-06-18 19:32:37 +03:00
unknown
238c0e3b9b
movingSum: uses template for groupArrayMovingSum and groupArrayMovingAvg
2019-06-18 10:18:33 -04:00
Ivan Lezhankin
436052c67b
Merge branch 'master' into issue-5286
2019-06-18 16:03:29 +03:00
alesapin
4f98f875c3
Add ability to write final mark for *MergeTree engines family ( #5624 )
...
Add the ability to write final mark to *MergeTree engines family.
2019-06-18 15:54:27 +03:00
Ivan Remen
3fc8c8726f
Merge remote-tracking branch 'main/master' into crc32-for-master
2019-06-18 15:29:50 +03:00
alesapin
0bfb7b18ce
Fix directory check
2019-06-18 14:38:04 +03:00
alesapin
d2615863f3
Merge branch 'master' into index_granularity_by_default
2019-06-18 13:52:41 +03:00
Andy Yang
6085fce8d7
some review fixes and add new function toStartOfWeek
2019-06-18 17:48:07 +08:00
Ivan Remen
d70d8f533d
Delete bad function
2019-06-18 11:23:56 +03:00
Ivan Remen
93df144ed1
Use zlib-ng crc32
2019-06-18 11:04:27 +03:00
dmitry kuzmin
a86f47421d
simplify comparison
2019-06-18 08:25:16 +03:00
unknown
414bb21238
Merge remote-tracking branch 'upstream/master' into moving-sum
2019-06-17 19:09:58 -04:00
CurtizJ
2a04125360
fix ignore_limits option
2019-06-18 01:07:16 +03:00
Ivan Remen
edff6e58dc
Support crc32 function
2019-06-18 00:54:26 +03:00
CurtizJ
e6dd92f9e1
ignore max part size for merge setting while executing mutations
2019-06-17 22:41:48 +03:00
Vasily Nemkov
81f9055d81
Post-PR fixes #2
...
Fixed style issues and build for clang-7;
64-bit buffer for BitReader and BitWriter;
Fixed overflow and writing more bytes on flushing;
Added maskLowBits() and tests for it.
2019-06-17 21:49:01 +03:00
Vasily Nemkov
0ebb145d32
Post-PR fixes:
...
* BitHelpers.cpp was removed, corresponding code was moved to the header
* BitIO test as GTest-based test binary
* gtest-based unit test for DoubleDelta and Gorilla codecs
* getLeadingZeroBits from SFINAE to consexpr if
* removed couple of unneeded if's
* Fixed sql-test to use one table
2019-06-17 21:39:45 +03:00
Vasily Nemkov
dfd8ff7675
Gorilla column encoding
...
Added Gorilla column encoding for any fixed-width type;
Added tests for Float32 and Float64 values.
2019-06-17 21:39:42 +03:00
Vasily Nemkov
4ae63072d0
DoubleDelta column encoding.
...
Added DoubleDelta column encoding + test cases;
Added BitWriter and BitReader that allow to read data from ReadBuffer
and write data to WriteBuffer bit by bit, up to 64 bits at once;
Added test for BitReader and BitWriter.
2019-06-17 21:38:27 +03:00
proller
dae5087fcf
Build and test fixes
2019-06-17 19:50:31 +03:00
Ivan Lezhankin
d907d8e8ca
Commit offsets for SELECTing from Kafka table too
2019-06-17 19:27:18 +03:00
alesapin
fb22200890
Fix name hidding and stupid bug
2019-06-17 18:35:53 +03:00
dmitry kuzmin
21a48e4f6c
fix static_cast double to max_int
2019-06-17 17:55:51 +03:00
alesapin
9e7d23b22e
Style fix
2019-06-17 16:29:10 +03:00
alesapin
0a157278bb
Merge pull request #5557 from 4ertus2/t
...
T64 column codec
2019-06-17 16:09:55 +03:00
alesapin
fd3abbe93d
Merge pull request #4935 from zhang2014/feature/support_system_replicas
...
Support system replicas queries for distributed
2019-06-17 15:30:30 +03:00
alesapin
e45d727e9d
Merge pull request #4558 from podshumok/distributred-timeout
...
Distributed and remote timeouts
2019-06-17 13:58:17 +03:00
alesapin
3a4dcfbacd
Fix inconsistency in zookeeper metadata and disable adaptive granularity for old format
2019-06-17 13:34:25 +03:00
alesapin
e73cdbae90
Fix name hidding
2019-06-17 12:22:44 +03:00
alesapin
02af85411c
Merge branch 'master' into index_granularity_by_default
2019-06-17 12:02:03 +03:00
alexey-milovidov
36c0e1f4c5
Merge branch 'master' into sanych73-prepared_statements
2019-06-17 09:33:04 +03:00
alexey-milovidov
5fd319d0e9
Merge pull request #5648 from yandex/remove-number-of-stat-calls
...
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-17 09:30:29 +03:00
Alexey Milovidov
dc0391b446
Fixed formatting of complex expressions
2019-06-17 01:51:09 +03:00
Alexey Milovidov
2c0bdf1d90
Fixed formatting of expressions like (x[1].1)[1]
2019-06-17 01:42:06 +03:00
Alexey Milovidov
da43d1e3e4
Fixed formatting of queries with clashed expression and table aliases
2019-06-17 01:28:24 +03:00
Alexey Milovidov
54b633bb86
Fixed wrong method ASTExplainQuery::formatImpl
2019-06-17 01:00:29 +03:00
Alexey Milovidov
88c35d541d
Merge branch 'master' into sanych73-prepared_statements
2019-06-16 23:53:31 +03:00
Alexey Milovidov
62a3d00772
Added comment
2019-06-16 23:50:06 +03:00
Alexey Milovidov
ee5dcd50a0
Lowered CPU overhead for small data parts
2019-06-16 23:42:03 +03:00
Alexey Milovidov
14be0ca281
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 23:13:54 +03:00
Alexey Milovidov
49c4f2ffed
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 23:11:30 +03:00
Alexey Milovidov
e3b21be1bb
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 23:02:45 +03:00
Alexey Milovidov
0ad13ca3d1
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 22:59:30 +03:00
Alexey Milovidov
c1aa767a04
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 22:53:05 +03:00
Alexey Milovidov
e4f314f88d
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 22:49:12 +03:00
Alexey Milovidov
801f34d325
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 22:42:05 +03:00
Alexey Milovidov
b6acb29625
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 22:36:15 +03:00
Alexey Milovidov
b494d17ca6
Reduce number of "stat" syscalls for MergeTree data parts
2019-06-16 22:32:52 +03:00
Alexey Milovidov
413b780b65
Various fixes for PVS-Studio
2019-06-16 21:13:39 +03:00
Alexey Milovidov
02034c5d91
Merging
2019-06-16 20:32:37 +03:00
Alexey Milovidov
864dacd112
Merging
2019-06-16 19:47:47 +03:00
Alexey Milovidov
f98d0a108f
Removed useless header file
2019-06-16 15:16:16 +03:00
Alexey Milovidov
39198ef45f
Fixed error with COMMENT COLUMN IF EXISTS
2019-06-16 15:10:34 +03:00
Alexey Milovidov
eb4f0920b1
Merge branch 'master' into sanych73-prepared_statements
2019-06-16 12:27:19 +03:00
dmitry kuzmin
c73ce602bf
fix decimal overflow, extreme values
2019-06-16 10:57:30 +03:00
Alexey Milovidov
ba18308080
Merge branch 'master' into levysh-testkeeper
2019-06-16 02:45:34 +03:00
Alexey Milovidov
a576755bec
Fixed build
2019-06-16 02:45:17 +03:00
Alexey Milovidov
0dd88a1b03
Fixed build
2019-06-16 02:44:51 +03:00
Alexey Milovidov
7514674447
Merge remote-tracking branch 'origin/master' into sanych73-prepared_statements
2019-06-16 02:40:17 +03:00
Alexey Milovidov
f38855fe61
Merge branch 'master' into sanych73-prepared_statements
2019-06-16 02:39:55 +03:00
Alexey Milovidov
6418018385
Added comment
2019-06-16 02:35:12 +03:00
Alexey Milovidov
777af5544b
Removed tons of trash
...
Removed tons of trash
Removed tons of trash
Removed tons of trash
Removed tons of trash
Removed tons of trash
Removed tons of trash
Removed tons of trash
Removed tons of trash
Removed tons of trash
Removed tons of trash
2019-06-16 02:35:27 +03:00
levushkin aleksej
bc2789f9ad
TestKeeper(mock ZooKeeper)
...
fix style
fix bug
one more fix style
2019-06-16 02:35:12 +03:00
alexey-milovidov
39c6fbc324
Merge pull request #5567 from vitlibar/really-lazy-dictionary-load
...
Non-blocking loading of external dictionaries
2019-06-15 22:15:53 +03:00
proller
2a6c7cda0b
CLICKHOUSE-4179 Fix function arrayEnumerateUniqRanked ( #5622 )
...
* wip
* fix
* clean
2019-06-15 22:14:17 +03:00
Alexey Milovidov
b079631f61
Fixed tests
2019-06-15 21:22:48 +03:00
alexey-milovidov
a52e13b891
Merge pull request #5640 from yandex/use-ipv6-in-system-tables
...
Adopted IPv6 data type in system tables; unified client info columns in system.processes and system.query_log
2019-06-15 21:21:24 +03:00
Alexey Milovidov
fad6013270
Fixing query parameters
2019-06-15 20:52:53 +03:00
Alexey Milovidov
54ece5f968
Added missing methods for DataTypeDate, DataTypeDateTime
2019-06-15 18:58:17 +03:00
Alexey Milovidov
cb661c0d54
Added missing methods for DataTypeDate, DataTypeDateTime
2019-06-15 18:56:55 +03:00
Alexey Milovidov
b48284d334
Removed useless method
2019-06-15 18:08:48 +03:00
Alexey Milovidov
ee102ca953
Style; added comment
2019-06-15 18:06:44 +03:00
Alexey Milovidov
01762d5167
Clarified code in IDataType
2019-06-15 17:47:33 +03:00
Alexey Milovidov
748b5a5bce
Clarified code in IDataType
2019-06-15 17:32:01 +03:00
Alexey Milovidov
a999cb4fbc
Merge branch 'master' into sanych73-prepared_statements
2019-06-15 17:22:01 +03:00
Alexey Milovidov
d8f76152d5
Adopted IPv6 data type in system tables; unified client info columns in system.processes and system.query_log
2019-06-15 17:20:32 +03:00
Alexey Milovidov
b2100c7bcf
Removed strange quoting style like `this'. See https://english.stackexchange.com/questions/17695/any-reference-on-the-usage-of-a-backtick-and-single-quotation-mark-like-this
...
Added backQuote and backQuoteIfNeed when required to correctly quote identifiers with proper escaping.
2019-06-15 15:06:22 +03:00
alexey-milovidov
807bfa913e
Merge pull request #5599 from zhang2014/fix_createtable_bug
...
Add database engine of MySQL type
2019-06-15 14:52:57 +03:00
Alexey Milovidov
d60912ab66
Merge branch 'master' into sanych73-prepared_statements
2019-06-15 14:04:56 +03:00
zhang2014
ec8d73550b
some review fixes
2019-06-15 11:39:04 +08:00
Alexey Milovidov
08636dce92
Added missing files
2019-06-14 22:39:56 +03:00
CurtizJ
6d9cbc6f28
ignore query limits from system profile while executing mutations
2019-06-14 22:27:53 +03:00
Vitaly Baranov
b4384ce2a9
Dictionaries can be loaded in parallel.
...
A bad dictionary cannot block all the loading anymore.
Implemented really lazy loading of external dictionaries.
Provided more detailed information about the loading of each dictionary
to make diagnostics easier.
2019-06-14 22:18:47 +03:00
Alexey Milovidov
10722f53c7
Fixed performance degradation in SELECT from MergeTree tables #5631
2019-06-14 22:11:41 +03:00
Alexey Milovidov
34072c2dde
Fixes for #5331
2019-06-14 21:38:58 +03:00
Ivan Lezhankin
facdd966cc
Fixes due to review
2019-06-14 20:19:02 +03:00
Alexey Milovidov
c2d4c11cb8
Fixes for #5331
2019-06-14 20:15:30 +03:00
Alexey Milovidov
c5c2bd4a3f
Merge branch 'prepared_statements' of https://github.com/sanych73/ClickHouse into sanych73-prepared_statements
2019-06-14 19:28:25 +03:00
alexey-milovidov
71427b08f3
Update ExpressionElementParsers.cpp
2019-06-14 19:24:56 +03:00
alexey-milovidov
38414bc337
Update ASTQueryParameter.h
2019-06-14 19:23:42 +03:00
alexey-milovidov
322c73cc74
Update ASTQueryParameter.cpp
2019-06-14 19:23:01 +03:00
alexey-milovidov
1e385cac7c
Update ReplaceQueryParameterVisitor.h
2019-06-14 19:18:59 +03:00
alexey-milovidov
5317c5a08b
Update ReplaceQueryParameterVisitor.cpp
2019-06-14 19:18:24 +03:00
alexey-milovidov
daca715a0e
Update ReplaceQueryParameterVisitor.h
2019-06-14 19:15:14 +03:00
alexey-milovidov
03076a0f8d
Update Context.cpp
2019-06-14 19:08:07 +03:00
alesapin
22026e0333
Enable adaptive index granularity by default
2019-06-14 18:39:21 +03:00
proller
7e7b5b3810
Allow run query with remote() in clickhouse-local; Aloow redefine config from command line for clickhouse-local
2019-06-14 18:35:45 +03:00
unknown
7dc95e17a4
movingSum : macros name + indent
2019-06-14 11:14:58 -04:00
alexey-milovidov
f9cab91447
Merge pull request #5617 from proller/fix15
...
19.8 build fixes
2019-06-14 17:29:51 +03:00
alexey-milovidov
00809c78e2
Merge pull request #5623 from yandex/Quid37-lin_ref_perf
...
Merging PR #5505
2019-06-14 17:26:46 +03:00
hcz
0385e0923a
Fix style
2019-06-14 21:20:21 +08:00
alexey-milovidov
eb1fe2ed17
Merge pull request #5613 from sundy-li/improve/distribute-alter-more
...
make isSupportedAlterType better
2019-06-14 15:39:09 +03:00
Alexey Milovidov
95c7537656
Merge branch 'lin_ref_perf' of https://github.com/Quid37/ClickHouse into Quid37-lin_ref_perf
2019-06-14 15:33:29 +03:00
proller
fc7ae399c4
Use system rapidjson; Fix types for macos;
2019-06-14 13:28:30 +03:00
alexey-milovidov
9b727d267e
Merge pull request #5535 from infinivision/add_bitmapContains
...
Add bitmapContains
2019-06-14 09:23:37 +03:00
alexey-milovidov
bc387e865f
Merge pull request #5549 from yandex/fix_deduplication_bug
...
Fix complex bug in deduplication
2019-06-14 09:23:15 +03:00
alexey-milovidov
e90a7078f3
Merge pull request #5607 from coraxster/decimal-overflow
...
Fix float to decimal convert overflow
2019-06-14 09:20:39 +03:00
sundy-li
eac978f1e0
make isSupportedAlterType better
2019-06-14 11:06:08 +08:00
Andy Yang
ec9a97d499
Fix code review issues.
2019-06-14 11:04:01 +08:00
dmitry kuzmin
5fc6a6973a
float to decimal overflow fix
2019-06-13 23:28:14 +03:00
unknown
0dab40404e
movingSum format fix: trailing space
2019-06-13 12:18:32 -04:00
alexey-milovidov
87557d216b
Update DataTypesDecimal.h
2019-06-13 17:49:13 +03:00
alexey-milovidov
5ab1a15075
Update DataTypesDecimal.h
2019-06-13 17:48:13 +03:00
Alexey Milovidov
c846d0f6af
Namespace comments are unneeded according to the code style.
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '}\s*//+\s*namespace\s*' | xargs sed -i -r -e 's/}\s*\/\/+\s*namespace\s*.*$/}/'
2019-06-13 13:43:37 +03:00
Alexey Milovidov
d32ea4d06b
Merge branch 'master' of github.com:yandex/ClickHouse
2019-06-13 13:38:48 +03:00
Alexey Milovidov
8b87511e25
Namespace comments are unneeded according to the code style.
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '}\s*//+\s*namespace\s*' | xargs sed -i -r -e 's/}\s*\/\/+\s*namespace\s*\w+/}/'
2019-06-13 13:37:13 +03:00
alexey-milovidov
33c1072654
Merge pull request #5593 from sundy-li/improve/distribute-alter-more
...
Support more AlterType in distribute DDL
2019-06-13 13:26:50 +03:00
Alexey Milovidov
261c9cf9ff
Whitespace
2019-06-13 13:15:32 +03:00
alexey-milovidov
be51de0903
Merge pull request #5559 from proller/fix28
...
CLICKHOUSE-4179 Fix of function arrayEnumerateUniqRanked for arguments with empty arrays
2019-06-13 13:14:51 +03:00
zhang2014
d8a14f590f
try fix unbundled build failure
2019-06-13 18:01:34 +08:00
dmitry kuzmin
89cc1440d8
fix float to decimal convert overflow
2019-06-13 11:40:30 +03:00
zhang2014
6ccef4d802
Add database engine of MySQL type
...
Co-authored-by: zhang2014 <coswde@gmail.com>
Co-authored-by: TCeason <tai_chong@foxmail.com>
2019-06-13 11:58:58 +08:00
unknown
1e56a5b7ac
movingSum format
2019-06-12 20:03:55 -04:00
chertus
1c3192016b
Merge branch 'master' into t
2019-06-12 22:19:26 +03:00
unknown
8028495f78
movingSum fix : deserialize restores sum field
2019-06-12 12:10:47 -04:00
chertus
08983b0669
T64 codec optimisation: unroll cycles
2019-06-12 16:03:51 +03:00
sundy-li
d23e505414
remove line
2019-06-12 18:56:01 +08:00
sundy-li
38d4d2937e
Support more AlterType in distribute DDL
2019-06-12 18:50:50 +08:00
alexey-milovidov
96975c8881
Update arrayEnumerateRanked.h
2019-06-12 12:18:51 +03:00
hcz
45529d8489
Fix bugs
2019-06-12 16:25:29 +08:00
hcz
6b6f2293fc
Change style
2019-06-12 15:48:40 +08:00
hcz
57db1fac59
Add aggregate function combinator Resample
2019-06-12 15:46:36 +08:00
unknown
d75c73ece2
movingSum with/or without window_size parameter for numeric and decimal types
2019-06-12 01:56:37 -04:00
Danila Kutenin
585e4b75c5
Fix some weird cases in Searchers
2019-06-12 07:14:03 +03:00
Danila Kutenin
4fd85b4136
Clearer interfaces of Searchers
2019-06-12 05:35:25 +03:00
chertus
f9abc8194a
make ubsan happy v2
2019-06-12 03:12:38 +03:00
chertus
0c0a1517fb
make ubsan happy & minor perf improvement
2019-06-12 00:32:43 +03:00
chertus
3648889aed
T64 codec: add test for signed & related fixes
2019-06-11 21:25:34 +03:00
chertus
10c720f059
T64 codec: fix getMaxCompressedDataSize and test
2019-06-11 17:14:45 +03:00
chertus
f099ee5680
T64 support signed types (not tested)
2019-06-10 22:14:48 +03:00
Ivan Lezhankin
97558c1b41
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-06-10 14:15:14 +03:00
proller
836243d654
Merge remote-tracking branch 'upstream/master' into fix28
2019-06-10 12:44:22 +03:00
tai
e01138a7e7
feature: if MySQL table doesn't exits should report the error.
2019-06-10 15:51:14 +08:00
Andy Yang
7c15a32ef3
Merge branch 'master' into custom_week_functions
...
Update the latest code
2019-06-10 09:40:43 +08:00
Andy Yang
365d85e1f9
add week(), yearweek()
2019-06-09 23:19:15 +08:00
alexey-milovidov
4c7d71af1c
Merge pull request #5560 from yandex/perftests-file-formats
...
Fix #5439 bug PrettySpace format
2019-06-09 17:22:47 +03:00
alexey-milovidov
7324e5e8d4
Update PrettySpaceBlockOutputStream.cpp
2019-06-09 17:22:16 +03:00
proller
21d523904b
fix style
2019-06-09 14:40:25 +03:00
Igor Hatarist
fc55d38377
Fix typo in a Decimal exception
...
(presicion -> precision)
2019-06-08 19:56:45 +03:00
stavrolia
6c487a253b
Fix #5439 bug pretty space
2019-06-08 00:04:06 +03:00
proller
7449f4f68d
clang-format
2019-06-07 21:22:57 +03:00
chertus
a95e0015dc
fix build and tests
2019-06-07 21:11:50 +03:00
proller
516ce69d70
CLICKHOUSE-4179 Fix of function arrayEnumerateUniqRanked for arguments with empty arrays
2019-06-07 20:37:01 +03:00
chertus
3007975199
T64 codec concept
2019-06-07 19:12:45 +03:00
alesapin
53e62b83d2
Fix complex bug in deduplication
2019-06-06 18:28:02 +03:00
Zhichang Yu
8a26060ca8
fix style
2019-06-06 08:34:34 +08:00
Alexander Tretiakov
dec0430327
check for trash
2019-06-05 23:04:17 +02:00
alesapin
a0e7d183f7
Merge pull request #5534 from yandex/debug_dns_cache
...
Fix bug in pooled sessions and host ip change
2019-06-05 22:37:17 +03:00
alexey-milovidov
42dbb7e881
Merge pull request #5539 from yandex/alter-ttl-fix
...
Fixed alter modify ttl on ReplicatedMergeTree.
2019-06-05 22:05:17 +03:00
CurtizJ
27d8b90dd9
fixed alter modify ttl on ReplicatedMergeTree and test added
2019-06-05 19:22:41 +03:00
Alexander Tretiakov
8d91419a25
fix
2019-06-05 17:07:50 +03:00
Alexander Tretiakov
905856f02d
merge
2019-06-05 17:02:13 +03:00
Orivej Desh
5ec179377a
DEVTOOLS-5170 Delete Y_IGNORE markers ( #5533 )
...
They have been superseded by a new include resolution configuration that lives
outside clickhouse source tree.
2019-06-05 14:52:39 +03:00
alesapin
07ee60b546
Fix bug with pooled HTTP sessions and host ip change
2019-06-05 12:23:41 +03:00
Zhichang Yu
b694d039c1
added FunctionBitmapContains
2019-06-05 16:25:48 +08:00
alexey-milovidov
4ca476ec80
Merge pull request #5516 from yandex/fix-regression-models
...
Fix regression models
2019-06-05 08:07:18 +03:00
alexey-milovidov
b7248803d5
Merge pull request #5524 from NanoBjorn/fix-drop-index-if-exists
...
Fixed DROP INDEX IF EXISTS and added simple test
2019-06-05 08:04:04 +03:00
alexey-milovidov
59a59c34c6
Update FunctionsBitmap.h
2019-06-05 08:03:09 +03:00
Zhichang Yu
0e3f2d5faa
added comments for bitmapHasAll and bitmapHasAny
2019-06-05 11:26:13 +08:00
Alexander Tretiakov
d97c2ccdc8
support complex datatype
2019-06-04 21:15:32 +03:00
Alexander Tretiakov
2f1a03dac0
merge
2019-06-04 21:08:08 +03:00
Gleb Novikov
29a26af156
Merge branch 'master' into fix-drop-index-if-exists
2019-06-04 11:32:22 +03:00
Zhichang Yu
6d0e7b7b21
fix https://github.com/yandex/ClickHouse/issues/5479
2019-06-04 14:10:51 +08:00
alexey-milovidov
e389df385c
Merge pull request #5523 from orivej/croaring
...
DEVTOOLS-5507 Include roaring.h as roaring/roaring.h
2019-06-04 03:58:22 +03:00
Gleb Novikov
8bd2c7b3a7
Fixed DROP INDEX IF EXISTS and added simple test
2019-06-04 00:08:52 +03:00
Anton Yuzhaninov
091b591681
Fix build without Brotli ( #5513 ) ( #5521 )
2019-06-03 23:27:53 +03:00
alesapin
db6de83fa1
Merge pull request #5520 from yandex/fix_inconsistent_parts_removing
...
Fix inconsistent parts remove from local FS without dropping them from ZK
2019-06-03 21:18:16 +03:00
Георгий Кондратьев
2499cefdb9
DEVTOOLS-5507 Include roaring.h as roaring/roaring.h
...
This is needed to unbundle roaring. Its original cmake build system installs:
/usr/include/roaring/roaring.h
/usr/include/roaring/roaring.hh
and declares:
set_target_properties(roaring::roaring PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "/usr/include"
)
2019-06-03 17:03:41 +00:00
Ivan
f70eed78d8
Don't do intermediate commits in Kafka tables by default ( #5445 )
...
* Don't do intermediate commits in Kafka tables by default
* Use default settings' values as defaults in code
2019-06-03 19:40:22 +03:00
alesapin
dfe214b37c
Fix inconsistent parts remove from local FS without dropping them from ZK
2019-06-03 17:58:19 +03:00
Ivan Lezhankin
8326021d74
Fix style
2019-06-03 17:36:59 +03:00
Ivan Lezhankin
b311984879
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-06-03 17:19:09 +03:00
Anastasiya Rodigina
77fa9c30ee
fix little misprint
2019-06-03 07:36:55 +00:00
Anastasiya Rodigina
4ff02cff4d
Fix some problems with tests, add more tests, more syntetic tests are coming today
2019-06-03 06:00:54 +00:00
Nikolai Kochetov
7cb3e3b251
Set default learnng_rate to 0.01.
2019-06-03 08:50:07 +03:00
Nikolai Kochetov
47f82dac72
Fix build.
2019-06-03 08:31:04 +03:00
Nikolai Kochetov
d224d3dcd2
Fix build.
2019-06-03 08:25:48 +03:00
Nikolai Kochetov
1034295f04
Fixed UInt32 overflow bug in linear models. Allow eval ML model for non-const model argument.
2019-06-03 08:11:15 +03:00
Konstantin Podshumok
633f2f2664
limit remote timeouts to max_execution_time for SelectStreamFactory
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
e60a2fd1ad
clickhouse dictionary source: fix timeouts for remotes
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
d52be42c37
use new timeouts in ClusterProxy
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
bebd19135a
remove connections_with_failover_max_tries
and getSaturated(settings.max_execution_time)
from Cluster
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
9e7387182a
StorageReplicatedMergeTree: move timeouts to RemoteBlockInputStream
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
a61a8386f3
update timeouts usage in DistributedBlockOutputStream
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
b801fcb79a
fix timeouts usage in directory monitor
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
f993ea6127
add timeouts to remote streams
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
a3d2310d6f
add timeouts to multiplexed connections
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
eb31345224
add timeouts to ConnectionPoolWithFailover and use max_tries from settings
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
d18fd5f10b
timeouts from ConnectionPool members as they are intended to live longer than timeouts state
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
6836bf6733
connection: make sure connection timeouts are applied during sendQuery
2019-06-02 12:43:20 +03:00
Konstantin Podshumok
94b2bf5551
move timeouts from members to parameters in Connection
...
maybe it is better to provide some `set_timeouts` method?
2019-06-02 12:43:20 +03:00
alexey-milovidov
005217c9d9
Merge pull request #5492 from Quid37/master
...
Some changes and fixes on regression methods
2019-06-02 06:31:22 +03:00
alexey-milovidov
086572b604
Merge pull request #5503 from 4ertus2/bugs
...
Fix union all supertype column
2019-06-02 06:18:33 +03:00
Alexander Kozhikhov
ba3d6c4b6c
unique
2019-06-02 01:46:25 +03:00
Alexander Kozhikhov
dfea2dcd8f
unique ptr
2019-06-02 01:44:25 +03:00
Danila Kutenin
b5f42d36fa
Merge pull request #5498 from yandex/gcc9-warnings
...
Fix gcc9 warnings and ICEs
2019-06-01 15:12:41 +03:00
Vitaly Baranov
a4ce427bfa
Merge pull request #5429 from azat-archive/INSERT-into-Distributed-with-MATERIALIZED
...
Fix INSERT into Distributed() table with MATERIALIZED column
2019-06-01 12:28:45 +03:00
Vitaly Baranov
421c6a90e2
Use function getSampleBlockNonMaterialized() to simplify the solution
2019-05-31 21:31:09 +03:00
Andy Yang
ff7bcd127e
Merge branch 'master' into custom_week_functions
...
update laster code
2019-05-31 23:54:54 +08:00
Alexander Kozhikhov
da8d49a67a
shared to unique
2019-05-31 18:53:31 +03:00
Alexander Kozhikhov
73c07cb9d5
fix on lin_ref_perf
2019-05-31 18:39:17 +03:00
alesapin
117c9edda7
Merge pull request #5489 from azat-archive/DDLWorker-fix
...
Skip ZNONODE during DDL query processing
2019-05-31 18:34:47 +03:00
chertus
40b5375aa8
fix const optimisation
2019-05-31 16:34:09 +03:00
chertus
28c1a60eb7
fix union all supertype column
2019-05-31 15:36:44 +03:00
Danila Kutenin
7e2b3b59b8
Fix gcc9 warnings and ICE's
2019-05-31 11:55:01 +03:00
alexey-milovidov
4819a34394
Merge pull request #5448 from yandex/low-cardinality
...
Add setting suspicious type for low cardinality (fixed #4965 )
2019-05-31 07:35:19 +03:00
proller
1b0d1a4450
Info about frozen parts in system.parts ( #5471 )
...
* wip
* wip
* wip
* Clean
* fix test
* clean
* fix test
* fix test
2019-05-31 07:03:46 +03:00
alexey-milovidov
261dd5668e
Merge pull request #5477 from yandex/fix-linking-with-lld
...
Fixed linking with lld
2019-05-31 07:00:55 +03:00
Alexander Kozhikhov
42f3ee2e2b
conflict
2019-05-31 01:55:18 +03:00
Alexander Kozhikhov
0f222640d5
style
2019-05-31 01:53:56 +03:00
Alexander Kozhikhov
15fe367f83
few fixes
2019-05-31 01:48:44 +03:00
Alexander Kozhikhov
ef23528452
some changes and fixes on regression methods
2019-05-31 00:59:40 +03:00
Azat Khuzhin
eb5f46fb07
Skip ZNONODE during DDL query processing
...
Right now if another node removes the znode in task_queue, the one that
did not process it, but already get list of children, will terminated
the DDLWorker thread, and this is very unconvinient because you do not
have any sane way to know is DDLWorker still running or not (except for
timed out DDL queries or via debugger), and the clickhouse-server it
self do not fail either.
Fixes : #5064
2019-05-30 20:25:29 +03:00
Olga Khvostikova
2fc3ce7f5d
Merge branch 'master' into low-cardinality
2019-05-30 16:31:40 +03:00
proller
a813a001e2
Allow to use internal compiler with system includes (fix compile for freebsd) ( #5447 )
...
* Allow to use internal compiler with system includes (fix compile for freebsd)
* Fix macos build
2019-05-30 15:58:15 +03:00
Nikita Lapkov
8f36af7760
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-30 10:33:33 +00:00
Nikita Lapkov
3b54fde8a7
replace StackTrace with Backtrace
2019-05-30 10:30:24 +00:00
Alexey Milovidov
05737678e2
Remove debug logging from MySQL protocol
2019-05-30 11:25:16 +03:00
Alexey Milovidov
1607ec49ba
Fixed linking with lld
2019-05-30 11:23:20 +03:00
stavrolia
60459bbb87
Yet another fix
2019-05-29 20:49:35 +03:00
stavrolia
605de8c36c
Fixed
2019-05-29 17:59:11 +03:00
chertus
3f2e09ac93
Merge branch 'master' into decimal
2019-05-29 13:58:33 +03:00
Nikolai Kochetov
713ccd1f60
Added comment for IAggregateFunction::getReturnTypeToPredict(). Small code fixes.
2019-05-29 06:42:33 +03:00
Nikolai Kochetov
1c8b7dc96d
Merge pull request #5411 from Quid37/master
...
small changes on linear regression
2019-05-29 06:31:51 +03:00
zhang2014
80788cd7a8
Rename system sync distributed to system flush distributed
2019-05-29 10:43:52 +08:00
zhang2014
1a33840964
fix review
2019-05-29 10:43:52 +08:00
zhang2014
c44f608868
support replicas system queries for distributed
2019-05-29 10:43:52 +08:00
chertus
49e12eaa60
remove unused specializations in dictionaries
2019-05-28 22:30:01 +03:00
stavrolia
3edf296aa3
Change error message
2019-05-28 22:09:40 +03:00
stavrolia
0a5fb04b56
One more fixed
2019-05-28 21:32:14 +03:00
stavrolia
aa0e227288
Fixed
2019-05-28 21:08:47 +03:00
alexey-milovidov
c5d18dfde1
Merge pull request #5446 from 4ertus2/some
...
Disable implicit type conversions in dictGet functions (it's not working)
2019-05-28 20:34:13 +03:00
alexey-milovidov
5adef8bc56
Merge pull request #5437 from TCeason/bug_fix
...
ISSUES-5432 fix bad alloc when truncate join storage
2019-05-28 20:33:14 +03:00
stavrolia
976815660f
Fix improvement of check
2019-05-28 20:28:17 +03:00
alexey-milovidov
829102671f
Merge pull request #5440 from azat-archive/hashed-dictionary-element_count
...
Fix element_count for hashed dictionary (do not include duplicates)
2019-05-28 20:21:40 +03:00
stavrolia
a91e72eb39
Improve check
2019-05-28 19:45:27 +03:00
stavrolia
4cd595b450
Add setting allow suspicious types for low cardinality with long message about error ( fixed #4965 )
2019-05-28 19:10:55 +03:00
chertus
0d77a96b3c
disable implicit type conversions in dictGet functions
2019-05-28 17:04:00 +03:00
Ivan Lezhankin
6b1a9e0e52
Fix comment
2019-05-28 15:22:10 +03:00
Azat Khuzhin
0275d62523
Fix element_count for hashed dictionary (do not include duplicates)
2019-05-28 11:25:31 +03:00
tai
1ab21e5774
ISSUES-5432 fix bad alloc when truncate join storage
2019-05-28 14:23:07 +08:00
alexey-milovidov
0c2aa46065
Merge pull request #5416 from vitlibar/fix-clickhouse-as-mysql-server
...
Fix clickhouse as mysql server
2019-05-28 06:13:31 +03:00
Vitaly Baranov
1364cdd057
Fix ErrorCodes.
2019-05-28 03:08:12 +03:00
Vitaly Baranov
63b319404b
Fix handling mixed const/non-const cases.
2019-05-28 02:47:33 +03:00
Ivan Lezhankin
1eccbc39c5
Don't add virtual column to empty block
2019-05-28 00:01:24 +03:00
Azat Khuzhin
e527def18a
Fix INSERT into Distributed() table with MATERIALIZED column
...
By just skipping MATERIALIZED columns during processing.
P.S. you cannot use insert_allow_materialized_columns since it works
only for Buffer() engine.
Fixes : #4015
Fixes : #3673
Fixes: 01501fa8db
("correct column list
for rewritten INSERT query into Distributed [#CLICKHOUSE-4161]")
2019-05-27 23:32:05 +03:00
Alexander Kozhikhov
b9c68cbf3a
changes on return type of linearRegression
2019-05-27 23:18:14 +03:00
Alexander Kozhikhov
5cd85baec6
changes on return type of linearRegression
2019-05-27 23:14:23 +03:00
Ivan Lezhankin
13212c9b01
Fix the hang on dropping Kafka table when there is no mat. views
2019-05-27 20:25:34 +03:00
Anastasiya Rodigina
21e27cb854
Make custom upper_bound - probably will change it
2019-05-27 10:50:37 +00:00
Danila Kutenin
b579c98651
Merge pull request #5422 from yandex/ngram_non_symmetric
...
ngramEntry renamed to ngramSearch
2019-05-27 12:50:08 +03:00
Danila Kutenin
b65a9499c8
ngramEntry renamed to ngramSearch
2019-05-27 12:05:02 +03:00
alexey-milovidov
ead911efc2
Merge pull request #5419 from yurriy/mysql
...
Improvements of MySQL Wire Protocol
2019-05-27 04:59:23 +03:00
Anastasiya Rodigina
cd5b3e60c5
Try 2 to fix tests
2019-05-26 21:41:12 +00:00
Anastasiya Rodigina
abec62bc5d
Try 1 to fix tests - edit tabs
2019-05-26 20:47:48 +00:00
Anastasiya Rodigina
1c3f6ee6f0
Try 1 to fix tests - edit tabs
2019-05-26 20:43:46 +00:00
Anastasiya Rodigina
99f1aa65b3
Try 1 to fix tests
2019-05-26 20:41:51 +00:00
Ivan Lezhankin
d2fd7a449f
Fix build
2019-05-26 23:10:43 +03:00
Yuriy
96c2bb383f
using logging level from config.xml
2019-05-26 22:30:23 +03:00
Anastasiya Rodigina
65615aaed3
Edit little silly misprints
2019-05-26 12:08:48 +00:00
Sergi Vladykin
8c7b6137bc
Code style fixed.
2019-05-26 13:02:48 +03:00
Sergi Vladykin
2be4721771
Merge branch 'master' of https://github.com/yandex/ClickHouse into bitmap1
2019-05-26 12:27:54 +03:00
Danila Kutenin
61a1d91d71
Merge pull request #5418 from yandex/ngram_non_symmetric
...
ngramEntry function was added
2019-05-26 11:02:48 +03:00
Yuriy
96e3574a06
Improvements of MySQL Wire Protocol
2019-05-26 09:52:29 +03:00
Alexander Tretiakov
212731b3e2
merge
2019-05-26 01:45:15 +03:00
Danila Kutenin
6090f5eca8
ngramEntry function was added
2019-05-25 21:47:26 +03:00
Alexander Kozhikhov
dd259c408d
Merge branch 'master' of https://github.com/yandex/ClickHouse
2019-05-25 21:42:16 +03:00
Alexander Kozhikhov
0be0529b59
changes on lin reg
2019-05-25 21:41:58 +03:00
alexey-milovidov
461c4919d3
Merge pull request #5116 from PerformanceVision/send_header
...
Send a X-ClickHouse summary on the header for HTTP client with number of rows inserted
2019-05-25 20:20:35 +03:00
Nikita Lapkov
06d370dee2
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-25 16:23:08 +00:00
Alexey Milovidov
207d2048c6
Added forward declarations
2019-05-25 17:15:22 +03:00
Alexey Milovidov
b94f2be154
Merge branch 'mysql' of https://github.com/yurriy/ClickHouse into yurriy-mysql
2019-05-25 17:14:57 +03:00
alexey-milovidov
6bb468b8c9
Merge pull request #5200 from hczhcz/patch-5
...
Add statistics functions: skewSamp, skewPop, kurtSamp, and kurtPop
2019-05-25 17:06:13 +03:00
alexey-milovidov
65957974b4
Update AggregateFunctionStatisticsSimple.h
2019-05-25 17:04:26 +03:00
Alexander Tretiakov
946fa5b47e
fix style and add tests
2019-05-25 16:43:52 +03:00
Alexander Kozhikhov
7b235a312b
Merge branch 'master' of https://github.com/yandex/ClickHouse
2019-05-25 16:33:36 +03:00
alexey-milovidov
e0e35f3258
Merge pull request #5246 from nikvas0/nikvas0/fix_minmax_null
...
[wip] fix null minmax
2019-05-25 16:11:23 +03:00
alexey-milovidov
81ed764d6a
Merge pull request #5285 from abyss7/issue-5085
...
Don't crash the server when Kafka consumers have failed to start
2019-05-25 16:09:26 +03:00
alexey-milovidov
cb89e506a4
Merge pull request #5353 from yandex/aku/detached-parts-5164
...
Add system.detached_parts table.
2019-05-25 16:08:33 +03:00
alexey-milovidov
980c564db6
Merge pull request #5339 from sundy-li/feature/sequence64
...
Make sequenceMatch aggregate functions support other unsigned Integer types
2019-05-25 15:59:36 +03:00
alexey-milovidov
0c38226a25
Merge pull request #5366 from abyss7/storage-merge-sample
...
Check that underlying tables support sampling for StorageMerge
2019-05-25 15:44:02 +03:00
alexey-milovidov
fbbe3c1246
Merge pull request #5359 from andyyzh/fix_bitmap_issue_5244
...
Fixed bitmap functions produce wrong result
2019-05-25 15:43:38 +03:00
alexey-milovidov
bffe621d94
Merge pull request #5407 from kvap/all-columns-required-in-limit-by
...
Mark all input columns in LIMIT BY as required output
2019-05-25 15:13:01 +03:00
alexey-milovidov
b79582e15a
Merge pull request #5395 from clemrodriguez/master
...
Close MySQL connections opened by external MySQL dictionaries
2019-05-25 14:13:51 +03:00
Anastasiya Rodigina
6c779e63b0
Edit reverse order
2019-05-25 14:09:23 +03:00
alexey-milovidov
9e24c8d19a
Merge pull request #5396 from 4ertus2/ast
...
Support IN in CrossToInnerJoin push down predicates
2019-05-25 14:07:45 +03:00
alexey-milovidov
661d661d57
Update CrossToInnerJoinVisitor.cpp
2019-05-25 14:05:12 +03:00
proller
6c1cb02172
CLICKHOUSE-4523 Fix "Column '0' already exists" in SELECT .. PREWHERE on column with DEFAULT ( #5397 )
...
* CLICKHOUSE-4523 Fix "Column '0' already exists" in SELECT .. PREWHERE on column with DEFAULT
* fix style
* Fix build
* Update iostream_debug_helpers.cpp
* Update evaluateMissingDefaults.cpp
2019-05-25 14:03:12 +03:00
alexey-milovidov
1d98441c34
Update ExpressionAnalyzer.cpp
2019-05-25 13:51:48 +03:00
Alexander Kozhikhov
464083803b
redundant include
2019-05-25 12:44:11 +03:00
Alexander Kozhikhov
a63ad11ee7
LinearRegression without -State modifier now simply returns its weights
2019-05-25 02:18:44 +03:00
Nikita Lapkov
30c31bc85a
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-05-24 13:28:42 +00:00
Clément Rodriguez
8e8a563e30
Code style fixes
2019-05-24 14:30:12 +02:00
chertus
9eca696e82
actualize isNumber for Decimal
2019-05-24 15:11:03 +03:00
alexey-milovidov
9d7754e332
Merge pull request #5391 from yandex/rename-regression-methods
...
Rename regression methods.
2019-05-24 13:01:50 +03:00
Constantin S. Pan
cbc0f56af1
Mark all input columns in LIMIT BY as required output
...
The query analyzer only marks the actual arguments of LIMIT BY as required
output for the LimitBy step in the pipeline. This is fine, unless the query is
distributed, in which case the first stage might remove a column that is used
at the second stage (e.g. for ORDER BY) but is not part of the final select.
Prevent removal of any columns in LimitBy by marking all input columns as
required output.
2019-05-24 09:53:09 +01:00
alexey-milovidov
f54b01fad8
Merge pull request #5393 from abyss7/fix-blockio
...
Fix order of destruction inside BlockIO
2019-05-23 21:49:40 +03:00
chertus
333c9aeecc
support IN in CrossToInnerJoin push down
2019-05-23 19:01:17 +03:00
alesapin
15e31d5a8c
Merge pull request #5392 from yandex/insert_data_to_null_columns
...
Add ability to insert data in column nullable
2019-05-23 17:38:01 +03:00
chertus
f82ea1c1d5
dictGet() dictGetOrDefault for Decimals
2019-05-23 17:04:33 +03:00
Clément Rodriguez
c4c99c80a1
Make the connection closure parameterized in dictionary.xml
2019-05-23 15:55:00 +02:00
Ivan Lezhankin
646d6f3fb5
Fix order of destruction
2019-05-23 16:54:11 +03:00
alesapin
d860b3912b
Insert data in column nullable
2019-05-23 16:35:26 +03:00