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
hcz
aea8d93248
Fix tests
2019-06-28 15:17:47 +08: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
fc6140ade8
Add tests
2019-06-28 13:00:26 +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
26b941b6d1
Merge remote-tracking branch 'upstream/master' into fix27
2019-06-27 21:43:55 +03:00
proller
da6490c11d
renamed: Functions/array/notEmpty.cpp -> Functions/notEmpty.cpp
2019-06-27 21:43:40 +03:00
alexey-milovidov
7ce4cd7861
Merge pull request #5745 from nvartolomei/nv/clickhouse-copier-cross-replication
...
clickhouse-copier: Allow empty database name
2019-06-27 21:09:00 +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
proller
aeb7eb42d1
clickhouse-copier: Fix use-after free on shutdown ( #5752 )
...
* release script: convert .deb to .rpm and .tgz
* clickhouse-copier: Fix use-after free on shutdown
* Revert "Disable cluster copier tests"
This reverts commit 71872fc3c3
.
2019-06-27 15:29:49 +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
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
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
651b86b12f
Modify tuple extremes test for processors.
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
cebd32ad35
Disable 00634_performance_introspection_and_logging for processors.
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
a43f789338
Fix performance introspection.
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
ebedde9a0d
add test
2019-06-25 17:05:17 +03:00
chertus
e681bef71d
T64 full transpose variant
2019-06-25 16:59:33 +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
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
Ivan Lezhankin
088401b35f
Add helpful option to docker-compose invocation
2019-06-24 13:53:06 +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
Ivan Lezhankin
d6d10120c8
Refactor tests
2019-06-23 17:48:58 +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
Ivan Lezhankin
f34e4b53ce
Fix tests again
2019-06-21 21:34:24 +03:00
Ivan Lezhankin
892a82e5ff
Add test on virtual columns and materialized view
2019-06-21 20:43:39 +03:00
CurtizJ
ac3072cd9b
better shutdown of system_logs
2019-06-21 20:25:47 +03:00
Ivan Lezhankin
b989d45818
Fix tests
2019-06-21 20:02:48 +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
alesapin
798d18fd47
Better waits in integration test
2019-06-21 11:03:13 +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
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
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
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
alesapin
4ae502eaa6
Fix bug with wrong granularity detection
2019-06-20 11:48:56 +03:00
alesapin
ea29d006e2
Fix partition test
2019-06-20 11:36:07 +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
alesapin
6b2d9319ff
Add test catching bug
2019-06-19 19:40:14 +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
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
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
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
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
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
alesapin
150a91c940
Correct test result for adaptive marks
2019-06-17 19:44:50 +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
3179b1fdc0
Replace flappy test with retries in script
2019-06-17 17:54:35 +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
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
Yuriy
2e29ea7b2e
support of sessions and default_database in MySQL wire protocol
2019-06-16 18:12:37 +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
6bdd020609
Fixed test
2019-06-16 15:02:56 +03:00
Alexey Milovidov
eb4f0920b1
Merge branch 'master' into sanych73-prepared_statements
2019-06-16 12:27:19 +03:00
Alexey Milovidov
73f282049e
Fixed name of performance test
2019-06-16 12:25:20 +03:00
Alexey Milovidov
935b223f95
Fixed performance test
2019-06-16 12:16:54 +03:00
Alexey Milovidov
8ee7478804
Fixed performance test
2019-06-16 12:15:22 +03:00
alexey-milovidov
debc9366f5
Merge pull request #5643 from yandex/levysh-testkeeper
...
Cleanup for TestKeeper
2019-06-16 12:10:22 +03:00
alexey-milovidov
829bcabcef
Merge pull request #5644 from yurriy/mysql
...
Made MySQL wire protocol tests independent from each other
2019-06-16 12:09:32 +03:00
dmitry kuzmin
c73ce602bf
fix decimal overflow, extreme values
2019-06-16 10:57:30 +03:00
Yuriy
369a8fbe92
made mysql tests independent from each other
2019-06-16 10:55:14 +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
cd43543d50
Using testkeeper in tests
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
unknown
ca5ff5ef4e
movingSum : performance-test: 1m 10m 100m. 10 1000 10000 window-size
2019-06-15 17:14:06 -04:00
alexey-milovidov
20c75dced4
Merge pull request #5554 from abyss7/pytest
...
Run query-tests using pytest framework
2019-06-15 22:22:51 +03:00
alexey-milovidov
f90d667782
Update clickhouse-test
2019-06-15 22:20:56 +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
e53a5a0c7d
Improved performance tests for formats once again
2019-06-15 22:06:02 +03:00
alexey-milovidov
379c8ee426
Merge pull request #5642 from yandex/fix-format-perf-test
...
Fixed "select_format" performance test for Pretty formats
2019-06-15 22:03:15 +03:00
Alexey Milovidov
0f9599bf22
Removed bad code; added support for --param_name value
2019-06-15 21:56:32 +03:00
Alexey Milovidov
61bf0e9b12
Style
2019-06-15 21:25:27 +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
386ec7f321
Added more isolated test for formats: just number formatting.
2019-06-15 18:02:46 +03:00
Alexey Milovidov
d82364bdcb
Fixed "select_format" performance test for Pretty formats
2019-06-15 18:00:25 +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
Alexey Milovidov
c6b875a45c
Merge branch 'fix-performance-degradation-index-granularity' of github.com:yandex/ClickHouse into fix-performance-degradation-index-granularity
2019-06-14 22:36:21 +03:00
Alexey Milovidov
0f18a5739e
Modified test.
2019-06-14 22:36:10 +03:00
CurtizJ
6d9cbc6f28
ignore query limits from system profile while executing mutations
2019-06-14 22:27:53 +03:00
Vitaly Baranov
ddecf09a99
Add more integration tests for external dictionaries
2019-06-14 22:21:37 +03:00
Alexey Milovidov
14bef071a6
Fixed performance degradation in SELECT from MergeTree tables #5631
2019-06-14 22:20:41 +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
da04db2a93
Fixes for #5331
2019-06-14 21:56:28 +03:00
Alexey Milovidov
34072c2dde
Fixes for #5331
2019-06-14 21:38:58 +03:00
Alexey Milovidov
f535a2f55f
Fixes for #5331
2019-06-14 21:32:22 +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
Ivan Lezhankin
a09f715265
Fix last broken test
2019-06-14 19:53:16 +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
alexey-milovidov
7036a8174b
Update 00557_remote_port.sh
2019-06-14 18:59:56 +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
robot-clickhouse
9cd889c9dd
Auto version update to [19.10.1.1] [54422]
2019-06-14 17:04:15 +03:00
robot-clickhouse
d16a4003b2
Auto version update to [19.9.1.636] [54421]
2019-06-14 17:03:13 +03:00
proller
09f3d68f6e
Use logging in clickhouse-local. Use config options in command line in clickhouse-client ( #5540 )
...
* Try fix macos server run
* Doc macos build
# Please enter the commit message for your changes. Lines starting
* CLICKHOUSE-3957 start wip
* tests wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* Making logger for clickhouse-local
* fixes
* wip
* wip
* wip
* wip
* clean
* cf
* wip
* fix
* Update CMakeLists.txt
* Update argsToConfig.h
* Update argsToConfig.cpp
* Update ExtendedLogChannel.h
* Update OwnPatternFormatter.cpp
2019-06-14 17:00:37 +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
Ivan Lezhankin
10c7bcf98f
Merge remote-tracking branch 'upstream/master' into pytest
2019-06-14 13:53:07 +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
unknown
1c7037d270
movingSum test fix: source table order
2019-06-13 12:17:20 -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
coraxster
640653dfde
newline
2019-06-13 15:50:42 +03:00
alexey-milovidov
5daaf60041
Update CMakeLists.txt
2019-06-13 14:19:49 +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