Nicolae Vartolomei
3854ce6d84
Rewrite Set lookup to make it more readable
2020-07-01 15:05:54 +01:00
Nicolae Vartolomei
f8ceca6942
Remove const specifier to allow auto-move (clangtidy)
2020-07-01 15:04:08 +01:00
Nicolae Vartolomei
64bbccb42e
Add force_primary_key to a pk in tuple test
2020-07-01 14:25:14 +01:00
Nicolae Vartolomei
c95d09aed0
Add a test to cover non-const tuple elemenets (just in case)
2020-07-01 11:01:47 +01:00
Nicolae Vartolomei
b1d2d55cba
Add explicit test for a case where AST hashes collide for different prepared sets
2020-06-30 18:19:20 +01:00
Nicolae Vartolomei
8f1845185e
Try fix pk in tuple performance
...
Possible approach for fixing #10574
The problem is that prepared sets are built correctly, it is a hash map of key -> set
where key is a hash of AST and list of data types (when we a list of
tuples of literals).
However, when the key is built from the index to try and find if there
exists a prepared set that would match it looks for data types of the
primary key (see how data_types is populated) because the primary key
has only one field (v in my example) it can not find the prepared set.
The patch looks for any prepared indexes where data types match for the
subset of fields found in primary key, we are not interested in other
fields anyway for the purpose of primary key pruning.
2020-06-30 16:33:38 +01:00
Alexander Kuzmenkov
f4869eca41
Update cpu_synthetic.xml
2020-06-30 15:14:18 +03:00
alexey-milovidov
81b43dc481
Merge pull request #12020 from ClickHouse/fix-collations-order-by-tuple-const
...
Fix ORDER BY tuple with COLLATE on const column
2020-06-30 15:09:57 +03:00
alexey-milovidov
08b6ca19d8
Merge pull request #12043 from ClickHouse/topk-enum
...
Make topK return Enum for Enum types
2020-06-30 15:08:42 +03:00
Alexander Kazakov
8b2a5d81df
Update contrib/poco to ClickHouse-Extras/poco #22 ( #12037 )
...
* Updated ClickHouse-Extras/poco #22
2020-06-30 14:27:40 +03:00
Artem Zuikov
29178e26da
fix low card types in merge join ( #12035 )
2020-06-30 14:13:43 +03:00
Alexander Kuzmenkov
094334de0b
Merge pull request #12033 from ClickHouse/aku/tlb-perf-counter
...
Add TLB misses perf counters.
2020-06-30 14:04:11 +03:00
MicrochipQ
dd9b02c2fb
Fix typo ( #12046 )
2020-06-30 11:30:06 +03:00
Ivan Blinkov
ffcfcfa257
Update README.md
2020-06-30 11:00:45 +03:00
Ivan Blinkov
686f576c65
Merge pull request #12049 from ClickHouse/dependabot/pip/docs/tools/python-slugify-4.0.1
...
Bump python-slugify from 1.2.6 to 4.0.1 in /docs/tools
2020-06-30 10:53:33 +03:00
Alexander Kuzmenkov
aa8461e996
Update ThreadProfileEvents.cpp
2020-06-30 10:47:19 +03:00
dependabot-preview[bot]
e8921c9c81
Bump python-slugify from 1.2.6 to 4.0.1 in /docs/tools
...
Bumps [python-slugify](https://github.com/un33k/python-slugify ) from 1.2.6 to 4.0.1.
- [Release notes](https://github.com/un33k/python-slugify/releases )
- [Changelog](https://github.com/un33k/python-slugify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/un33k/python-slugify/compare/1.2.6...4.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-30 07:22:15 +00:00
chengy8934
072d0f9c1f
Update browse-code.md ( #12047 )
...
* Update browse-code.md
纠正了一些翻译错误。
* Update browse-code.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-30 10:00:30 +03:00
Alexander Kuzmenkov
1d838b7b3a
Update ThreadProfileEvents.cpp
2020-06-30 09:56:11 +03:00
Alexander Kuzmenkov
67a28971e8
Merge remote-tracking branch 'origin/master' into HEAD
2020-06-30 09:09:36 +03:00
Alexander Kuzmenkov
588ff8fcc1
Merge pull request #11989 from ClickHouse/aku/long-perf
...
Try to enable long perf tests
2020-06-30 08:52:29 +03:00
Alexey Milovidov
15cddc3c6e
Make topK return Enum for Enum types
2020-06-30 02:17:20 +03:00
Alexey Milovidov
84fa7fa3d8
Remove test that is not supported by "Arcadia" build system
2020-06-30 01:51:49 +03:00
Alexey Milovidov
5a35ff8938
Merge branch 'master' of github.com:yandex/ClickHouse into fix-collations-order-by-tuple-const
2020-06-30 01:51:04 +03:00
alexey-milovidov
c1d2d2d7f7
Merge pull request #12039 from ClickHouse/fix-nullable-tuple-compare
...
Fix nullable tuple compare
2020-06-30 01:38:46 +03:00
Nikita Mikhaylov
da26f6496f
Merge pull request #11857 from ClickHouse/better-distinct-for-query-plan
...
Update query plan traits for DISTINCT. Add more comments.
2020-06-29 23:06:22 +04:00
Nikita Mikhaylov
c057dd38c9
Update ITransformingStep.h
2020-06-29 22:04:10 +03:00
alesapin
bf40e0afcb
Merge pull request #12034 from ClickHouse/better_docker_images_list
...
Better docker images list
2020-06-29 19:33:17 +03:00
Nikolai Kochetov
c97d071b4b
Fix test.
2020-06-29 19:28:14 +03:00
Nikolai Kochetov
840d5185b9
Added test.
2020-06-29 18:32:28 +03:00
Nikolai Kochetov
6bf9d670be
Fix test.
2020-06-29 18:22:21 +03:00
alexey-milovidov
eeb9998d51
Merge pull request #12022 from oandrew/clickhouse-local-improvements
...
clickhouse-local improvements
2020-06-29 17:54:24 +03:00
Alexander Kuzmenkov
877c10f5fa
Update ThreadProfileEvents.cpp
2020-06-29 17:13:16 +03:00
Alexander Kuzmenkov
6d67c77e68
fixup
2020-06-29 17:09:51 +03:00
Nikolai Kochetov
0a455fc0e1
Fix tuple nullable comparison.
2020-06-29 16:25:28 +03:00
alesapin
db79278981
Fake change in dockerfile
2020-06-29 16:13:20 +03:00
Alexander Kuzmenkov
3223757808
Merge pull request #12019 from ClickHouse/fix-neighbor-overflow
...
Fix overflow in function "neighbor"
2020-06-29 16:06:05 +03:00
Alexander Kuzmenkov
4685716bc2
Merge pull request #12018 from ClickHouse/fix-bad-get-datetime
...
Fix error in addMonths with floating point argument
2020-06-29 16:04:00 +03:00
alesapin
718262e7ce
Merge pull request #11973 from ClickHouse/alter-enum-partition-key
...
Allow to perform "metadata-only" ALTER of partition key.
2020-06-29 16:01:07 +03:00
Alexander Kuzmenkov
9b9030caad
Update ThreadProfileEvents.cpp
2020-06-29 15:57:36 +03:00
Alexander Kuzmenkov
af8d62bbcb
Add TLB misses perf counters.
2020-06-29 15:48:18 +03:00
Vitaly Baranov
f3f005d5b9
Merge pull request #12015 from vitlibar/fix-access-rights-allow-ddl-0
...
Fix calculation of access rights when allow_ddl = 0
2020-06-29 15:14:22 +03:00
Ivan
fce8328e65
Automated backporting machinery ( #12029 )
...
* Add automated cherry-pick machinery
* Added script for backporting machinery
* Implement dry-run mode
* Comment old methods
* Fix python2
* Add ya.make for sandbox tasks
* Remove old stuff
2020-06-29 15:13:19 +03:00
Ivan Blinkov
97b8888ed2
[docs] improve stable releases discovery
2020-06-29 14:57:21 +03:00
tavplubix
99dfd33e71
Merge pull request #12007 from oandrew/avro-allow-missing-fields
...
Avro: allow_missing_fields setting
2020-06-29 14:40:27 +03:00
alesapin
58c12a8428
Better docker images list
2020-06-29 13:52:25 +03:00
Ivan Blinkov
9e05e3f2ce
Temporary enable debug logs when releasing docs
2020-06-29 13:45:41 +03:00
BayoNet
a798ae00f7
DOCS-636 Synchronized some edits from EN to RU ( #11941 )
...
* [review][clickhousedocs][translate] DOCSUP-1351: Edit and translate to Russian (#129 )
* DOCSUP-1351: Add blockSerializedSize (RU)
* DOCSUP-1351: Fix blockSerializedSize description by function description template.
* DOCSUP-1351: PR8756- Update Distributed engine section.
* DOCSUP-1351: PR9076-Show Queries more like MySQL did.
* DOCSUP-1351: PR#9919-system.tables improvements (total_rows/total_bytes/storage_policy)
* DOCSUP-1351: (ru) blockSerializedSize remake by template.
* DOCSUP-1351: PR#9598-Add function arrayReduceInRange and update arrayReduce function.
* DOCSUP-1351: PR#9598 Fix arrayReduce and arrayReduceInRanges sections by template.
* DOCSUP-1351: Some fixes.
* DOCSUP-1351: Some fixes.
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
* CLICKHOUSEDOCS-636: Minor changes.
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Roman Bug <rrrrrroman@gmail.com>
Co-authored-by: romanzhukov <romanzhukov@yandex-team.ru>
2020-06-29 12:48:18 +03:00
alesapin
e72bc39654
Merge pull request #11983 from ClickHouse/storage_mongodb
...
Merging #10931 (Storage MongoDB)
2020-06-29 11:49:18 +03:00
Ivan Blinkov
c09dd76452
Merge pull request #12024 from ClickHouse/dependabot/pip/docs/tools/idna-2.10
...
Bump idna from 2.9 to 2.10 in /docs/tools
2020-06-29 11:23:32 +03:00