Ivan Remen
30c7055d3b
Fix
2019-06-26 17:15:29 +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
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
Nicolae Vartolomei
59d66bb1d5
clickhouse-copier: Allow empty database name
...
This is needed to make clickhouse-copier work with cross-replication
setups (also known as [circular replication][1]).
When database name is not specified we rely on `<default_database>`
element from replica stanza.
Example:
```xml
<source_cluster>
<shard>
<replica>
<host>localhost</host>
<port>9000</port>
<default_database>r0</default_database>
</replica>
<replica>
<host>localhost</host>
<port>666</port>
<default_database>r1</default_database>
</replica>
</shard>
<shard>
<replica>
<host>localhost</host>
<port>666</port>
<default_database>r0</default_database>
</replica>
<replica>
<host>localhost</host>
<port>9000</port>
<default_database>r1</default_database>
</replica>
</shard>
</source_cluster>
```
[1]: https://www.altinity.com/blog/2018/5/10/circular-replication-cluster-topology-in-clickhouse
2019-06-25 22:09:11 +00:00
Ivan Remen
d933b024bd
Fix now???
2019-06-26 00:49:42 +03:00
alesapin
71872fc3c3
Disable cluster copier tests
2019-06-25 22:26:26 +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
alesapin
d3a5759c73
Disable tests and add global timeout
2019-06-25 16:20:04 +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
eff547cf70
Update test cases
2019-06-25 14:27:27 +08: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
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
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
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
CurtizJ
25cbc901ed
fix deadlock at flushing on shutdown
2019-06-20 20:38:16 +03:00
proller
fa809de91f
Move all url functions to clickhouse_functions_url lib ( #5696 )
2019-06-20 18:49:54 +03:00
stavrolia
cb71e0c61c
Add test
2019-06-20 17:05:33 +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
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
bd14069cd1
Fix cmake
2019-06-20 13:58:21 +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
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
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
Vasily Nemkov
219a09280d
Updated test cases for gorilla to simplify debugging
...
Added case name and previous row values.
2019-06-19 17:51:48 +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
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
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
60c85c4f24
Fix CRC32 function name in tests
2019-06-19 11:09:01 +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
stavrolia
c1fa22eecc
wip
2019-06-18 20:16:20 +03:00
stavrolia
84871d9fa8
Remove <name> and <metrics> from performance tests fixed-5634
2019-06-18 19:55:13 +03:00
unknown
238c0e3b9b
movingSum: uses template for groupArrayMovingSum and groupArrayMovingAvg
2019-06-18 10:18:33 -04: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
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
Ivan Remen
232f40c436
Performance test done
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
alexey-milovidov
36ff3f14c2
Merge pull request #5655 from yandex/fix_flappy_replace_partition
...
Replace flappy test with retries in script
2019-06-17 20:05:49 +03:00
proller
dae5087fcf
Build and test fixes
2019-06-17 19:50:31 +03:00
dmitry kuzmin
21a48e4f6c
fix static_cast double to max_int
2019-06-17 17:55:51 +03:00
alesapin
3179b1fdc0
Replace flappy test with retries in script
2019-06-17 17:54:35 +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
2b242f2a64
Update test.py
2019-06-17 11:25:06 +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
0bc2b751ea
Added test
2019-06-17 01:30:25 +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
705ded30d8
Fixed test
2019-06-17 01:09:52 +03:00
Alexey Milovidov
289b9fda99
Updated tests
2019-06-17 01:05:43 +03:00
Alexey Milovidov
39105fc233
Updated tests
2019-06-17 01:02:56 +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
c6e83f6837
Added performance tests
2019-06-16 23:25:43 +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
224e6c7d72
Merge branch 'master' into sanych73-prepared_statements
2019-06-16 21:18:23 +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