Vitaly Baranov
2886f42c0e
Implemented a new block output stream using protobuf output format.
2019-01-24 17:54:57 +03:00
Vitaly Baranov
c241a4ea6d
Added function serializeProtobuf() to each data type.
2019-01-24 17:54:57 +03:00
Vitaly Baranov
1e7a231c56
Implemented main class for writing protobufs.
2019-01-24 17:54:52 +03:00
Vitaly Baranov
42d9d4e81d
Implemented storage for parsed protobuf schemas.
2019-01-24 17:32:10 +03:00
Vitaly Baranov
28e9837819
Implemented utility class for writing protobufs.
2019-01-24 17:32:01 +03:00
Vitaly Baranov
b1aba679d0
Class WriteBufferFromOwnString now can return StringRef too.
2019-01-24 17:32:01 +03:00
Vitaly Baranov
ec37ef5a89
No escaping for the format schema file's name anymore,
...
added an utility class for parsing and checking the format schema.
2019-01-24 17:31:41 +03:00
chertus
cbbf04204b
JOIN with USING: do not duplicate columns
2019-01-24 17:22:58 +03:00
Ivan Lezhankin
9636bdcd67
Fix build
2019-01-24 15:44:58 +03:00
Léo Ercolanelli
ba1f1c7460
sumMapFiltered: use an unordered_set
2019-01-24 13:32:30 +01:00
Léo Ercolanelli
90afad8c00
sumMapFiltered: improve error reporting on parameter type mismatch
2019-01-24 13:32:30 +01:00
Léo Ercolanelli
a8647761ce
sumMapFiltered: fix dangling reference
2019-01-24 13:32:30 +01:00
Ivan Lezhankin
862d419f31
Fix losing the next message after a broken one.
2019-01-24 14:58:25 +03:00
Ivan Lezhankin
425d483cfb
Add integration tests
2019-01-24 14:58:25 +03:00
Ivan Lezhankin
c8e605327d
Split StorageKafka.cpp on smaller files per class
2019-01-24 14:58:24 +03:00
Léo Ercolanelli
22f7bd03b9
sumMapFiltered: use CRTP instead of virtual for keepKey
2019-01-24 09:02:17 +01:00
Léo Ercolanelli
efb1cb0528
sumMapFiltered: remove this->
in constructor
2019-01-24 08:58:57 +01:00
alexey-milovidov
f13d094a4e
Merge pull request #3973 from amosbird/join_overwrite
...
Add join_overwrite settings for StorageJoin.
2019-01-24 02:05:13 +03:00
alexey-milovidov
e6e404ae58
Merge pull request #4133 from abyss7/refactor-block_input_stream
...
Merge `IBlockInputStream` and `IProfilingBlockInputStream` into one
2019-01-24 01:14:34 +03:00
Vitaly Baranov
67fca7e029
Add support for settings 'format_schema' in an output query.
...
This fixes syntax error when executing 'SELECT ... FORMAT ... SETTINGS format_schema=...'
2019-01-23 22:23:37 +03:00
Danila Kutenin
784c3e5fda
fix of ppc64le definitions
2019-01-23 18:24:14 +03:00
Ivan Lezhankin
05ab15cc84
Merge IBlockInputStream
and IProfilingBlockInputStream
into one
2019-01-23 17:48:50 +03:00
Danila Kutenin
f6e6f99737
fix
2019-01-23 17:26:05 +03:00
Léo Ercolanelli
8ad1a55f3b
implement sumMapFiltered
2019-01-23 15:23:04 +01:00
Danila Kutenin
7f4b0f3c04
added powerpc build support
2019-01-23 17:18:19 +03:00
Alexey Zatelepin
b623d4302c
add clone() calls when copying ASTs from stored mutation commands (just in case) #4058
2019-01-23 16:27:01 +03:00
Alexey Zatelepin
da0f555484
speedup calculation of ASTLiteral hash a bit #4058
2019-01-23 16:20:03 +03:00
Alexey Zatelepin
370c8c4e54
Merge branch 'master' into mutations-fix-in
...
Conflicts:
dbms/src/Parsers/IAST.h
2019-01-23 14:47:53 +03:00
Alexey Zatelepin
f3b4292fc6
add data types to the prepared_sets key for literals #4058
2019-01-23 14:20:01 +03:00
Alexey Zatelepin
5154814bf9
try to get rid of IAST::range #4058
2019-01-23 14:19:22 +03:00
Nikita Vasilev
296ad9163c
fix
2019-01-23 12:10:52 +03:00
maiha
6c83beafdd
dbms: Fixed misspells in comments
2019-01-23 04:56:53 +09:00
Nikita Vasilev
d8f3bf7882
refactoring
2019-01-22 22:43:52 +03:00
chertus
f54ed4a2e3
do not revisit ArrayJoin identifiers
2019-01-22 21:02:53 +03:00
chertus
97199b9712
fix ArrayJoin columns calculation
2019-01-22 20:36:08 +03:00
Nikita Vasilev
d47cd4825d
Merge remote-tracking branch 'upstream/master' into nikvas0/index
2019-01-22 19:02:20 +03:00
Nikita Vasilev
9ee50da8b6
refactor
2019-01-22 18:58:11 +03:00
chertus
1d0bee7dee
fix collecting required columns in lambda
2019-01-21 22:56:11 +03:00
Alexey Milovidov
c70e8cc5f0
Miscellaneous #3726
2019-01-21 22:45:26 +03:00
alexey-milovidov
b41fa8e7af
Merge pull request #3726 from zhang2014/feature/use_cluster_pool
...
Use cluster connections pool in DirectoryMonitor
2019-01-21 22:33:19 +03:00
Alexey Milovidov
f7ecfc776b
Miscellaneous #4111
2019-01-21 21:04:08 +03:00
alexey-milovidov
09b991b47c
Merge pull request #4111 from yandex/compression_codecs_log_storages
...
Compression codecs log storages
2019-01-21 20:59:56 +03:00
Nikita Vasilev
51830221bd
refactoring
2019-01-21 20:54:27 +03:00
Nikita Vasilev
08adef7027
rename
2019-01-21 20:17:21 +03:00
Alexey Milovidov
47139adc5b
Merge branch 'master' into test-hint-fix
2019-01-21 18:28:23 +03:00
Nikita Vasilev
2a76e86338
Merge branch 'nikvas0/index' into nikvas0/parse_index
2019-01-21 17:54:13 +03:00
Nikita Vasilev
03cf70e960
Merge remote-tracking branch 'upstream/master' into nikvas0/index
2019-01-21 17:52:38 +03:00
Nikita Vasilev
f0a0dbbf5a
fixed bug with replMT indices storing in zk
2019-01-21 17:47:47 +03:00
alesapin
88c413fbe2
Remove accidental change
2019-01-21 17:03:34 +03:00
alesapin
34fb1c89f1
Add ability to choose codecs for storage log and tiny log
2019-01-21 17:00:06 +03:00
Nikita Vasilev
506f2c41c8
fixed MT alter
2019-01-21 16:51:42 +03:00
Alexey Milovidov
ac0060079a
Fixed warnings in SpecializedAggregator
2019-01-21 16:13:20 +03:00
Nikolai Kochetov
e8aa41b6ac
Merge branch 'master' into unified-sets
2019-01-21 13:40:47 +03:00
Nikolai Kochetov
6fce028b56
Refactor ColumnsHashing.
2019-01-21 13:39:53 +03:00
Nikolai Kochetov
d207498573
Added ColumnsHashing
2019-01-21 13:39:24 +03:00
Nikita Vasilev
c32d1983a0
go to indicesDescr
2019-01-21 12:47:35 +03:00
Nikita Vasilev
977b1e20d0
moved indices
2019-01-20 23:03:17 +03:00
Nikita Vasilev
3f5447f471
go to IndicesDescr
2019-01-20 21:43:49 +03:00
Nikita Vasilev
093b94ae38
basic IndicesDescription
2019-01-20 20:49:53 +03:00
Nikita Vasilev
d6545177fb
fix err
2019-01-20 18:50:11 +03:00
Nikita Vasilev
9120bebe56
fixed printing
2019-01-20 18:02:19 +03:00
Nikita Vasilev
cf377b9828
fixed parsing
2019-01-20 14:40:58 +03:00
Nikita Vasilev
5e626be07f
fix
2019-01-20 14:34:13 +03:00
Nikita Vasilev
13a4fb2756
replaced columns
2019-01-20 14:03:21 +03:00
Nikita Vasilev
bc0e4facc8
fix comments
2019-01-20 12:33:29 +03:00
Nikita Vasilev
8152bc40d5
fix
2019-01-20 12:24:31 +03:00
Nikita Vasilev
4bf0ac886b
added useful parsers and ast classes
2019-01-20 12:19:34 +03:00
Nikita Vasilev
4a19523698
Merge remote-tracking branch 'upstream/master' into nikvas0/index
2019-01-20 10:14:06 +03:00
alexey-milovidov
ee23f6997d
Merge pull request #4084 from yandex/storage_hdfs_improvements
...
Storage hdfs write and refactoring
2019-01-20 02:51:39 +03:00
alexey-milovidov
9a22185bd6
Update ReadBufferFromHDFS.cpp
2019-01-20 02:51:03 +03:00
Alexey Milovidov
c7b95b5175
Miscellaneous changes for PVS-Studio
2019-01-20 02:27:52 +03:00
alesapin
21f1c4d1ce
Better code and tests for bad cases
2019-01-19 23:17:19 +03:00
alesapin
33d5f0c8dd
Fix potential null pointer dereference
2019-01-18 21:57:11 +03:00
alexey-milovidov
3c6263e89e
Merge pull request #4094 from abyss7/issue-2675
...
Add setting to Kafka Engine to control number of parsing errors
2019-01-18 21:46:52 +03:00
alesapin
66bd80703e
Fix clang warning
2019-01-18 19:17:24 +03:00
Boris Granveaud
f1a7f60165
new functions filesystemAvailable, filesystemFree and filesystemCapacity
2019-01-18 16:44:53 +01:00
Ivan Lezhankin
5f74094edb
Fix a setting description.
2019-01-18 16:15:36 +03:00
alesapin
7c1c6eba8b
Wrap hdfsBuilder into unique ptr
2019-01-18 15:48:55 +03:00
Ivan Lezhankin
89ffb577b1
Implement additional Kafka engine setting for allowed parsing errors
2019-01-18 15:48:38 +03:00
alesapin
a139f375c3
Remove copypaste
2019-01-18 14:39:36 +03:00
alesapin
71e58ca001
Fix potential leak in read buffer
2019-01-18 14:01:07 +03:00
alesapin
83c32727dc
Remove strange commit
2019-01-18 13:57:00 +03:00
alesapin
2f7b63cf71
Fix review notes
2019-01-18 13:55:03 +03:00
zhang2014
998591b30d
fix build failure
2019-01-18 10:31:28 +08:00
alexey-milovidov
3d4bd7cbf8
Merge branch 'master' into feature/use_cluster_pool
2019-01-18 01:02:39 +03:00
alexey-milovidov
7beb25eaaf
Merge pull request #4087 from 4ertus2/joins
...
child free ASTIdentifier
2019-01-18 00:51:08 +03:00
alexey-milovidov
908015aa4b
Merge pull request #4088 from proller/fix14
...
CLICKHOUSE-4257 remoteSecure
2019-01-18 00:48:55 +03:00
Alexey Milovidov
a7c468da8e
Merge remote-tracking branch 'origin/master' into global-thread-pool
2019-01-17 21:57:01 +03:00
Alexey Milovidov
c3aae60aed
Trying to understand the code #4063
2019-01-17 21:49:56 +03:00
proller
e778a5eeca
Fix port secelt
2019-01-17 21:49:01 +03:00
Nikita Vasilev
0e6f5b4356
fix
2019-01-17 21:22:45 +03:00
proller
f2bbac6523
CLICKHOUSE-4257 remoteSecure
2019-01-17 20:55:44 +03:00
chertus
5289c1337e
child free ASTIdentifier
2019-01-17 20:01:48 +03:00
alesapin
b6ad3cf148
Remove shadow variable warning
2019-01-17 19:15:51 +03:00
Alexey Zatelepin
addc9a43b0
remove unused IAST field
2019-01-17 18:52:29 +03:00
Alexey Milovidov
736e1e2d71
Fixed build #4063
2019-01-17 18:21:21 +03:00
Alexey Milovidov
303c3cc043
Merge branch 'master' of https://github.com/Miniwoffer/ClickHouse into Miniwoffer-master
2019-01-17 18:04:06 +03:00
Alexey Milovidov
178302cc5d
Miscellaneous #3960
2019-01-17 17:45:02 +03:00
Nikita Vasilev
8c2a23a129
MTReadStream
2019-01-17 17:23:12 +03:00
alesapin
07e11577d3
Add write logic and remove strange multifile read logic
2019-01-17 17:10:30 +03:00
alexey-milovidov
0ec1fdef04
Merge pull request #3960 from yandex/zk-columns-compact-storage
...
Compact storage of the part header in ZooKeeper
2019-01-17 17:05:01 +03:00
Nikita Vasilev
c4a725a496
indices
2019-01-17 15:11:36 +03:00
alesapin
2d3e08fc74
Refactor ReadBufferFromHDFS
2019-01-17 14:26:29 +03:00
Nikita Vasilev
6b8c7dadb9
fix
2019-01-17 14:10:43 +03:00
Nikita Vasilev
8d47872436
fix
2019-01-17 13:09:51 +03:00
Nikita Vasilev
6a09340eed
Merge remote-tracking branch 'upstream/master' into nikvas0/index
2019-01-17 12:34:51 +03:00
Nikita Vasilev
d514d3739a
fixed repl alter
2019-01-17 12:16:39 +03:00
Nikita Vasilev
062819f0a2
new test and repl fix
2019-01-17 11:05:26 +03:00
alexey-milovidov
b50fa22606
Merge pull request #4077 from 4ertus2/joins
...
Some more ASTIdentifier refactoring
2019-01-17 00:58:36 +03:00
Nikita Vasilev
f8fa36c6bd
fix metadata editing
2019-01-16 22:47:21 +03:00
Nikita Vasilev
62dde8c327
fixed alter bug with drop all indices
2019-01-16 22:31:04 +03:00
chertus
394e8b0378
minor improvements and fix
2019-01-16 21:38:19 +03:00
chertus
6a79a03a9e
minor improvements
2019-01-16 21:38:19 +03:00
chertus
738080c73f
minor improvements
2019-01-16 21:38:19 +03:00
chertus
8bb35ac987
minor changes
2019-01-16 21:38:19 +03:00
Nikita Vasilev
579832ff9b
upd setSkipIndexes
2019-01-16 21:35:03 +03:00
Nikita Vasilev
08d23c16d1
fixes
2019-01-16 21:24:38 +03:00
Nikita Vasilev
b4ce03ea7e
alter fix + test
2019-01-16 20:59:47 +03:00
Danila Kutenin
45882dc048
Merge branch 'danlark1-master'
2019-01-16 20:46:51 +03:00
Danila Kutenin
4f29102e7f
Merge branch 'master' of https://github.com/yandex/ClickHouse
2019-01-16 20:44:21 +03:00
Danila Kutenin
12bcff48ee
Miscellaneous and some optimizations
2019-01-16 20:41:08 +03:00
Alexey Milovidov
61a59956b3
Indentation #4004
2019-01-16 20:25:06 +03:00
Nikita Vasilev
2de2b6f32e
fixed alter
2019-01-16 19:53:38 +03:00
Alexey Zatelepin
be6a8d6118
fix clang build
2019-01-16 19:42:02 +03:00
Alexey Milovidov
23fbf18555
Merge branch 'sequence-max-iterations' of https://github.com/ercolanelli-leo/ClickHouse into ercolanelli-leo-sequence-max-iterations
2019-01-16 19:37:51 +03:00
Léo Ercolanelli
043ef82468
fix style in AggregateFunctionSequenceMatch.h
2019-01-16 17:20:29 +01:00
Alexey Milovidov
bf2ca149c9
Merge branch 'sequence-max-iterations' of https://github.com/ercolanelli-leo/ClickHouse into ercolanelli-leo-sequence-max-iterations
2019-01-16 18:22:35 +03:00
Alexey Zatelepin
0f8e5f8522
Merge branch 'master' into zk-columns-compact-storage
...
Conflicts:
dbms/src/Storages/StorageReplicatedMergeTree.cpp
2019-01-16 17:45:16 +03:00
Danila Kutenin
1badabdcd0
Merge branch 'master' of https://github.com/yandex/ClickHouse
2019-01-16 17:06:38 +03:00
Alexey Milovidov
7d03804d06
Miscellaneous #4053
2019-01-16 16:57:11 +03:00
Alexey Milovidov
0817ff0d58
Merge branch 'master' of https://github.com/danlark1/ClickHouse into danlark1-master
2019-01-16 16:28:28 +03:00
alexey-milovidov
eeac860e0a
Update CapnProtoRowInputStream.cpp
2019-01-16 16:14:54 +03:00
alexey-milovidov
fb68929b10
Update CapnProtoRowInputStream.cpp
2019-01-16 16:14:34 +03:00
Nikita Vasilev
65539bfea0
fix "after"
2019-01-16 16:05:27 +03:00
Nikita Vasilev
8c35ccdd1d
fix alters
2019-01-16 15:29:26 +03:00
Léo Ercolanelli
6048a83462
add comment to sequenceMatch's DFA implementation
2019-01-16 10:39:35 +01:00
Léo Ercolanelli
04651503d6
sequence: implement DFA matching algorithm
2019-01-16 10:39:35 +01:00
Alexey Milovidov
78671d15bd
Avoid bad code #4052
2019-01-16 03:52:33 +03:00
Alexey Milovidov
e8871bc211
Added a check #3837
2019-01-16 03:26:15 +03:00
alesapin
e33de8133e
Unaligned store of the first element
2019-01-15 23:50:57 +03:00
Nikita Vasilev
b110738f61
alters fix
2019-01-15 22:14:47 +03:00
Nikita Vasilev
2f07e31903
fix
2019-01-15 20:39:10 +03:00
Danila Kutenin
ce90ad32d1
some style
2019-01-15 19:26:14 +03:00
Nikita Vasilev
026a30092e
added alter
2019-01-15 17:49:22 +03:00
alesapin
361d26c643
Use information about type in Delta codec to choose correct delta size if possible
2019-01-15 17:20:34 +03:00
alesapin
37c78aa3d2
Merge branch 'master' of github.com:yandex/ClickHouse into compression_codec_delta
2019-01-15 16:24:49 +03:00
Danila Kutenin
43965c1703
Merge branch 'master' of https://github.com/yandex/ClickHouse
2019-01-15 16:19:15 +03:00
alesapin
4714bb5f68
Merge pull request #4054 from yandex/compression_codec_alter
...
Compression codec alter
2019-01-15 16:18:33 +03:00
alesapin
8315c540d4
Merge branch 'master' into compression_codec_delta
2019-01-15 15:45:02 +03:00
chertus
a5d8858ee2
minor ASTIdentifier changes
2019-01-15 15:28:17 +03:00
alesapin
48847441f1
Add spaces in codecs description
2019-01-15 14:06:00 +03:00
alesapin
694f746798
Merge branch 'master' into compression_codec_alter
2019-01-15 13:52:45 +03:00
Odin Hultgren Van Der Horst
3ff868917e
Changed tabs to spaces
2019-01-15 09:41:48 +01:00
Odin Hultgren Van Der Horst
3378bf58f5
Comments and changes to parent check
...
- Added some comments.
- Immplemented a recurisve parent check so fields with parents by
the same name but grandparents with diffrent names dont cause problems
2019-01-15 09:27:38 +01:00
Odin Hultgren Van Der Horst
8bff8d4e2d
Merge branch 'master' of https://github.com/yandex/ClickHouse
2019-01-15 08:13:51 +01:00
alexey-milovidov
27a0c37d77
Update Join.h
2019-01-15 00:41:35 +03:00
alexey-milovidov
64c31a6ad7
Update Join.h
2019-01-15 00:40:42 +03:00
alexey-milovidov
8a401e491a
Update Join.cpp
2019-01-15 00:40:02 +03:00
alexey-milovidov
bcc54d1606
Merge pull request #4025 from abyss7/fix-kafka
...
Update Kafka libraries
2019-01-15 00:23:20 +03:00
alexey-milovidov
8a251753be
Merge pull request #4056 from 4ertus2/ast
...
Helpers for ASTIdentifier (based on 'QueryNormalizer refactoring' changes)
2019-01-15 00:22:54 +03:00
alexey-milovidov
d727689ca4
Merge pull request #4031 from 4ertus2/joins
...
QueryNormalizer refactoring
2019-01-15 00:22:23 +03:00
Alexey Milovidov
f6b9b06307
Attempt to implemnt global thread pool #4018
2019-01-14 22:22:09 +03:00
Nikolai Kochetov
5a50a4fe21
Fix aggregate function low cardinality array argument. #4038
2019-01-14 21:17:55 +03:00
chertus
dbb88e8cb4
helpers for ASTIdentifier (hide semantic and casts)
2019-01-14 21:15:04 +03:00
proller
4b6af5788a
Fix macos build
2019-01-14 19:55:11 +03:00
Danila Kutenin
a5669b6b7a
MultiVolnitsky added with tests and some benchmark, many multiFunctions are added to support multistring search
2019-01-14 18:54:47 +03:00
proller
72df7ceee6
Macos build fix
2019-01-14 18:20:09 +03:00
zhang2014
cdb138f13c
merge
2019-01-14 18:14:34 +03:00
alesapin
4089700e6d
Fix segfault but don't know why
2019-01-14 18:10:48 +03:00
proller
af0b875f57
Fix macos build
2019-01-14 17:17:43 +03:00
proller
c0b72492c0
Fix macos build
2019-01-14 16:34:14 +03:00
alesapin
23a53c7e4e
Add compression codec delta
2019-01-14 14:55:53 +03:00
alesapin
c8257f6d0b
Add compression codec delta and fix naming for parametric codecs
2019-01-14 14:54:40 +03:00
proller
5024d1b7f7
Fix macos build
2019-01-14 14:53:22 +03:00
Ivan Lezhankin
337c092c7e
Use cppkafka instead of raw C interface
2019-01-14 14:15:57 +03:00
Ivan Lezhankin
9c35598373
Add cppkafka to contrib
2019-01-14 14:15:57 +03:00
chertus
5147e2ad03
Merge branch 'master' into joins
2019-01-14 14:11:35 +03:00
Alexey Milovidov
35c35f1c77
Merge branch 'global-thread-pool' of github.com:yandex/ClickHouse into global-thread-pool
2019-01-14 14:01:52 +03:00
Alexey Milovidov
aec5570b6e
Attempt to implemnt global thread pool #4018
2019-01-14 13:59:58 +03:00
Nikita Vasilev
e197697b22
fix
2019-01-13 22:31:48 +03:00
Alexey Milovidov
00a4b2cf8a
Removing garbage, part 1
2019-01-13 21:51:57 +03:00
Alexey Milovidov
a6bf5a7e28
Addition to prev. revision
2019-01-13 20:49:21 +03:00
Nikita Vasilev
d0db87b412
alter cmds parse
2019-01-13 20:23:08 +03:00
Nikita Vasilev
4f48ebd971
removed throw
2019-01-13 19:05:21 +03:00
Nikita Vasilev
183ddea518
added parsing
2019-01-13 19:04:41 +03:00
Nikita Vasilev
e288022fea
Merge remote-tracking branch 'upstream/master' into nikvas0/index
2019-01-13 17:33:24 +03:00
alexey-milovidov
5c5358f9c9
Merge pull request #4042 from yandex/compiled_expressions_cache_memory_usage
...
Try to reduce CompiledExpressionsCache size
2019-01-12 13:19:58 +03:00
alesapin
a9550c5a43
Update ExpressionJIT.cpp
2019-01-12 10:19:18 +03:00
alesapin
748bcb0a3c
Remove accident changes
2019-01-12 00:18:57 +03:00
alesapin
00200615e8
Trying to remove redundant objects from CompiledExpressionsCache (LLVMFunction), also remove CompiledExpressionsCacheBytes metric because it's not connected with real size
2019-01-12 00:16:49 +03:00
chertus
b759219243
fix crash on wrong data
2019-01-11 22:33:00 +03:00
Alexey Milovidov
0afee1df23
Attempt to implemnt global thread pool #4018
2019-01-11 22:27:24 +03:00
Alexey Milovidov
abcd5a2a49
Attempt to implemnt global thread pool #4018
2019-01-11 22:12:36 +03:00
chertus
e098348aa4
more QueryNormalizer refactoring: split visit function
2019-01-11 22:07:38 +03:00
Alexey Milovidov
9031be381a
Attempt to implemnt global thread pool #4018
2019-01-11 19:59:15 +03:00
proller
7cefef6983
Fix linking in all modes (unbundled, split, ...) ( #4037 )
2019-01-11 19:52:46 +03:00
chertus
c53854125f
QueryNormalizer with visitor interface
2019-01-11 17:09:23 +03:00
chertus
861c225c1e
one another build fix
2019-01-11 01:04:37 +03:00
chertus
0084785898
fix build
2019-01-11 00:05:01 +03:00
chertus
275d6b2fcc
some QueryNormalizer refactoring
2019-01-10 21:58:55 +03:00
Nikita Vasilev
89b831eaf7
added indexes meta to zookeeper
2019-01-10 20:48:04 +03:00
Nikita Vasilev
d310d1a5ec
fixed setSkipIndexes
2019-01-10 19:51:49 +03:00
Nikita Vasilev
0c18e73871
Merge remote-tracking branch 'upstream/master' into nikvas0/index
2019-01-10 17:55:08 +03:00
Nikita Vasilev
701627ec60
fixed includes
2019-01-10 16:50:41 +03:00
Nikita Vasilev
634d5eb516
fix style
2019-01-10 16:30:06 +03:00
Nikita Vasilev
3f8c2ad814
fixed constructor
2019-01-10 15:57:12 +03:00
alesapin
8ae59da557
Fix name hiding
2019-01-10 14:46:20 +03:00
alesapin
6401628dc8
Fix clang-7 werrors
2019-01-10 14:25:59 +03:00
Odin Hultgren Van Der Horst
b844bdef15
Tabs are now spaces
2019-01-10 09:18:13 +01:00
Odin Hultgren Van Der Horst
23c93b8c79
Removed include statemnets
2019-01-10 08:55:59 +01:00
alexey-milovidov
9b46678920
Merge pull request #4014 from 4ertus2/joins
...
minor SyntaxAnalyzer refactoring
2019-01-09 23:10:40 +03:00
alexey-milovidov
6fabb5eb03
Merge pull request #4017 from yandex/netlink-sockets-pool
...
Don't use a pool for TaskStatsInfoGetters
2019-01-09 22:56:27 +03:00
alexey-milovidov
a739edc239
Merge pull request #4013 from yandex/pvs-studio-fixes-2
...
Fixed bugs found by PVS-Studio
2019-01-09 22:55:11 +03:00
Nikita Vasilev
d9b7f30245
added indexes to checkDataPart
2019-01-09 22:20:50 +03:00
proller
64c2c3650c
cmake: Dont cache version; macos: fix build; /release_lib.sh move to utils ( #4016 )
2019-01-09 21:32:43 +03:00
Alexey Zatelepin
006a764df9
don't use pool for TaskStatsInfoGetter [#CLICKHOUSE-4209]
...
Pool is not needed because creation of a TaskStatsInfoGetter takes
an order of 10us. Also pool is harmful because created sockets are
never closed.
2019-01-09 20:52:25 +03:00
chertus
c460a270da
enlight when SyntaxAnalyzer affects only selects
2019-01-09 20:40:26 +03:00
Alexey Milovidov
4712fd668e
Addition to prev. revision
2019-01-09 20:31:30 +03:00
chertus
7ba268049a
extract OptimizeIfWithConstantConditionVisitor from SyntaxAnalyzer
2019-01-09 20:06:40 +03:00
Nikita Vasilev
0ba6f1421a
fixed style
2019-01-09 20:05:52 +03:00
alexey-milovidov
08f4e792b1
Merge pull request #4009 from yandex/test_for_remote_global_in_user
...
Fix bug with wrong user in remote table function.
2019-01-09 19:29:34 +03:00
alexey-milovidov
ca7c3c0bfd
Merge pull request #4012 from yandex/fix-low-cardinality-numeric-distinct
...
Distinct by single LowCardinality numeric column.
2019-01-09 19:28:42 +03:00
chertus
729ca697d9
minor SyntaxAnalyzer refactoring
2019-01-09 19:16:59 +03:00
Alexey Milovidov
19f4652959
Fixed bugs found by PVS-Studio
2019-01-09 18:44:20 +03:00
Odin Hultgren Van Der Horst
ffdf565528
Merge branch 'master' of https://github.com/Miniwoffer/ClickHouse
2019-01-09 15:27:11 +00:00
Odin Hultgren Van Der Horst
96352ce78d
Added _ as delim
...
Added _ as delim
This makes it so you do not have to use . when addresing structures
and since Capnproto can not use _ in its naming its fine to use.
2019-01-09 15:24:17 +00:00
alexey-milovidov
715abd0e0a
Merge pull request #4011 from yandex/fix-empty-low-cardinality-array
...
LowCardinality empty array serialization.
2019-01-09 18:22:05 +03:00
Nikolai Kochetov
5ab362a303
Fix distinct by single LowCardinality numeric column.
2019-01-09 17:47:51 +03:00
Nikita Vasilev
10355ae555
Merge remote-tracking branch 'upstream/master' into nikvas0/index
2019-01-09 17:36:06 +03:00
Alexey Milovidov
87c4443f98
Removed outdated test
2019-01-09 17:34:25 +03:00
Nikita Vasilev
d8f8b6352b
removed test index
2019-01-09 17:30:25 +03:00
Nikita Vasilev
1e8fa5d9ea
working minmax
2019-01-09 17:15:23 +03:00
alesapin
b8efafd400
Fix bug with wrong user restrictions in remote table func
2019-01-09 15:21:04 +03:00
Nikolai Kochetov
cea23a1486
Fix LowCardinality empty array serialization. #3907
2019-01-09 15:16:03 +03:00
Nikita Vasilev
91fb17f27f
fixed mutation
2019-01-09 12:55:28 +03:00
Nikita Vasilev
e580180efc
fixed merging
2019-01-09 12:54:18 +03:00
alexey-milovidov
0648088ff0
Merge pull request #4000 from housepower/feature/gccHash
...
Add gccHash function
2019-01-09 10:29:37 +03:00
sundy-li
31a516300a
rename to gccMurmurHash
2019-01-09 10:03:50 +08:00
Nikita Vasilev
6eeed48e86
fixed select
2019-01-08 23:17:45 +03:00
Nikita Vasilev
ad4df16899
fix
2019-01-08 22:41:36 +03:00
Nikita Vasilev
49148ac3e9
minmax index
2019-01-08 20:27:44 +03:00
Alexey Milovidov
ad586e9bd2
Miscellaneous #4000
2019-01-08 18:57:15 +03:00
Alexey Milovidov
ed07c1a1d2
Added "reserve" for "arrayFirst" #3920
2019-01-08 18:30:04 +03:00
Alexey Milovidov
da449ff9d1
Little better #3920
2019-01-08 17:56:50 +03:00
Alexey Milovidov
3874dc5ac3
Fixed error in #3920
2019-01-08 17:56:07 +03:00
Alexey Milovidov
a594293b50
Addition to Amos Bird changes #3920
2019-01-08 17:55:37 +03:00
alexey-milovidov
2884b870b3
Merge pull request #3993 from yandex/weverything-2
...
Added more warnings from clang's -Weverything, that are available in clang 8
2019-01-08 17:54:43 +03:00
Odin Hultgren Van Der Horst
68ed4d5c78
Removed console logs used in debuging
2019-01-08 15:02:41 +01:00
Odin Hultgren Van Der Horst
3875265721
CapnProto should now load jagged structures
...
Changed how actions are created for CapnProto so it supports jagged
structures.
2019-01-08 14:57:52 +01:00
Nikita Vasilev
d1e2ab85e3
asts -> exprlist
2019-01-08 14:04:25 +03:00
Alexey Milovidov
0630e67a21
Addition to Amos Bird changes #3920
2019-01-08 13:07:33 +03:00
Nikita Vasilev
48e136f029
unique names
2019-01-08 12:38:46 +03:00
sundy-li
e6c02a2356
Add gccHash function
2019-01-08 13:12:52 +08:00
Nikita Vasilev
541c641b24
fix
2019-01-08 00:06:08 +03:00
Alexey Milovidov
d4f5310358
Miscellaneous [#CLICKHOUSE-2]
2019-01-07 22:57:32 +03:00
Alexey Milovidov
1c7ccbf108
Miscellaneous [#CLICKHOUSE-2]
2019-01-07 22:56:53 +03:00
Nikita Vasilev
76c25c2024
fixed
2019-01-07 22:21:51 +03:00
Nikita Vasilev
69c6e77d53
fixed nullptr error
2019-01-07 21:53:51 +03:00
Nikita Vasilev
6871665231
test index
2019-01-07 19:49:34 +03:00
Nikita Vasilev
11d37efa74
reading
2019-01-07 15:51:14 +03:00
Alexey Milovidov
0dfa553fca
Added more warnings from clang's -Weverything, that are available in clang 8
2019-01-07 13:40:58 +03:00
Alexey Milovidov
a5e354fba9
Fixed warning [#CLICKHOUSE-2]
2019-01-07 11:00:29 +03:00
Amos Bird
8ea4d7987b
Add join_overwrite settings for StorageJoin.
...
This makes using StorageJoin as dictionary more flexible.
2019-01-07 01:23:26 +08:00
Nikita Vasilev
17f6618fa3
fix
2019-01-06 18:22:04 +03:00
alexey-milovidov
14f471dd0d
Merge pull request #3980 from zhang2014/fix/ISSUES-3710
...
ISSUES-3710 fix alias is missing when distributed & join on
2019-01-06 17:26:45 +03:00
Nikita Vasilev
e95376e550
Merge branch 'master' into nikvas0/index
2019-01-06 16:21:00 +03:00
Nikita Vasilev
7e0e301067
fix
2019-01-06 15:12:42 +03:00
Nikita Vasilev
83368a4866
upd error
2019-01-06 15:10:22 +03:00
Alexey Milovidov
a058cc1983
Added some warnings from clang's -Weverything
2019-01-06 14:13:26 +03:00
Alexey Milovidov
588ee498ba
Added some warnings from clang's -Weverything
2019-01-06 11:31:22 +03:00
Nikita Vasilev
c3f1784dbc
fixes
2019-01-05 22:27:31 +03:00
Nikita Vasilev
61b9c7735b
add rw for MergeTreeIndexes
2019-01-05 21:33:30 +03:00
Nikita Vasilev
82cc39d441
added setSkipIndexes
2019-01-05 15:35:13 +03:00
Nikita Vasilev
1c806288bf
fix
2019-01-05 12:26:02 +03:00
Alexey Milovidov
06a8c3f02d
Added some warnings from clang's -Weverything
2019-01-05 06:33:22 +03:00
Alexey Milovidov
d3f5be212d
Added some warnings from clang's -Weverything
2019-01-05 03:55:47 +03:00
Nikita Vasilev
f92750223f
removed indexpart class
2019-01-04 18:54:34 +03:00
Nikita Vasilev
92a850ceb0
added writing indexes
2019-01-04 17:33:38 +03:00
Alexey Milovidov
afda68d25c
Added some warnings from clang's -Weverything
2019-01-04 17:18:49 +03:00
Alexey Milovidov
67c236b067
Added some warnings from clang's -Weverything
2019-01-04 17:14:48 +03:00
Alexey Milovidov
445fc2bb43
Added some warnings from clang's -Weverything
2019-01-04 17:10:36 +03:00
Alexey Milovidov
cf1cacc366
Added some warnings from clang's -Weverything
2019-01-04 16:54:39 +03:00
Alexey Milovidov
4622f5dc7c
Added some warnings from clang's -Weverything
2019-01-04 16:32:08 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Nikita Vasilev
35dbb94312
fix
2019-01-03 19:47:42 +03:00
Alexey Milovidov
acb9696ddd
Miscellaneous [#CLICKHOUSE-2]
2019-01-03 11:40:48 +03:00
Nikita Vasilev
69052b3fc0
fix
2019-01-03 11:10:25 +03:00
zhang2014
a445514b61
ISSUES-3710 fix alias is missing when distributed & join on
2019-01-03 15:33:03 +08:00
Nikita Vasilev
b2da3a34df
comments
2019-01-02 21:47:07 +03:00
Nikita Vasilev
f704a32515
added granularity
2019-01-02 19:04:44 +03:00
Alexey Milovidov
051decfb75
Merge branch 'master' of github.com:yandex/ClickHouse
2019-01-02 18:03:56 +03:00
Nikita Vasilev
1b7c0aeef1
fix
2019-01-02 17:24:26 +03:00
Alexey Milovidov
e33e5150b7
Miscellaneous [#CLICKHOUSE-2]
2019-01-02 09:44:36 +03:00
Amos Bird
df5b735894
Better writeInt
2019-01-01 19:36:50 +08:00
Alexey Milovidov
00978e757d
Fixed race condition in StorageDictionary [#CLICKHOUSE-3628]
2018-12-30 04:09:06 +03:00
Alexey Zatelepin
ca91223a94
make path argument explicit for safety [#CLICKHOUSE-4024]
2018-12-29 17:23:44 +03:00
Alexey Zatelepin
df079f28d2
remove duplicate logging
2018-12-29 17:11:17 +03:00
Alexey Zatelepin
5d4a56420d
tool to transform part znode to minimalistic part header [#CLICKHOUSE-4024]
2018-12-29 17:11:16 +03:00
Alexey Zatelepin
9bd09b44ed
introduce ReplicatedMergeTreePartHeader [#CLICKHOUSE-4024]
...
Conflicts:
dbms/src/Common/ErrorCodes.cpp
2018-12-29 17:11:16 +03:00
Nikita Vasilev
ad2a453919
changed comment
2018-12-29 16:11:30 +03:00
Nikita Vasilev
33cf4c96e6
fix
2018-12-29 16:04:22 +03:00
Nikita Vasilev
f90cdca498
added indexes in selectexecutor
2018-12-29 16:02:57 +03:00
Nikita Vasilev
5079330bdc
IndexCondition
2018-12-29 15:04:00 +03:00
Nikita Vasilev
68c3879d95
index condition
2018-12-29 14:12:41 +03:00
Alexey Milovidov
cd6a1c9bc9
Fixed uninitialized memory in "runningDifference" function [#CLICKHOUSE-2]
2018-12-29 03:53:11 +03:00
alexey-milovidov
b8e847edfd
Merge pull request #3955 from yandex/low-cardinality-fix-clone-empty
...
Do not copy dictionary in ColumnLowCardinality::cloneEmpty
2018-12-29 01:23:07 +03:00
alexey-milovidov
4ac9f7a204
Merge pull request #3959 from yandex/catboost-multiclass-models
...
Catboost multiclass models
2018-12-29 01:22:14 +03:00
alesapin
b2727399b1
Merge pull request #3957 from yandex/nicelulu-click_update
...
Fix user and password forwarding
2018-12-28 22:50:16 +03:00
proller
7dd6c4947e
Fix cyclic lib depend: part 3: clean
2018-12-28 21:31:28 +03:00
proller
300bbdfb43
Fix cyclic lib depend ppart 2: clean
2018-12-28 21:15:26 +03:00
Nikolai Kochetov
bdaf1ac109
Support multiclass models for CatBoost.
2018-12-28 21:08:32 +03:00
Nikita Vasilev
06d8416107
indextypes
2018-12-28 20:53:41 +03:00
proller
0c78ef8573
Fix cyclic lib depend (make clickhouse_compression lib)
2018-12-28 20:27:53 +03:00
alesapin
43da59d0fc
Improve test
2018-12-28 20:11:52 +03:00
alesapin
ab32a06c85
Fix code remove redundat files
2018-12-28 19:28:24 +03:00
alesapin
8bc00f4632
CLICKHOUSE-4229: Fix user forwarding for replicated queries which actually send queries to master node
2018-12-28 19:21:32 +03:00
alesapin
f42f511e89
Merge pr
2018-12-28 19:21:07 +03:00
chertus
bae0370954
fix crash in JoinToSubqueryTransformVisitor (wrong casts)
2018-12-28 18:38:58 +03:00
Nikita Vasilev
9bf5b6b4aa
added indexParts
2018-12-28 18:27:06 +03:00
Nikolai Kochetov
eb457f2bd2
Do not copy dictionary in ColumnLowCardinality::cloneEmpty
2018-12-28 18:22:38 +03:00
alexey-milovidov
d16447c3f4
Merge pull request #3899 from yandex/custom_compression_codecs
...
Custom compression codecs
2018-12-28 08:29:09 +03:00
alexey-milovidov
5e6aec04e8
Merge pull request #3935 from yandex/fix-error-in-quantile-t-digest-implementation
...
Fixed error in internal implementation of quantileTDigest
2018-12-28 04:39:43 +03:00
Alexey Milovidov
654e530bf1
Merge branch 'master' into fix-error-in-quantile-t-digest-implementation
2018-12-28 03:08:04 +03:00
alexey-milovidov
5ff30f4512
Merge pull request #3946 from 4ertus2/joins
...
Multiple join emulation (very experimental - developers only)
2018-12-28 03:06:01 +03:00
Alexey Milovidov
ab85175e7f
Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-4
2018-12-28 00:23:13 +03:00
alexey-milovidov
3455da0a97
Merge pull request #3947 from yandex/fix-config-reloader
...
Retry loading ZK substitutions after ZK errors
2018-12-28 00:22:48 +03:00
alexey-milovidov
cbc9e03038
Merge pull request #3945 from yandex/fix_ipv4_masks
...
Fix ipv4 mask restrictions for users and add integration tests
2018-12-28 00:22:02 +03:00
Alexey Milovidov
928649004c
Fixed UB #3920
2018-12-28 00:15:47 +03:00
Alexey Milovidov
237a9247cb
Fixed UB #3920
2018-12-28 00:14:32 +03:00
Alexey Milovidov
4e2c1132d9
Fixed UB #3920
2018-12-27 23:48:21 +03:00
Alexey Milovidov
b109ec8c77
Fixed UB #3920
2018-12-27 23:24:37 +03:00
Alexey Milovidov
220e568894
Fixed UB #3920
2018-12-27 23:10:37 +03:00
Alexey Milovidov
29ffa46838
Less indirection #3920
2018-12-27 23:02:51 +03:00
Alexey Milovidov
88bdbc4dc7
Some additions to Amos Bird's optimization #3920
2018-12-27 22:58:30 +03:00
Alexey Milovidov
0d4e166db9
Fixed error: read one byte after buffer (this byte was unused) [#CLICKHOUSE-2]
2018-12-27 22:33:27 +03:00
proller
a75d8794ef
Merge remote-tracking branch 'upstream/master' into fix10
2018-12-27 21:21:20 +03:00
Alexey Zatelepin
da00c6e918
retry loading ZK substitutions after ZK errors #2947
2018-12-27 21:12:38 +03:00
alexey-milovidov
1098fd834a
Merge pull request #3926 from yandex/ubsan-fixes-3
...
Ubsan fixes 3
2018-12-27 21:12:38 +03:00
chertus
be02d3fe33
Merge branch 'master' into joins
2018-12-27 19:20:20 +03:00
chertus
e8245f5935
basic support for multiple_joins_emulation CLICKHOUSE-3996
2018-12-27 19:12:42 +03:00
alesapin
3d0c26f573
Fix ipv4 mask restrictions for users and add integration tests
2018-12-27 18:55:51 +03:00
alexey-milovidov
644e9fc31f
Merge pull request #3930 from 4ertus2/ast
...
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-27 18:36:22 +03:00
proller
1a0a879a51
Build fixes
2018-12-27 18:23:37 +03:00
chertus
600755745b
Merge branch 'ast' into joins
2018-12-27 14:17:24 +03:00
alesapin
3afa03d044
Merge branch 'master' into custom_compression_codecs
2018-12-27 11:23:00 +03:00
Alexey Milovidov
160ffe8c7f
Fixed UB #3926
2018-12-27 05:00:31 +03:00
Alexey Milovidov
353c226893
Fixed UB #3926
2018-12-27 04:56:16 +03:00
Alexey Milovidov
76dafd4d95
Fixed UB #3926
2018-12-27 04:51:22 +03:00
Alexey Milovidov
882531b9c0
Fixed UB #3926
2018-12-27 04:40:00 +03:00
Alexey Milovidov
da5b62ab67
Fixed UB #3926
2018-12-27 04:20:06 +03:00
Alexey Milovidov
589d07860f
Fixed UB #3926
2018-12-27 04:12:18 +03:00
Alexey Milovidov
4c35a73a74
Fixed UB #3926
2018-12-27 04:03:16 +03:00
Alexey Milovidov
e8328c576b
Fixed UB #3926
2018-12-27 03:59:52 +03:00
Alexey Milovidov
fec30acf81
Allowed some UB #3926
2018-12-27 03:51:14 +03:00
Alexey Milovidov
673fa80a9c
Allowed some UB #3926
2018-12-27 03:40:10 +03:00
Alexey Milovidov
c20f05875a
Moved code; added comment #3926
2018-12-27 03:34:49 +03:00
Alexey Milovidov
3c84e47419
Fixed UB #3926
2018-12-27 03:33:54 +03:00
Alexey Milovidov
713a44c38e
Fixed UB #3926
2018-12-27 03:33:32 +03:00
Alexey Milovidov
39492139f0
Allowed some UB #3926
2018-12-27 03:25:47 +03:00
Alexey Milovidov
d6c7825328
Addition to prev. revision #3926
2018-12-27 03:11:42 +03:00
Alexey Milovidov
e308d2e069
Addition to prev. revision #3926
2018-12-27 03:10:38 +03:00
Alexey Milovidov
2e20bd4b4a
Addition to prev. revision #3926
2018-12-27 03:09:39 +03:00
Alexey Milovidov
408f935754
Addition to prev. revision #3926
2018-12-27 03:03:18 +03:00
Alexey Milovidov
2e323192a2
Addition to prev. revision #3926
2018-12-27 03:02:11 +03:00
Alexey Milovidov
732f60c8be
Allowed some UB under UBSan #3926
2018-12-27 02:55:09 +03:00
Alexey Milovidov
37a2d51e0c
Added attribute #3926
2018-12-27 02:17:04 +03:00
Alexey Milovidov
10362ab7e1
Fixed build #3926
2018-12-27 01:56:54 +03:00
Alexey Milovidov
5570ddada5
Fixed error in internal implementation of quantileTDigest [#CLICKHOUSE-2]
2018-12-27 00:02:39 +03:00
alexey-milovidov
5c4ebfa2e1
Update RequiredSourceColumnsVisitor.h
2018-12-26 23:35:06 +03:00
alexey-milovidov
67dbfd8e81
Update ExpressionAnalyzer.cpp
2018-12-26 23:33:29 +03:00
Alexey Milovidov
7509db544c
Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3
2018-12-26 22:38:11 +03:00
alexey-milovidov
b7f25f6ffe
Merge pull request #3932 from yandex/fix_no_message_received
...
Move processing pool to ternary logic
2018-12-26 22:16:01 +03:00
alexey-milovidov
cd00fc8b56
Merge pull request #3934 from yandex/fix-zk-node-cache
...
Fix ZooKeeperNodeCache becoming unusable after SessionExpired event
2018-12-26 22:15:32 +03:00
chertus
4b63c11cea
Merge branch 'master' into ast
2018-12-26 21:56:41 +03:00
chertus
0812f79421
remove unused code
2018-12-26 21:56:21 +03:00
Nikita Vasilev
c89df916ab
ptrs
2018-12-26 20:34:44 +03:00
Alexey Zatelepin
601a6af0ec
fix ZooKeeperNodeCache becoming unusable after SessionExpired event #2947 #3891
...
Previously after a SessionExpired event the context->zookeeper field was
reinitialized with the old expired ZooKeeper instance. This led to inability
to get new paths. Better not cache the ZooKeeper instance and get it at the
start of each request.
2018-12-26 20:27:25 +03:00
alesapin
9342700ce1
Move processing pool to ternary logic
2018-12-26 20:03:29 +03:00
chertus
371ec0d576
fix gcc build
2018-12-26 18:40:47 +03:00
Alexey Milovidov
c88fd6025a
Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3
2018-12-26 18:09:54 +03:00
alesapin
89966db3ba
Add multiple codecs to compressor
2018-12-26 18:01:26 +03:00
chertus
6ea13516f0
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-26 17:43:25 +03:00
chertus
11982046d6
Merge branch 'master' into joins
2018-12-26 17:17:18 +03:00
chertus
62905013d7
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-26 17:08:57 +03:00
Nikita Vasilev
b62197b1ad
fixed compilation
2018-12-26 15:49:05 +03:00
Nikita Vasilev
04a8ea85af
added index interface and factory
2018-12-26 15:19:24 +03:00
alesapin
98b372415d
Decrease sleep time
2018-12-26 14:23:15 +03:00
alesapin
444eb21d28
Fix exponential backoff for replication queue
2018-12-26 12:56:52 +03:00
alesapin
8f82d5a687
Merge branch 'master' into custom_compression_codecs
2018-12-26 10:43:33 +03:00
Alexey Milovidov
15a218f951
Fixed UB #3926
2018-12-26 09:03:18 +03:00
Alexey Milovidov
5abb2d02b9
Fixed UB #3926
2018-12-26 08:34:25 +03:00
Alexey Milovidov
ee4c7fe815
Allowed UB in certain cases #3926
2018-12-26 07:59:20 +03:00
Alexey Milovidov
d54d2f7558
Allowed UB in certain cases #3926
2018-12-26 07:56:38 +03:00
Alexey Milovidov
ed50d90812
Allowed UB in certain cases #3926
2018-12-26 07:50:56 +03:00
Alexey Milovidov
4a45db2b9b
Fixed UB #3926
2018-12-26 07:40:16 +03:00
Alexey Milovidov
5ca01486dd
Fixed UB #3926
2018-12-26 07:32:58 +03:00
Alexey Milovidov
fc39ce8673
Fixed UB #3926
2018-12-26 07:12:14 +03:00
Alexey Milovidov
3d3385139b
Fixed error #3926
2018-12-26 07:09:24 +03:00
Alexey Milovidov
c86e861b6d
Fixed error #3926
2018-12-26 06:38:57 +03:00
Alexey Milovidov
0ba7c1dd3a
Fixed UB #3926
2018-12-26 06:32:18 +03:00
Alexey Milovidov
665fc23f57
Fixed UB #3569
2018-12-26 06:27:26 +03:00
Alexey Milovidov
b5013194ec
Fixed UB #3569
2018-12-26 06:21:39 +03:00
Alexey Milovidov
56bd082105
Fixed UB #3926
2018-12-26 06:15:34 +03:00
Alexey Milovidov
b7f085c525
Fixed UB #3926
2018-12-26 05:47:16 +03:00
Alexey Milovidov
a2fae24e07
Fixed UB #3926
2018-12-26 05:09:59 +03:00
Alexey Milovidov
f2d789d384
Fixed UB #3926
2018-12-26 05:06:54 +03:00
Alexey Milovidov
897199c220
Fixed UB #3926
2018-12-26 04:29:48 +03:00
Alexey Milovidov
985aa2c034
Fixed build #3926
2018-12-26 04:12:13 +03:00
Alexey Milovidov
37bbc0ecd5
Fixed UB #3926
2018-12-26 04:08:14 +03:00
Alexey Milovidov
ee953b4653
Fixed UB (requires performance testing) #3569
2018-12-26 03:31:51 +03:00
Alexey Milovidov
b1b1c676c9
Fixed error #3926
2018-12-26 03:30:11 +03:00
Alexey Milovidov
e8dc222b61
Fixed UB #3926
2018-12-26 03:28:13 +03:00
Alexey Milovidov
5d1bc8540e
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:50:12 +03:00
Alexey Milovidov
1191f1575d
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:44:44 +03:00
Alexey Milovidov
c858c144ef
Fixed UB #3926
2018-12-26 02:39:40 +03:00
Alexey Milovidov
cfc1e207ab
Fixed UB #3926
2018-12-26 02:27:52 +03:00
Alexey Milovidov
bbbefe2c03
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:18:07 +03:00
Alexey Milovidov
a204ed264f
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:15:28 +03:00
Alexey Milovidov
436b9b6eac
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:14:39 +03:00
Alexey Milovidov
3be55436bf
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:13:30 +03:00
Alexey Milovidov
4c0b95ac02
Less dependencies [#CLICKHOUSE-2]
2018-12-26 02:11:36 +03:00
Alexey Milovidov
4cb431264a
Fixed UB #3926
2018-12-26 02:06:39 +03:00
Alexey Milovidov
06783113a7
Fixed UB [#CLICKHOUSE-2]
2018-12-26 00:18:40 +03:00
Nikita Vasilev
36083e1036
some fixes
2018-12-25 22:37:39 +03:00
Alexey Milovidov
8f306e8b45
Small improvements #3920
2018-12-25 22:31:18 +03:00
alexey-milovidov
de88010ac8
Merge pull request #3920 from amosbird/leftpad
...
POC zero left padding for PODArray
2018-12-25 21:54:17 +03:00
alexey-milovidov
8120d5495e
Update PODArray.h
2018-12-25 21:52:43 +03:00
alexey-milovidov
d99072ffb0
Update PODArray.h
2018-12-25 21:51:37 +03:00
alexey-milovidov
e1568fd9ad
Update PODArray.h
2018-12-25 21:49:09 +03:00
Nikita Vasilev
fcd49afc2a
added index parsing
2018-12-25 21:45:08 +03:00
Nikita Vasilev
6f986495dd
made index parser
2018-12-25 21:42:43 +03:00
Alexey Milovidov
4ee7b80ab4
Fixed error #3870
2018-12-25 21:40:47 +03:00
Alexey Milovidov
fc4f7d2e77
Investigation #3921
2018-12-25 21:06:38 +03:00
Alexey Milovidov
a66ce65b22
Fixed test, try 2 #3914
2018-12-25 20:52:28 +03:00
Alexey Milovidov
3a8f3a05de
Fixed test #3914
2018-12-25 20:45:02 +03:00
Alexey Milovidov
3502859803
Merge branch 'master' of github.com:yandex/ClickHouse into int-monotonicity-cleanups
2018-12-25 17:28:41 +03:00
Alexey Milovidov
7763104090
Merge branch 'master' into int-monotonicity-cleanups
2018-12-25 17:28:32 +03:00
alesapin
6e8ed0c942
Merge branch 'master' into custom_compression_codecs
2018-12-25 14:34:19 +03:00
alesapin
1228645a79
Fix segfault and add tabs to ton of tests (desc table)
2018-12-25 14:33:54 +03:00
alesapin
c91687f9d7
Small refactoring
2018-12-25 13:35:46 +03:00
alesapin
4309775fc8
Add coments and fix compression for nested types
2018-12-25 13:04:38 +03:00
Alexey Milovidov
66a0c1691d
Added more formats to "parseDateTimeBestEffort" function [#CLICKHOUSE-2]
2018-12-24 21:28:41 +03:00
alesapin
a82dfef893
Fix in parser
2018-12-24 20:12:14 +03:00
Alexey Milovidov
5e8035f166
Fixed error #3921
2018-12-24 19:13:04 +03:00
alesapin
bbdfc77f21
Update CachedCompressedReadBuffer.h
2018-12-24 19:12:25 +03:00
alesapin
f7e06cf9ac
Remove random changes
2018-12-24 19:03:22 +03:00
alesapin
22b9969f05
Merge branch 'master' into custom_compression_codecs
2018-12-24 18:53:31 +03:00
Amos Bird
8736a3908f
left pad
2018-12-24 23:51:06 +08:00
alesapin
36fb2d16cd
Add test with non default config
2018-12-24 18:50:02 +03:00
alexey-milovidov
14e425ddb4
Merge pull request #3919 from yandex/kafka-segfault-investigation
...
StorageKafka: minor modifications.
2018-12-24 18:48:54 +03:00
Alexey Milovidov
b624add2e7
Rewrite code to calculate integer conversion function monotonicity; fixed test #3870
2018-12-24 18:46:55 +03:00
alesapin
f2fd1e4da6
Fix style and includes
2018-12-24 17:10:37 +03:00
Alexey Milovidov
ce10674107
Fixed weird error in PR #3870
2018-12-24 16:25:48 +03:00
alesapin
29ad7f9fb1
Remove redundant changes and shift error codes
2018-12-24 16:19:24 +03:00
alexey-milovidov
659bb3f56c
Merge pull request #3910 from amosbird/ub
...
Fix UB.
2018-12-24 16:04:14 +03:00
alexey-milovidov
add2c0a6fc
Merge branch 'master' into int-round-overflow
2018-12-24 15:50:13 +03:00
KochetovNicolai
1070702168
Update CatBoostModel.cpp
...
Do not evaluate CatBoost model on empty dataset.
2018-12-24 15:35:46 +03:00
alesapin
1e771a4aec
Fix error codes
2018-12-24 14:34:50 +03:00
Alexey Milovidov
7cfa7c3dbe
KILL QUERY: make WHERE clause mandatory #3916
2018-12-24 14:08:09 +03:00
Alexey Milovidov
184c36d78d
Fixed error in KILL QUERY #3916
2018-12-24 14:06:35 +03:00
Alexey Milovidov
2ee4c443d5
Merge branch 'master' of github.com:yandex/ClickHouse into kafka-segfault-investigation
2018-12-24 14:05:36 +03:00
qianlixiang
416d6aa788
Fixed core dump caused by kill query sync
2018-12-24 16:17:22 +08:00
Alexey Milovidov
0b760ee9e9
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 03:47:11 +03:00
Alexey Milovidov
80f155cfda
Fixed overflow in rounding functions with integer argument and large negative scale [#CLICKHOUSE-2]
2018-12-24 02:12:30 +03:00
alexey-milovidov
b9c4ede4fd
Merge pull request #3785 from sergey-v-galtsev/match-process-euid-against-data-owner
...
Match the process' effective user id against the data owner at the server startup.
2018-12-23 22:28:54 +03:00
Alexey Milovidov
6368daff63
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-23 22:25:53 +03:00
Alexey Milovidov
7b420297ed
Fixed "unbundled" build #3905
2018-12-23 22:25:40 +03:00
proller
bebaf9d861
Fix includes, Faster compile ( #3898 )
...
* Fix includes
* Faster compile
* WTFix
* Limit compile and linking jobs according to available memory
* Add comment
* fix
* Remove ALL from copy-headers target
* Freebsd fix
* Better
* cmake: split use libcxx
2018-12-23 17:19:11 +03:00
Amos Bird
71fad54eb2
Fix UB.
2018-12-23 16:21:55 +08:00
alexey-milovidov
a03c28d0e6
Merge pull request #3909 from yandex/fix-use-after-free-in-array-enumerate
...
Fix use after free in arrayEnumerateUniq and -Dense function.
2018-12-23 06:11:43 +03:00
alexey-milovidov
b658ea452e
Merge pull request #3900 from infovista/add_column_if_not_exists
...
Support for IF NOT EXISTS in ALTER TABLE ADD COLUMN
2018-12-23 05:37:39 +03:00
Alexey Milovidov
34bed6c078
Fixed test [#CLICKHOUSE-2]
2018-12-23 05:12:18 +03:00
Alexey Milovidov
dd7325480f
Fixed test [#CLICKHOUSE-2]
2018-12-23 05:11:56 +03:00
Alexey Milovidov
19d57c78b5
Fixed test #3909
2018-12-23 04:46:30 +03:00
Alexey Milovidov
83cf88c9c1
Less garbage #3909
2018-12-23 04:41:03 +03:00
Alexey Milovidov
94948cb587
Less garbage [#CLICKHOUSE-2]
2018-12-22 18:40:51 +03:00
alexey-milovidov
536c41102c
Merge branch 'master' into xxhash
2018-12-21 21:59:51 +03:00
mf5137
3757007118
Adding xxHash64 and xxHash32 functions
2018-12-21 18:53:16 +01:00
Alexey Zatelepin
37065b6b8f
prevent race condition when locking a distributed ALTER task for execution [#CLICKHOUSE-4221]
2018-12-21 20:28:21 +03:00
Alexey Milovidov
2c6e49c3f3
More checks [#CLICKHOUSE-2]
2018-12-21 19:24:47 +03:00
Alexey Milovidov
661a117b91
Added assertion [#CLICKHOUSE-2]
2018-12-21 19:03:40 +03:00
Alexey Milovidov
a8f09809f5
Simplified logic with "IColumn::convertToFullColumnIfConst" (suggested by Amos Bird) [#CLICKHOUSE-2]
2018-12-21 19:00:07 +03:00
alexey-milovidov
e9619169b5
Merge pull request #3896 from zhang2014/fix/check_type_with_converts
...
Fix check data type with converts function
2018-12-21 18:43:46 +03:00
Boris Granveaud
d776d1164a
support for IF EXISTS/IF NOT EXISTS in ALTER TABLE ADD/DROP/CLEAR/MODIFY/COMMENT COLUMN
2018-12-21 15:53:00 +01:00
Alexey Milovidov
a7f768d623
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-21 17:33:10 +03:00
Alexey Milovidov
08d573d402
Fixed error with unused variable #3826
2018-12-21 17:23:39 +03:00
alesapin
74ea831240
Remove commented codec
2018-12-21 17:06:49 +03:00
alesapin
42b9735760
Add LZ4HC
2018-12-21 17:03:53 +03:00
alesapin
6f7333840a
Move header with compression info to another place
2018-12-21 16:25:39 +03:00
alesapin
7c11455bd3
Remove compression settings
2018-12-21 15:17:30 +03:00
zhang2014
6ffdcb38a2
Fix check data type with converts function
2018-12-21 19:37:33 +08:00
alesapin
5b23210062
Merge branch 'master' into custom_compression_codecs
2018-12-21 11:57:21 +03:00
alexey-milovidov
52efaf6bb7
Merge pull request #3870 from zhang2014/fix/string_monotonicity
...
Fixed convert function monotonic failure when string data type
2018-12-20 23:55:58 +03:00
alexey-milovidov
b1602a5e62
Merge pull request #3887 from yandex/remove-alter-primary-key
...
Remove ALTER MODIFY PRIMARY KEY command
2018-12-20 22:21:08 +03:00
Alexey Milovidov
a042e4e9e7
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 22:07:00 +03:00
Alexey Milovidov
f6ce803eff
Better implementation of regexpQuoteMeta #3826
2018-12-20 22:06:46 +03:00
Alexey Zatelepin
b7afe46dfd
remove ALTER MODIFY PRIMARY KEY command [#CLICKHOUSE-4214]
2018-12-20 21:57:20 +03:00
Alexey Milovidov
6a914f5b3c
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 21:17:21 +03:00
Alexey Milovidov
980d6d9e46
Fixed error in "regexpQuoteMeta" function #3826
2018-12-20 21:16:06 +03:00
alexey-milovidov
d9e8cd46da
Merge pull request #3879 from yandex/setting-low_cardinality_allow_in_native_format
...
Added low_cardinality_allow_in_native_format setting.
2018-12-20 21:02:02 +03:00
Alexey Milovidov
5346e1c575
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 20:58:58 +03:00
alexey-milovidov
f85857d8ff
Merge pull request #3826 from yandex/missing-sql-compatibility-functions
...
Additional functions for SQL compatibility
2018-12-20 20:51:05 +03:00
Alexey Milovidov
1841634ae2
Removed accidential change [#CLICKHOUSE-2]
2018-12-20 20:49:37 +03:00
Alexey Milovidov
9c65c539cd
Merge branch 'master' of github.com:yandex/ClickHouse
2018-12-20 20:48:20 +03:00
Alexey Milovidov
b7b418a6f5
Renamed setting #3851
2018-12-20 20:48:11 +03:00
alexey-milovidov
4993cb53d1
Merge pull request #3886 from yandex/low-cardinality-specialized-aggregation
...
Added LowCardinality support for specialized aggregation.
2018-12-20 20:46:49 +03:00
Alexey Milovidov
edc415857c
Removed accidential change [#CLICKHOUSE-2]
2018-12-20 20:46:31 +03:00
alesapin
aee6c0a606
Remove dump code
2018-12-20 20:37:02 +03:00
alexey-milovidov
3cefb27e56
Merge pull request #3851 from abyss7/issue-3592
...
Refactor constant folding
2018-12-20 19:26:02 +03:00
Alexey Milovidov
8f4b10bc51
Merge branch 'master' of github.com:yandex/ClickHouse into fix-use-after-free-in-array-enumerate
2018-12-20 18:19:15 +03:00
Nikolai Kochetov
18b530544e
Fix setting description.
2018-12-20 18:17:07 +03:00
Alexey Milovidov
731d76821d
Merging abandoned pull request with "boundingRatio" function #3139
2018-12-20 18:14:32 +03:00
Alexey Milovidov
113ff56384
Merge branch 'master' into twosixlabs-add_rate_function
2018-12-20 17:19:06 +03:00
zhang2014
263de501f5
add test & use isRepresentedByNumber
2018-12-20 22:08:17 +08:00
Nikolai Kochetov
4e58b62b0c
Added LowCardinality support for specialized aggregation.
2018-12-20 16:28:20 +03:00
alesapin
0ae14be8d2
Fix codes
2018-12-20 13:44:20 +03:00
alesapin
04902c569a
Non effective, but working code
2018-12-20 13:27:38 +03:00
Ivan Blinkov
f63aa0eb3b
Support MySQL-style syntax for DATE_ADD and similar functions
2018-12-20 11:22:24 +03:00
zhang2014
dc61a73a6e
Fixed convert function monotonic failure when string data type
2018-12-20 10:04:30 +08:00
Sergey V. Galtsev
a2042d60bf
Resolve conflict with upstream.
2018-12-20 00:16:44 +03:00
proller
6869771ae4
Fix includes
2018-12-19 20:57:51 +03:00
Nikolai Kochetov
4eb7a820d6
Fix style
2018-12-19 20:54:46 +03:00
alesapin
512fe3c854
Refactoring (sanitizer failure)
2018-12-19 20:20:18 +03:00
Nikolai Kochetov
0f8f5836fb
Fix build.
2018-12-19 19:55:01 +03:00
Nikolai Kochetov
78321a04a1
Added low_cardinality_allow_in_native_format setting.
2018-12-19 19:47:30 +03:00
alexey-milovidov
f05bf6c046
Merge pull request #3873 from s-mx/send_logs_level2
...
Fix strange behavior of send_logs_level setting.
2018-12-19 19:18:02 +03:00
alexey-milovidov
ca75d18414
Merge pull request #3875 from abyss7/issue-3591
...
Treat Enums as Ints inside If() function
2018-12-19 18:30:09 +03:00
Ivan Blinkov
24a0b3a53e
Additional function case insensitivity from #3704
2018-12-19 17:46:18 +03:00
Ivan Lezhankin
937c0fb4a4
Treat Enum* types as Int* inside If() function.
2018-12-19 17:02:26 +03:00
Ivan
37345468b3
Explicitly include <optional> for clang-6.0
2018-12-19 16:57:55 +03:00
Sabyanin Maxim
ea27ec463e
add SettingLogsLevel
2018-12-19 16:20:41 +03:00
chertus
7e6a39f623
Merge branch 'master' into joins
2018-12-19 16:14:17 +03:00
chertus
cbf3c34cf3
minor improvement in ExpressionAnalyzer + array join
2018-12-19 16:13:51 +03:00
Alexey Milovidov
b7ce79c423
Miscellaneous [#CLICKHOUSE-2]
2018-12-19 16:11:06 +03:00
Ivan Lezhankin
b9440fe99d
Another minor refactoring.
2018-12-19 15:38:13 +03:00
Ivan Blinkov
0352c5a57c
Introduce DATE_ADD/DATE_SUB/TIMESTAMP_ADD/TIMESTAMP_SUB #3705
2018-12-19 14:37:14 +03:00
Ivan Blinkov
f88b497555
Introduce common parser for interval kind names and use it for DATE_DIFF, EXTRACT and INTERVAL (allows to use same set of aliases in them)
2018-12-19 13:27:07 +03:00
Ivan Blinkov
0b79053afd
remove accidental file duplicate
2018-12-19 12:05:04 +03:00
Ivan Blinkov
714bd5b88a
Add lost zero byte in regexpQuoteMeta
2018-12-19 12:02:59 +03:00
Alexey Milovidov
2874061410
Fix use after free in arrayEnumerate [#CLICKHOUSE-2]
2018-12-19 07:21:23 +03:00
Alexey Milovidov
68e0af176e
Fix use after free in arrayEnumerate [#CLICKHOUSE-2]
2018-12-19 06:53:09 +03:00
Alexey Milovidov
8889f0859a
Fixed typo [#CLICKHOUSE-2]
2018-12-19 06:43:37 +03:00
Alexey Milovidov
36836faf62
Full support for Decimal #3721
2018-12-19 05:43:09 +03:00
Alexey Milovidov
9c23556cb0
Basic implementation for Decimal #3721
2018-12-19 05:11:31 +03:00
Alexey Milovidov
b9a68fbe93
Merging #3721 ; Added a test
2018-12-19 04:29:40 +03:00
Alexey Milovidov
cf68f08099
Merge branch 'feature/roundDown-function' of https://github.com/persiyanov/ClickHouse into persiyanov-feature/roundDown-function
2018-12-19 03:29:21 +03:00
alexey-milovidov
92bb4471df
Merge pull request #3865 from abyss7/issue-3590
...
ISSUE-3590: Forbid using aggregate functions inside scalar subqueries
2018-12-19 03:19:45 +03:00
alexey-milovidov
c47dfb064e
Update ExecuteScalarSubqueriesVisitor.cpp
2018-12-19 03:19:31 +03:00
Alexey Milovidov
d5d1c34017
Merging #3811
2018-12-18 23:24:16 +03:00
Alexey Milovidov
6a779661c8
Merge branch 'java-hash' of https://github.com/shangshujie365/ClickHouse into shangshujie365-java-hash
2018-12-18 23:04:32 +03:00