Mikhail Filimonov
8038383f06
Fix #10437 , CR fixes
2020-07-06 19:24:33 +02:00
alexey-milovidov
3059be55a3
Merge branch 'master' into fix-test-under-thread-fuzzer
2020-07-06 19:49:25 +03:00
alexey-milovidov
4e0e8cdaac
Merge pull request #12157 from ClickHouse/fix-flaky-test-721
...
Attempt to fix flaky test 00721_force_by_identical_result_after_merge
2020-07-06 18:15:59 +03:00
Nikita Mikhaylov
53522c728b
Merge pull request #11662 from Avogar/orc_output_format
...
Add ORCBlockOutputFormat
2020-07-06 18:51:35 +04:00
Nikita Mikhaylov
d31ed58f01
done
2020-07-06 17:33:31 +03:00
Anton Popov
66bed10ec1
Merge pull request #12109 from PerformanceVision/initialize_aggregation
...
Create initializeAggregation to initialize an aggregation function
2020-07-06 15:12:30 +03:00
alesapin
8e767bf5d0
Merge pull request #12153 from ClickHouse/fix-mutations-interpreter
...
Fix wrong logic in MutationsInterpreter
2020-07-06 14:43:54 +03:00
alexey-milovidov
b6a19b5eff
Merge pull request #12148 from ClickHouse/fix-bad-redundant-order-by-optimization
...
Fix bad code in redundant ORDER BY optimization
2020-07-06 09:21:45 +03:00
alexey-milovidov
4ec787ce48
Merge pull request #12147 from ClickHouse/fix-logical-error-table-function-remote
...
Change exception code from LOGICAL_ERROR to BAD_ARGUMENTS when the name of remote table is empty.
2020-07-06 09:21:23 +03:00
Alexey Milovidov
63e1e2303b
Attempt to fix flaky test 00721_force_by_identical_result_after_merge_zookeeper
2020-07-06 09:13:26 +03:00
Alexey Milovidov
7df372cb1d
Fix flaky test
2020-07-06 09:09:23 +03:00
Alexey Milovidov
1650bf90b9
Fix test
2020-07-06 09:05:48 +03:00
alexey-milovidov
ced1272368
Update 01358_mutation_delete_null_rows.sql
2020-07-06 09:05:48 +03:00
Alexey Milovidov
d8ae9c571c
Added yet another test just in case
2020-07-06 09:05:48 +03:00
Alexey Milovidov
4508876008
Added another test just in case
2020-07-06 09:05:48 +03:00
Alexey Milovidov
eb2cffab37
Added a test
2020-07-06 09:05:48 +03:00
Mikhail Filimonov
935b943703
Test for issue #9088
...
ALTER DELETE unexpectedly deletes NULL rows
2020-07-06 09:05:48 +03:00
alexey-milovidov
4f63af957d
Merge pull request #12145 from ClickHouse/fix-suggest-word-break-chars
...
Remove underscore as word-break character.
2020-07-06 08:51:35 +03:00
Alexey Milovidov
2a026ee902
Merge branch 'master' into fix-test-under-thread-fuzzer
2020-07-06 08:49:20 +03:00
alexey-milovidov
3aad122153
Merge pull request #12092 from CurtizJ/fix-state-resample
...
Fix segfault with -StateResample combinators
2020-07-06 08:47:42 +03:00
Alexey Milovidov
8179b34857
Fix test under ThreadFuzzer
2020-07-06 06:22:23 +03:00
Alexey Milovidov
bd523a0aff
Autocomplete does not have to work in "Unbundled" build
2020-07-06 04:30:03 +03:00
Alexey Milovidov
752b0218db
Add a test
2020-07-06 03:00:48 +03:00
Alexey Milovidov
3ae9d3c9f3
Change exception code from LOGICAL_ERROR to BAD_ARGUMENTS when the name of remote table is empty
2020-07-06 02:13:44 +03:00
Alexey Milovidov
f2672233d9
Added a test
2020-07-06 01:45:28 +03:00
Alexey Milovidov
05ee63b7f5
Fix bad test number
2020-07-06 01:18:20 +03:00
flynn
5816858403
add parseDateTimeBestEffortUS function ( #12028 )
...
* add function parseDateTimeBestEffortUS
* add test
* add doc
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 21:09:20 +03:00
alexey-milovidov
c08e24d9ab
Merge pull request #12136 from vivarum/vivarum-04659-new-ISO8601-year-modificators-for-formatDateTime
...
New ISO8601 year modificators for formatDateTime() function
2020-07-05 19:10:06 +03:00
alexey-milovidov
ab15c8d6ca
Merge pull request #12021 from ClickHouse/fix-if-fixed-string
...
Fix function if with FixedString arguments of different sizes
2020-07-05 19:02:21 +03:00
alexey-milovidov
0f1bfa5b19
Merge pull request #12042 from ClickHouse/fix-constraints
...
Fix constraints check for constant columns, step 1.
2020-07-05 19:01:33 +03:00
alexey-milovidov
eecf7ae3ee
Merge pull request #12140 from ClickHouse/fix-division
...
Fix potential overflow in integer division
2020-07-05 19:00:41 +03:00
myrrc
8c3417fbf7
ILIKE operator ( #12125 )
...
* Integrated CachingAllocator into MarkCache
* fixed build errors
* reset func hotfix
* upd: Fixing build
* updated submodules links
* fix 2
* updating grabber allocator proto
* updating lost work
* updating CMake to use concepts
* some other changes to get it building (integration into MarkCache)
* further integration into caches
* updated Async metrics, fixed some build errors
* and some other errors revealing
* added perfect forwarding to some functions
* fix: forward template
* fix: constexpr modifier
* fix: FakePODAllocator missing member func
* updated PODArray constructor taking alloc params
* fix: PODArray overload with n restored
* fix: FakePODAlloc duplicating alloc() func
* added constexpr variable for alloc_tag_t
* split cache values by allocators, provided updates
* fix: memcpy
* fix: constexpr modifier
* fix: noexcept modifier
* fix: alloc_tag_t for PODArray constructor
* fix: PODArray copy ctor with different alloc
* fix: resize() signature
* updating to lastest working master
* syncing with 273267
* first draft version
* fix: update Searcher to case-insensitive
* added ILIKE test
* fixed style errors, updated test, split like and ilike, added notILike
* replaced inconsistent comments
* fixed show tables ilike
* updated missing test cases
* regenerated ya.make
* Update 01355_ilike.sql
Co-authored-by: myrrc <me-clickhouse@myrrec.space>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 18:57:59 +03:00
alexey-milovidov
ec563e54dc
Merge pull request #12138 from ClickHouse/codeql
...
Fix warnings from CodeQL
2020-07-05 18:22:49 +03:00
alexey-milovidov
5902718330
Merge pull request #12141 from ClickHouse/test-for-remote-failover-num-tries
...
Added a test for #4211
2020-07-05 18:22:32 +03:00
Alexey Milovidov
e83df36bc0
Rename test
2020-07-05 04:34:45 +03:00
Alexey Milovidov
66e810fc23
Added a test for #4211
2020-07-05 03:44:26 +03:00
Alexey Milovidov
63a88de161
Added a test
2020-07-05 03:29:03 +03:00
Alexey Milovidov
55f9ddbeb4
Added a test
2020-07-05 02:39:13 +03:00
Alexey Milovidov
731d92657d
Remove harmful code from "geoDistance" #12117
2020-07-05 00:57:57 +03:00
Alexey Milovidov
d10856cf07
Added a test
2020-07-05 00:44:29 +03:00
alexey-milovidov
e05283d5d3
Merge pull request #12060 from ClickHouse/fix-12053
...
Check wrong type for filter.
2020-07-04 23:46:34 +03:00
alexey-milovidov
cf1967bb29
Merge pull request #12089 from ClickHouse/fix-11595
...
Fix result_rows and result_bytes metrics for selects.
2020-07-04 23:41:51 +03:00
alexey-milovidov
c6def5f14b
Merge pull request #12108 from ClickHouse/fix-12086
...
Fix Parquet for LowCardinality
2020-07-04 23:39:38 +03:00
Alexey Milovidov
918e979449
Merge branch 'master' into fix-if-fixed-string
2020-07-04 22:00:27 +03:00
vivarum
d387fa719e
New ISO8601 year modificators for formatDateTime
2020-07-04 21:54:42 +03:00
alesapin
bfa8cdc7a4
Move skip lists for tests to skip_list.json file ( #12107 )
...
* Add unbundled mode flag
* Move skip lists to clickhouse-test
* More verbose message about skip
* Make skip-list optional
* Update clickhouse-test
2020-07-04 10:35:45 +03:00
alesapin
8dc204350f
Fix version column in replicated version collapsing merge tree ( #12121 )
2020-07-04 10:35:17 +03:00
alexey-milovidov
6677e0a503
Merge pull request #12073 from zhang2014/feature/atfer_column_modify_column
...
ISSUES-4006 support first for ALTER ADD|MODIFY COLUMN
2020-07-03 22:54:05 +03:00
tavplubix
4d9cfe4cf2
Update 01355_CSV_input_format_allow_errors.sh
2020-07-03 22:37:10 +03:00
Mikhail Filimonov
6e599533a7
Add missing query context for system logs
...
Needed to allow attaching materialized views with joins or with
subqueries to system.logs.
2020-07-03 19:19:32 +02:00
Nikita Mikhaylov
5c97106ea3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into Avogar_orc_output_format
2020-07-03 18:00:28 +03:00
Guillaume Tassery
027c6b705f
Create initializeAggregation to initialize an aggregation function based on a value
2020-07-03 19:18:47 +07:00
Nikolai Kochetov
8ec70c2c3c
Added test.
2020-07-03 14:45:57 +03:00
alesapin
d015a4d646
Move skip lists to clickhouse-test
2020-07-03 13:57:16 +03:00
Mikhail Filimonov
0ce2d48af6
Test for a fixed issue #10668 , related to input_format_allow_errors_num in CSV
2020-07-03 11:24:03 +02:00
alesapin
b3ec449e35
Fix test ( #12088 )
2020-07-03 12:18:59 +03:00
Nikolai Kochetov
8cfe5f137a
Added test.
2020-07-03 11:22:21 +03:00
Nikolai Kochetov
17c89f3fe0
Merge pull request #12085 from ClickHouse/fix-11937
...
Fix limiting the number of threads for VIEW.
2020-07-03 10:35:04 +03:00
Nikolai Kochetov
3c717d4aca
Added test.
2020-07-03 10:34:08 +03:00
Anton Popov
4422df2e37
Merge remote-tracking branch 'upstream/master' into HEAD
2020-07-02 20:18:21 +03:00
Anton Popov
a5cbeda1e3
fix segfault with -StateResample combinators
2020-07-02 19:13:42 +03:00
Nikolai Kochetov
aca1d8ac77
Added test.
2020-07-02 16:06:10 +03:00
Anton Popov
71059e4dff
Merge pull request #12062 from nvartolomei/nv/set-index-tuple-types
...
Try fix pk in tuple performance
2020-07-02 15:51:03 +03:00
alesapin
f87c3af097
Merge pull request #12055 from ClickHouse/fix-9766
...
Fix arrayMap with Tuple(LowCardinality) argument
2020-07-02 13:40:05 +03:00
alesapin
65dae99c12
Merge pull request #12056 from ClickHouse/fix-11808
...
Fix defaultValueOfArgumentType
2020-07-02 13:35:38 +03:00
Nikolai Kochetov
79cd33a567
Fix tests.
2020-07-02 10:44:47 +03:00
zhang2014
9ed5c6d925
ISSUES-4006 support first for ALTER ADD|MODIFY COLUMN
2020-07-01 22:58:52 +08:00
Vitaly Baranov
811d124a82
Merge pull request #12002 from vitlibar/fix-partial-revokes
...
Fix partial revokes
2020-07-01 17:15:01 +03: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
hcz
e284bf83d0
Optimize and fix
2020-07-01 11:21:53 +08:00
alexey-milovidov
948af0bfc5
Merge pull request #12045 from ClickHouse/fix_loading_of_tables
...
Parse metadata in parallel when loading tables
2020-06-30 21:16:40 +03: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
Vitaly Baranov
c39eb8f71b
Fix partial revokes (complex cases).
2020-06-30 18:47:02 +03: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
Nikolai Kochetov
8bfc67655e
Added test.
2020-06-30 18:06:14 +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
Nikolai Kochetov
aeb0cdd544
Added test.
2020-06-30 14:36:55 +03:00
Artem Zuikov
29178e26da
fix low card types in merge join ( #12035 )
2020-06-30 14:13:43 +03:00
Nikolai Kochetov
b5fbd62a6f
Added test.
2020-06-30 13:56:23 +03:00
Alexander Tokmakov
987e64acfe
parse metadata in parallel when loading tables
2020-06-30 03:12:16 +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
0bf7a8c554
Add multiIf
2020-06-30 01:50:26 +03:00
Alexey Milovidov
6fa1204698
Fix function if with FixedString arguments of different sizes
2020-06-30 01:50:26 +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
b2712aa242
disable orc in arcadia at all
2020-06-29 23:48:18 +03:00
Nikolai Kochetov
8587c2025d
Merge branch 'master' into initial-explain
2020-06-29 23:35:56 +03:00
Nikolai Kochetov
840d5185b9
Added test.
2020-06-29 18:32:28 +03:00
Nikita Mikhaylov
33e627777b
Merge branch 'master' of github.com:ClickHouse/ClickHouse into Avogar_orc_output_format
2020-06-29 17:25:33 +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
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
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
e72bc39654
Merge pull request #11983 from ClickHouse/storage_mongodb
...
Merging #10931 (Storage MongoDB)
2020-06-29 11:49:18 +03:00
hcz
a0988f505e
Add test 01324_insert_tsv_raw
2020-06-29 15:06:43 +08:00
alexey-milovidov
22de79846a
Merge pull request #12017 from ClickHouse/fix-integration-test-11996
...
Fix integration test
2020-06-29 03:39:12 +03:00
Alexey Milovidov
4dcdad2f08
Fix ORDER BY tuple with COLLATE on const column
2020-06-28 23:55:45 +03:00
Alexey Milovidov
a838f86f7c
Fix overflow in function "neighbor"
2020-06-28 23:43:26 +03:00
Alexey Milovidov
b6a57b162a
Fix error in addMonths with floating point argument
2020-06-28 23:20:49 +03:00
alexey-milovidov
aaadc8addb
Merge pull request #12006 from ClickHouse/fix-error-geohash
...
Avoid floating point error in geohashesInBox #11369
2020-06-28 23:09:39 +03:00
Alexey Milovidov
fe67e4f326
Added missing ORDER BY in test
2020-06-28 22:48:52 +03:00
Alexey Milovidov
d429ead205
Added test reference
2020-06-28 22:39:31 +03:00
Alexey Milovidov
dfc5e07af3
Added failing test for Replicated table
2020-06-28 22:39:31 +03:00
Alexey Milovidov
180711c1e2
Update test
2020-06-28 22:39:31 +03:00
Alexey Milovidov
e4d8cc2b44
Slightly more safe
2020-06-28 22:39:31 +03:00
Alexey Milovidov
c2615d0437
Added a test
2020-06-28 22:39:31 +03:00
Alexey Milovidov
14294d7c54
Added failing test
2020-06-28 22:39:31 +03:00
Andrew Onyshchuk
4a9ec11a4c
Add tests
2020-06-28 13:40:48 -05:00
Alexey Milovidov
306714f2d3
Merge remote-tracking branch 'origin/master' into fix-array-size-overflow-generate-random
2020-06-28 19:12:54 +03:00
alexey-milovidov
7376f18467
Merge pull request #11923 from ucasFL/client-not-argue
...
client exit with unrecognized arguments
2020-06-28 17:38:25 +03:00
Alexey Milovidov
2a79e0b61b
Added a test
2020-06-28 17:35:44 +03:00
alexey-milovidov
d867dd8a65
Merge pull request #12005 from ClickHouse/fix-div-nontrivial-fpe
...
Fix potential FPE.
2020-06-28 16:16:26 +03:00
feng lv
2c96ad0a7e
update
2020-06-28 17:04:11 +08:00
Alexey Milovidov
c35841e4e1
Avoid floating point error in geohashesInBox #11369
2020-06-28 02:07:24 +03:00
Alexey Milovidov
58d52c3715
Add a test
2020-06-28 01:37:52 +03:00
Alexey Milovidov
94a0cd12f3
Update test
2020-06-28 00:19:55 +03:00
Alexey Milovidov
1a1d1ef516
Added a test for #8550
2020-06-27 23:15:07 +03:00
alexey-milovidov
5ed815c63e
Merge pull request #11988 from ClickHouse/add-test-index-analysis
...
Add a test for #10102
2020-06-27 22:18:58 +03:00
Nikolai Kochetov
897ed2f3a1
Fix tests.
2020-06-27 18:30:54 +03:00
Nikita Mikhaylov
36549884f4
Merge pull request #11947 from nikitamikhaylov/merging-ssh-cache
...
Merging #8624 (ssd-cache)
2020-06-27 14:58:08 +04:00
Nikolai Kochetov
893a75bcf7
Merge branch 'master' into initial-explain
2020-06-27 12:45:40 +03:00
Nikolai Kochetov
e1481ccfc2
Add initial explain.
2020-06-27 12:30:38 +03:00
Alexey Milovidov
7a07f86e37
Added a test from #5131
2020-06-26 23:49:25 +03:00
Nikita Mikhaylov
d88fca83bf
disable tests in arcadia
2020-06-26 23:45:07 +03:00
Alexey Milovidov
f1f048ac87
Add a test for #10102
2020-06-26 23:44:08 +03:00
alexey-milovidov
6d6ea4249c
Merge pull request #11974 from ClickHouse/tests-for-8692
...
Added tests for #8692
2020-06-26 20:52:33 +03:00
alesapin
11f88340a5
Merge branch 'mongo' of https://github.com/ageraab/ClickHouse into storage_mongodb
2020-06-26 16:03:06 +03:00
alesapin
e9c47dc89c
Merge branch 'master' into CurtizJ-polymorphic-parts
2020-06-26 14:27:19 +03:00
alexey-milovidov
751d36f7c7
Merge pull request #11954 from oandrew/avro-uuid
...
Avro UUID support
2020-06-26 14:09:54 +03:00
Nikita Mikhaylov
f90dfa3ef4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-ssh-cache
2020-06-26 13:56:21 +03:00
Anton Popov
39fe7d6c3f
Merge pull request #11729 from CurtizJ/distinct-combinator
...
Merging #10930 . (Distinct combinator)
2020-06-26 13:40:32 +03:00
alexey-milovidov
2a1937625b
Update 01345_array_join_LittleMaverick.sql
2020-06-26 13:23:14 +03:00
feng lv
a159f1be54
Merge branch 'master' of github.com:ClickHouse/ClickHouse into client-not-argue
2020-06-26 17:34:24 +08:00
feng lv
0518e6a4d1
add test
...
update test
fix
2020-06-26 12:50:46 +08:00
alexey-milovidov
2163716e45
Merge pull request #11955 from ClickHouse/revive-mmap-2
...
Allow to use direct_io and mmap_io for secondary indices.
2020-06-26 03:16:56 +03:00
alexey-milovidov
178a5217bc
Merge pull request #11953 from ClickHouse/revive-mmap
...
Revive mmap IO + add a test
2020-06-26 03:15:07 +03:00
Alexey Milovidov
b1e055686e
Added tests for #8692
2020-06-26 02:52:26 +03:00
Anton Popov
685d14863b
tests with distributed
2020-06-26 01:39:54 +03:00
alexey-milovidov
8f429f6027
Merge pull request #11935 from zlobober/allocated_bytes
...
Consider allocatedBytes() instead of bytes() in Storage{Buffer,Memory}.
2020-06-26 00:57:47 +03:00
alexey-milovidov
e4531301b6
Merge pull request #11946 from ClickHouse/fix-one-reason-of-test-flakiness
...
Fix one reason of test flakiness
2020-06-26 00:57:33 +03:00
alexey-milovidov
6a45f3e960
Merge pull request #11936 from ClickHouse/fix_11918
...
Fix query parameter visitor
2020-06-26 00:54:37 +03:00
Alexey Milovidov
5d08789602
Added a test
2020-06-25 22:48:12 +03:00
Alexey Milovidov
734be4f376
Minor modification
2020-06-25 22:46:02 +03:00
Andrew Onyshchuk
fc1ae85600
Avro UUID support
2020-06-25 14:25:45 -05:00
Alexey Milovidov
5608f15749
Revive mmap IO
2020-06-25 22:15:41 +03:00
Alexey Milovidov
a5c5eed866
Fix one reason of test flakiness
2020-06-25 19:46:28 +03:00
alexey-milovidov
a34032cace
Merge pull request #11300 from blinkov/sentry
...
Opt-in support for sending crash reports
2020-06-25 17:20:50 +03:00
alexey-milovidov
9de5db9025
Merge pull request #11856 from zhang2014/feature/uuid_without_separator
...
Support parse UUID without separator
2020-06-25 16:26:55 +03:00