alexey-milovidov
14dc9ad801
Merge pull request #6024 from yandex/check_table_old_behaviour
...
Add settings for check query backward compatibility
2019-07-16 15:19:55 +03:00
alesapin
f786c45ac4
Add settings for check query backward compatibility
2019-07-16 13:19:37 +03:00
alexey-milovidov
ceffbf39d6
Merge pull request #5965 from dimarub2000/master
...
Primary key, MergeTreeIndexFullText and MergeTreeIndexSet support for string functions
2019-07-16 03:36:42 +03:00
alexey-milovidov
b4306c13cd
Merge pull request #6019 from yandex/fix-max-rows-to-read-without-uniform-read-distribution
...
Fixed error with calculating of max_rows_to_read if the setting merge_tree_uniform_read_distribution is set to zero.
2019-07-16 02:06:17 +03:00
Alexey Milovidov
77fb3de2d6
Improved test
2019-07-15 23:26:22 +03:00
Alexey Milovidov
21958c47cd
Added failing test
2019-07-15 23:06:20 +03:00
Alexey Milovidov
066337e197
Fixed test
2019-07-15 22:29:54 +03:00
Alexey Milovidov
b3c0292613
Fixed error; added test
2019-07-15 19:32:52 +03:00
Nikita Mikhailov
cc5f87e352
Merge branch 'master' of github.com:yandex/ClickHouse into logs_bugfix
2019-07-15 19:31:54 +03:00
Nikita Mikhailov
d192df1388
poco patch define added
2019-07-15 18:25:32 +03:00
chertus
81d8597bb9
memory tracking for size-unaware deletes with jemalloc
2019-07-15 16:19:56 +03:00
Alexey Milovidov
e1271ae1f2
Added missing file #5958
2019-07-13 02:13:15 +03:00
alexey-milovidov
1314e083b4
Merge pull request #5958 from alex-krash/coverage_tests
...
Batch of tests
2019-07-13 00:52:18 +03:00
dimarub2000
4005987fc4
multiSearchAny fixed, tests added, minor syle changes
2019-07-12 14:35:17 +03:00
Maxim Fridental
bb40d4729c
Implement COLUMNS clause
2019-07-12 13:17:38 +02:00
Vitaly Baranov
fd89a8b051
Merge pull request #5212 from andyyzh/custom_week_functions
...
Added functions for working with the Custom week number
2019-07-12 14:00:35 +03:00
alexey-milovidov
ac035f7f5b
Merge pull request #5970 from vitlibar/invalid-json-must-not-parse
...
Extra bytes after correctly parsed JSON are now considered as a parsing error.
2019-07-12 03:26:42 +03:00
alexey-milovidov
a3dda4053f
Merge pull request #5979 from vitlibar/read-prefix-before-blocks-while-executing-subquery
...
Fix using a table powered by the File engine in a subquery.
2019-07-12 03:20:31 +03:00
Nikolai Kochetov
e9f3d4d6b8
Merge pull request #4914 from yandex/processors
...
Processors
2019-07-11 19:22:02 +03:00
Vitaly Baranov
001e4daf25
Read prefix before blocks while executing subquery.
2019-07-11 16:53:26 +03:00
dimarub2000
1480b8e62c
Actually set index already woks for everything. Here are some tests.
2019-07-11 15:31:24 +03:00
Vitaly Baranov
7aad2eff28
Add more test cases for JSON functions.
2019-07-11 11:39:30 +03:00
NIKITA MIKHAILOV
865606b83c
bugfix client logs + some tests
2019-07-10 16:15:22 +03:00
Nikita Mikhaylov
c0a4495d17
multithreading
2019-07-10 16:04:50 +03:00
Nikita Mikhaylov
6ff9dfce34
first try
2019-07-10 16:04:01 +03:00
Vitaliy Zakaznikov
280025d5b4
* Updating live view tests to workaround an issue with clickhouse-client exiting when
...
Ctrl-C is pressed during WATCH query execution instead of going to the
client prompt.
2019-07-10 08:22:31 -04:00
Alexandr Krasheninnikov
eb78c9f084
Batch of tests
2019-07-10 13:19:14 +03:00
Vitaliy Zakaznikov
9c5514135d
* Updating tests to send Ctrl-C instead of SIGINT signal to abort WATCH query
...
* Updating client.py to start commands inside shell
* Removing test code from uexpect.py
2019-07-09 23:27:19 -04:00
alesapin
9a17a461ea
Review fixes and better tests
2019-07-09 12:02:52 +03:00
alesapin
6a3b543e10
Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part
2019-07-09 11:21:44 +03:00
alexey-milovidov
ef3c06b3d0
Merge pull request #5943 from yandex/ubsan-fixes-5
...
Fixed ubsan report in fuzz test
2019-07-09 04:12:49 +03:00
alexey-milovidov
d6afdd5a8d
Merge pull request #5941 from 4ertus2/bugs
...
Fix wrong array_join_columns calculation
2019-07-09 03:58:36 +03:00
Alexey Milovidov
f748efbb5b
Fixed ubsan report in fuzz test
2019-07-09 01:30:30 +03:00
chertus
ef41b16a44
fix wrong ExpressionAnalyzer.array_join_columns calculation
2019-07-08 23:06:17 +03:00
Alexey Milovidov
26f91c4a96
Added a test
2019-07-08 20:05:38 +03:00
Nikolai Kochetov
209793c981
Merged with master.
2019-07-08 16:00:54 +03:00
Nikolai Kochetov
fbd96ff037
Disable processors for 00416_pocopatch_progress_in_http_headers
2019-07-08 15:48:16 +03:00
Nikolai Kochetov
a4b3338182
Add sorting to tests with union.
2019-07-08 15:49:28 +03:00
Alexey Milovidov
f9f85b4c65
Added test
2019-07-08 05:03:01 +03:00
Alexey Milovidov
d362ffb3ee
Added test for #5909
2019-07-08 04:01:52 +03:00
Vitaliy Zakaznikov
24a3726235
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-07-07 20:03:14 -04:00
alexey-milovidov
8d4358f19c
Merge pull request #5919 from dimarub2000/master
...
startsWith now uses PK index
2019-07-08 02:06:05 +03:00
dimarub2000
2693ce27ff
startsWith now uses PK index
2019-07-07 18:48:34 +03:00
alexey-milovidov
bf4ace06e8
Merge pull request #5911 from yandex/quantile-timing-float
...
Returned back support for floating point argument in function quantileTiming
2019-07-07 04:27:34 +03:00
Alexey Milovidov
99334d0451
Added a test #5614
2019-07-07 03:39:45 +03:00
Alexey Milovidov
e8b6ac3fad
Returned back support for floating point argument in function quantileTiming
2019-07-07 02:15:14 +03:00
alexey-milovidov
758de14138
Merge pull request #5902 from yandex/fix-visit-param-extract-raw
...
Fixed buffer underflow in visitParamExtractRaw
2019-07-06 20:34:46 +03:00
alexey-milovidov
f25a3fd230
Merge pull request #5886 from dimarub2000/master
...
Enum data type as a synonim for Enum8 or Enum16.
2019-07-05 23:59:36 +03:00
alexey-milovidov
eb2ffccaf3
Merge pull request #5874 from nikitamikhaylov/master
...
Add data checksums to system.parts_columns table. #5151
2019-07-05 23:58:58 +03:00
Alexey Milovidov
6b357421fc
Added another test just in case
2019-07-05 21:47:59 +03:00
Alexey Milovidov
1c2e422797
Fixed buffer underflow in visitParamExtractRaw
2019-07-05 21:23:14 +03:00
Nikita Mikhaylov
afdd45fd85
checksum added to system_parts
2019-07-05 18:32:55 +03:00
dimarub2000
6537016abe
minor test change
2019-07-05 17:10:24 +03:00
CurtizJ
a49112a14e
Merge branch 'master' of https://github.com/yandex/ClickHouse into order-by-efficient
2019-07-05 16:41:48 +03:00
Nikita Mikhaylov
375932678b
new test with table creation
2019-07-05 16:33:28 +03:00
Nikita Mikhaylov
98f218c7ef
another test with constant result on diffrent machines
2019-07-05 16:02:48 +03:00
dimarub2000
e8f6497f74
tests
2019-07-05 15:44:15 +03:00
Nikita Mikhaylov
1ffa488be4
lowercase added~
2019-07-05 14:45:47 +03:00
alexey-milovidov
8b62c96989
Merge pull request #5859 from 4ertus2/joins
...
Fix FULL|RIGHT JOIN with nulls in right table's keys
2019-07-05 14:23:35 +03:00
CurtizJ
410b62f7fa
Merge branch 'clickhouse-4013' of https://github.com/anrodigina/ClickHouse into order-by-efficient
2019-07-05 13:48:04 +03:00
Nikita Mikhaylov
f8dde20dcb
easier code
2019-07-05 13:13:44 +03:00
Nikita Mikhaylov
0e25190433
checksums now output in the same way + tests are better
2019-07-05 12:00:19 +03:00
alexey-milovidov
101b317efa
Merge pull request #5850 from PerformanceVision/top_k_weighted_fix
...
Add element on SpaceSaving set if the last element has a lower value compared to the last one
2019-07-05 10:57:11 +03:00
Nikita Mikhaylov
fc75c8f62e
done
2019-07-04 21:27:14 +03:00
chertus
4d6757a7dc
add test for #3495 (already fixed)
2019-07-04 16:21:56 +03:00
Guillaume Tassery
85151b339b
Add test on topKWeighted function
2019-07-04 15:15:08 +02:00
chertus
4759e8632e
fix crash and update test results
2019-07-04 14:50:32 +03:00
alesapin
65437d2289
Fix final mark and tests
2019-07-04 13:21:14 +03:00
alesapin
a0496da05f
Merge branch 'master' of github.com:yandex/ClickHouse into fix_fetch_of_existing_part
2019-07-04 12:46:54 +03:00
alesapin
477a7450fb
Add test for data corruption
2019-07-03 23:51:13 +03:00
chertus
73d6784c59
join right table nulls
2019-07-03 22:06:34 +03:00
alexey-milovidov
50c22ef71a
Merge pull request #5628 from yandex/index_granularity_by_default
...
Enable adaptive index granularity by default
2019-07-03 02:15:33 +03:00
alexey-milovidov
d81ae49f2c
Merge pull request #5755 from 4ertus2/bugs
...
Fix wrong ColumnConst.isColumnNullable()
2019-07-03 02:06:07 +03:00
alexey-milovidov
7ea33203d7
Merge pull request #5742 from 4ertus2/t64
...
T64 full bit-transpose variant
2019-07-03 01:56:34 +03:00
alexey-milovidov
aea3fc661a
Merge pull request #5824 from Enmk/double_delta_fix
...
Fixed DoubleDelta codec edge case
2019-07-02 12:52:40 +03:00
Vasily Nemkov
c5b2ba2a25
Fixed DoubleDelta codec edge case
...
Casused by mistreating negative double delta value as HUGE unsigned value, crippling compression ratio.
2019-07-02 07:58:03 +03:00
Alexey Milovidov
4e41e8a572
Preparation for #4828 : adapted test for build without libunwind
2019-07-02 02:33:15 +03:00
Vitaliy Zakaznikov
b5120931d5
Merge branch 'master' of https://github.com/yandex/ClickHouse into liveview
2019-07-01 18:12:31 -04:00
Vitaliy Zakaznikov
a363189dfc
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-07-01 18:05:14 -04:00
alexey-milovidov
bf8c154d3d
Merge pull request #5819 from CurtizJ/fix-segfault-ttl
...
Fix segfault in TTL merge with non-physical columns in block.
2019-07-01 20:28:26 +03:00
Alexey Milovidov
2acaebb288
Added test
2019-07-01 17:28:39 +03:00
chertus
13fa9a07e5
Merge branch 'master' into t64
2019-07-01 16:40:32 +03:00
CurtizJ
c0a63801fc
fix segfault in ttl merge with non-physical columns in block
2019-07-01 15:50:50 +03:00
chertus
5df4ad0f28
Merge branch 'master' into bugs
2019-07-01 14:49:01 +03:00
chertus
0c634129da
add IColumn.isNullable()
2019-07-01 14:44:19 +03:00
Alexey Milovidov
f6c2815134
Merge branch 'master' of github.com:yandex/ClickHouse
2019-07-01 02:54:07 +03:00
Alexey Milovidov
22948ba508
Fixed test
2019-07-01 02:53:56 +03:00
alexey-milovidov
c108882c5f
Merge pull request #5805 from yandex/BHYCHIK-h3-integration
...
Merge H3 integration
2019-07-01 01:02:16 +03:00
alexey-milovidov
a9cfe4ce91
Merge pull request #5807 from yandex/ngramSearch
...
Inverting ngramSearch to be more intuitive
2019-07-01 00:43:17 +03:00
Alexey Milovidov
49ce1cc29b
Updated test
2019-06-30 23:39:23 +03:00
Danila Kutenin
9127c8b27c
inverting ngramSearch to be more intuitive
2019-06-30 22:34:17 +03:00
Alexey Milovidov
b86aca37ea
Merge branch 'h3-integration' of https://github.com/BHYCHIK/ClickHouse into BHYCHIK-h3-integration
2019-06-30 19:15:33 +03:00
Alexey Milovidov
0bba515f8f
Updated test
2019-06-30 17:29:24 +03:00
Alexey Milovidov
33cff5ee0f
Merge remote-tracking branch 'origin/master' into sanych73-prepared_statements
2019-06-30 17:24:15 +03:00
alexey-milovidov
feafcb21bd
Merge branch 'master' into h3-integration
2019-06-30 16:19:11 +03:00
proller
a69990ce27
CLICKHOUSE-4514 Unique query_id among all users ( #5430 )
...
* CLICKHOUSE-4514 Unique query_id among all users
* try 1
* Fix
* fix
* use condvar
* fix style
* Update ProcessList.cpp
2019-06-30 16:17:27 +03:00
Alexey Milovidov
725bcd9d02
Merge branch 'master' into sanych73-prepared_statements
2019-06-30 02:59:37 +03:00
Alexey Milovidov
af1e3b97ea
Updated test
2019-06-29 23:09:14 +03:00
Alexey Milovidov
b78b000ec1
Updated test
2019-06-29 23:06:53 +03:00
Alexey Milovidov
3fd3cc3ff4
Updated test
2019-06-29 23:05:41 +03:00
Alexey Milovidov
e2431a571f
Updated test
2019-06-29 23:05:11 +03:00
Alexey Milovidov
d29ab639d9
Updated test
2019-06-29 21:36:34 +03:00
Alexey Milovidov
b8e6cd0311
Updated test
2019-06-29 21:35:23 +03:00
Alexey Milovidov
3adfbff78c
Updated test
2019-06-29 21:33:56 +03:00
Alexey Milovidov
22bb0b5ca7
Updated test
2019-06-29 21:32:48 +03:00
Alexey Milovidov
16cfce7ab3
Updated test
2019-06-29 21:32:07 +03:00
Alexey Milovidov
1d3658662a
Updated test
2019-06-29 21:30:53 +03:00
Alexey Milovidov
88fc72f0b9
Merge branch 'feature/bloom_filter' of https://github.com/zhang2014/ClickHouse into zhang2014-feature/bloom_filter
2019-06-29 20:44:11 +03:00
alexey-milovidov
87993de98d
Merge pull request #5725 from yandex/PerformanceVision-ignore_scheme
...
Performance vision ignore scheme
2019-06-29 20:36:23 +03:00
Alexey Milovidov
90898905e0
Allow to DROP database with Dictionary engine
2019-06-29 20:27:32 +03:00
Alexey Milovidov
2638bb79f7
Updated test
2019-06-29 19:22:02 +03:00
Alexey Milovidov
6566bb7088
Updated tests
2019-06-29 19:18:59 +03:00
Alexey Milovidov
a8e1c8a7d2
Fixed formatting of invalid queries with ambiguous aliases
2019-06-29 19:13:28 +03:00
Alexey Milovidov
6ff0a88eb3
Fixed minor issue in query formatting
2019-06-29 18:26:19 +03:00
Alexey Milovidov
3197b0748d
Updated test
2019-06-29 18:13:52 +03:00
Alexey Milovidov
a643f2f75e
Merge branch 'master' into sanych73-prepared_statements
2019-06-29 15:51:56 +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
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
hcz
fc6140ade8
Add tests
2019-06-28 13:00:26 +08:00
chertus
6fe4640e0b
fix ColumnConst.isColumnNullable() and related crash
2019-06-26 15:59:25 +03:00
Ivan Remen
93523416d7
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-26 14:52:46 +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
Nikolai Kochetov
f9b29bfdd2
Merged with master.
2019-06-25 20:00:54 +03:00
Nikolai Kochetov
651b86b12f
Modify tuple extremes test for processors.
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
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
Nikita Vasilev
7079c91a0e
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
2019-06-25 16:34:11 +03:00
Nikita Vasilev
9873b04611
StringRef -> String (race cond)
2019-06-25 16:10:09 +03:00
Ivan Remen
df4bd3eec6
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-25 15:43:33 +03:00
alesapin
57ed08f832
Merge pull request #5738 from yandex/hczhcz-patch-6
...
Slightly better style
2019-06-25 15:14:28 +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
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
hcz
eff547cf70
Update test cases
2019-06-25 14:27:27 +08: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
Nikita Vasilev
7b7517ff85
Merge remote-tracking branch 'upstream/master' into nikvas0/index_mutate
2019-06-24 16:44:44 +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
Andy Yang
4b6efaa4b9
Merge branch 'master' into custom_week_functions
...
update last code
2019-06-24 09:53:38 +08:00
Vitaliy Zakaznikov
d87ed7f267
* Adding max_live_view_insert_blocks_before_refresh setting
...
with default value of 64
* Updating writeIntoLiveView method to use max_live_view_insert_blocks_before_refresh
from global context instead of hard coded number
* Adding squashing of the result blocks similar how it is done in materialized views
* Fixing bug in writeIntoLiveView that caused incoming block to be processed twice
when maximum number of insert blocks was reached
2019-06-23 09:51:29 -04:00
alesapin
682e803fc9
Merge with master
2019-06-21 12:44:57 +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
stavrolia
cb71e0c61c
Add test
2019-06-20 17:05:33 +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 Remen
b439769aa7
Merge remote-tracking branch 'main/master' into h3-integration-fix
2019-06-20 13:53:17 +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
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
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
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
Ivan Remen
b353b8347a
Merge remote-tracking branch 'main/master' into crc32-for-master
2019-06-19 15:16:20 +03: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
Ivan Remen
60c85c4f24
Fix CRC32 function name in tests
2019-06-19 11:09:01 +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
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
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
unknown
414bb21238
Merge remote-tracking branch 'upstream/master' into moving-sum
2019-06-17 19:09:58 -04:00
Ivan Remen
edff6e58dc
Support crc32 function
2019-06-18 00:54:26 +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
alesapin
150a91c940
Correct test result for adaptive marks
2019-06-17 19:44:50 +03:00
Vitaliy Zakaznikov
51bf8a1baa
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-06-17 12:42:31 -04: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
alexey-milovidov
36c0e1f4c5
Merge branch 'master' into sanych73-prepared_statements
2019-06-17 09:33:04 +03:00
Alexey Milovidov
dc0391b446
Fixed formatting of complex expressions
2019-06-17 01:51:09 +03:00
Alexey Milovidov
0bc2b751ea
Added test
2019-06-17 01:30:25 +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
6bdd020609
Fixed test
2019-06-16 15:02:56 +03:00
Vitaliy Zakaznikov
ea83a4cafa
* Removing 'hash' column from WATCH [db.live_view] EVENTS query result
...
as hash of the result are not usually provided in ClickHouse.
This is also done to match the implementation of the SELECT query that only
returns '_version' virtual column when using LIVE VIEW tables.
2019-06-16 07:09:43 -04:00
dmitry kuzmin
c73ce602bf
fix decimal overflow, extreme values
2019-06-16 10:57:30 +03:00
Vitaliy Zakaznikov
103bf9d068
* Updating tests as SHOW TABLES 'lv' does not return any tables
...
as test database is not selected by default.
2019-06-15 23:34:28 -04:00
Vitaliy Zakaznikov
abc7c3f6c1
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-06-15 21:22:28 -04:00
Alexey Milovidov
7514674447
Merge remote-tracking branch 'origin/master' into sanych73-prepared_statements
2019-06-16 02:40:17 +03: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
proller
2a6c7cda0b
CLICKHOUSE-4179 Fix function arrayEnumerateUniqRanked ( #5622 )
...
* wip
* fix
* clean
2019-06-15 22:14:17 +03:00
Alexey Milovidov
0f9599bf22
Removed bad code; added support for --param_name value
2019-06-15 21:56:32 +03:00
Alexey Milovidov
b079631f61
Fixed tests
2019-06-15 21:22:48 +03:00
Alexey Milovidov
fad6013270
Fixing query parameters
2019-06-15 20:52:53 +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
7036a8174b
Update 00557_remote_port.sh
2019-06-14 18:59:56 +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
Vitaliy Zakaznikov
13978c03f3
* Fixing a bug in StorageLiveView.cpp in the getHeader() method
...
when header block would not match blocks in the stream
when Const column is present.
* Updating 00963_temporary_live_view_watch_live_timeout.py
and removed timeout=5 after WATCH query is aborted with Ctrl-C
so that the default timeout of 20sec is used
* Small style fixes in tests
2019-06-14 10:06:15 -04: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
Ivan Lezhankin
10c7bcf98f
Merge remote-tracking branch 'upstream/master' into pytest
2019-06-14 13:53:07 +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
Vitaliy Zakaznikov
6cca6d359d
* Reverting changes to clickhouse-test as it seems to cause some tests to fail
...
* Updating client.py to use CLICKHOUSE_BINARY env variable instead of CLICKHOUSE_CLIENT
2019-06-13 21:02:15 -04:00
dmitry kuzmin
5fc6a6973a
float to decimal overflow fix
2019-06-13 23:28:14 +03:00
Vitaliy Zakaznikov
117f2d191e
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-06-13 15:23:20 -04:00
unknown
1c7037d270
movingSum test fix: source table order
2019-06-13 12:17:20 -04:00
coraxster
640653dfde
newline
2019-06-13 15:50:42 +03:00
Vitaliy Zakaznikov
825c21f29a
* Increasing timeout from 2 to 20 sec.
...
* Style fix
2019-06-13 06:36:59 -04:00
alexey-milovidov
be51de0903
Merge pull request #5559 from proller/fix28
...
CLICKHOUSE-4179 Fix of function arrayEnumerateUniqRanked for arguments with empty arrays
2019-06-13 13:14:51 +03:00
dmitry kuzmin
89cc1440d8
fix float to decimal convert overflow
2019-06-13 11:40:30 +03:00
hcz
712aefca2a
Fix wrong test file
2019-06-13 14:30:59 +08:00
Vitaliy Zakaznikov
d50586d5a5
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-06-12 15:40:58 -04:00
chertus
1c3192016b
Merge branch 'master' into t
2019-06-12 22:19:26 +03:00
unknown
1ebc5377f8
movingSum fix test for blocks order
2019-06-12 09:53:23 -04:00
unknown
9379132afe
movingSum : test added
2019-06-12 09:13:42 -04:00
hcz
347d382803
Add tests
2019-06-12 15:47:52 +08:00
Danila Kutenin
585e4b75c5
Fix some weird cases in Searchers
2019-06-12 07:14:03 +03:00
Vitaliy Zakaznikov
536bdb588d
* Fixing and reorganazing LIVE VIEW tests
2019-06-11 21:28:20 -04:00
chertus
3648889aed
T64 codec: add test for signed & related fixes
2019-06-11 21:25:34 +03:00
chertus
10c720f059
T64 codec: fix getMaxCompressedDataSize and test
2019-06-11 17:14:45 +03:00
Vitaliy Zakaznikov
a467e7c105
* Moving uexpect.py so that it can be found
...
* Trying to fix failed style checks
* Trying to fix clang build fail
2019-06-10 22:22:53 -04:00
Vitaliy Zakaznikov
79989a766c
* Fixing uexpect.py close() method and forcing to close the process
...
by default
* Updating tests to be more robust
2019-06-10 19:56:12 -04:00
Vitaliy Zakaznikov
1ebe3047ff
* Moving uexpect.py to dbms/tests/integration/helpers folder
...
* Updating uexpect.py to support close() method and
context manager for proper resource cleanup
* Updating tests to use uexpect context manager
2019-06-10 18:12:06 -04:00
Ivan Lezhankin
d42d543ee9
Merge branch 'master' into pytest
2019-06-10 18:25:38 +03:00
Ivan Lezhankin
fd6fbc9be8
Fix dict_get.sql test
2019-06-10 15:22:57 +03:00
Vitaliy Zakaznikov
87b58e4150
* Fixing clang errors
...
* Fixing LIVE VIEW tests
2019-06-10 07:18:33 -04:00
Andy Yang
7c15a32ef3
Merge branch 'master' into custom_week_functions
...
Update the latest code
2019-06-10 09:40:43 +08:00
Andy Yang
365d85e1f9
add week(), yearweek()
2019-06-09 23:19:15 +08:00
Vitaliy Zakaznikov
137f5127ac
* Renaming 00953_live_view_select test to avoid test number conflict
2019-06-08 09:54:48 -04:00
Vitaliy Zakaznikov
5079180595
* Fixing a bug in LIVE VIEW tables. Before when a table
...
is created with "AS SELECT 1" the SELECT and WATCH queries would fail
* Adding and updating LIVE VIEW tests to increase coverage
2019-06-08 09:26:02 -04:00
proller
516ce69d70
CLICKHOUSE-4179 Fix of function arrayEnumerateUniqRanked for arguments with empty arrays
2019-06-07 20:37:01 +03:00
Vitaliy Zakaznikov
4b68ffb15b
* Fixing typos in test names
2019-06-07 12:43:37 -04:00
chertus
3007975199
T64 codec concept
2019-06-07 19:12:45 +03:00
Ivan Lezhankin
30e4571c89
Fix some tests
2019-06-07 19:09:21 +03:00
Ivan Lezhankin
ab6652da3a
Fix some tests
2019-06-07 19:02:24 +03:00
Ivan Lezhankin
f24a4ef9a4
Fix some tests
2019-06-07 18:41:24 +03:00
Ivan Lezhankin
a8fee10059
Fix some tests
2019-06-07 17:59:41 +03:00
Ivan Lezhankin
a7957914cf
Check for orphaned databases too
2019-06-07 17:26:29 +03:00
Ivan Lezhankin
398e1eddfe
Check for orphaned tables before dropping temporary database
2019-06-07 17:14:50 +03:00
Ivan Lezhankin
3c66942780
Merge remote-tracking branch 'upstream/master' into pytest
...
Drop all my changes for .sql tests
2019-06-07 16:41:04 +03:00
Vitaliy Zakaznikov
aa3ef47aab
* Adding JSONEachRowWithProgress format
...
that can be used with WATCH queries when HTTP connection is used
in this case progress events are used as a heartbeat
* Adding new tests that use JSONEachRowWithProgress format
* Adding tests for WATCH query heartbeats when HTTP connection is used
* Small fixes to uexpect.py
2019-06-07 09:05:14 -04:00
Vitaliy Zakaznikov
b65ff910b6
Merge branch 'master' of https://github.com/vzakaznikov/ClickHouse into liveview
2019-06-07 08:02:59 -04:00
Ivan Lezhankin
47174c79cd
Check every test cleans up everything and doesn't hardcode DB names
2019-06-07 14:49:24 +03:00
alesapin
947dbeff16
Better test
2019-06-07 10:59:32 +03:00
Vitaliy Zakaznikov
2930965938
* Renaming live_view_heartbeat_delay setting to live_view_heartbeat_interval
...
and making the setting to be in seconds instead of usec
* Updated LIVE VIEW table to keep version consistent as long as the server is up
* Removed calculation of hash in writeIntoLiveView method as it is recalculated
in the LiveViewBlockOutputStream
* Changed to using values from the local context for live_view_heartbeat_interval and
temporary_live_view_timeout instead of the global context
* Updated LIVE VIEW tests to match the changes
2019-06-06 21:10:56 -04:00
alesapin
53e62b83d2
Fix complex bug in deduplication
2019-06-06 18:28:02 +03:00
Alexander Tretiakov
2cb3013231
fix tests
2019-06-06 02:31:14 +03:00
Vitaliy Zakaznikov
a946d09f1b
* Adding more LIVE VIEW tests
2019-06-05 18:27:36 -04:00
Alexander Tretiakov
57314233e2
fix test
2019-06-05 23:09:20 +02:00
Alexander Tretiakov
dec0430327
check for trash
2019-06-05 23:04:17 +02:00
CurtizJ
27d8b90dd9
fixed alter modify ttl on ReplicatedMergeTree and test added
2019-06-05 19:22:41 +03:00
Alexander Tretiakov
8d91419a25
fix
2019-06-05 17:07:50 +03:00
Alexander Tretiakov
905856f02d
merge
2019-06-05 17:02:13 +03:00
Zhichang Yu
a477920206
added test cases for bitmapContains
2019-06-05 16:49:50 +08:00
alexey-milovidov
b7248803d5
Merge pull request #5524 from NanoBjorn/fix-drop-index-if-exists
...
Fixed DROP INDEX IF EXISTS and added simple test
2019-06-05 08:04:04 +03:00
alexey-milovidov
914663e272
Merge pull request #5528 from infinivision/fix_bitmapHasAny
...
Fix bitmapHasAny segment fault
2019-06-05 08:03:28 +03:00
Alexander Tretiakov
f3ef4666e7
fix
2019-06-04 23:15:44 +03:00
Alexander Tretiakov
d97c2ccdc8
support complex datatype
2019-06-04 21:15:32 +03:00
Alexander Tretiakov
2f1a03dac0
merge
2019-06-04 21:08:08 +03:00
proller
e2a94d0fbb
Add new bug.
2019-06-04 20:03:41 +03:00
Ivan Lezhankin
81ce1ed5ff
Revert "Try "fix" tests"
...
This reverts commit 52d1042310
.
2019-06-04 15:35:31 +03:00
Gleb Novikov
4a6c66786c
fake commit to trigger CI
2019-06-04 13:36:54 +03:00
Zhichang Yu
ddad564bab
added function test for bitmapHasAny + scalar subquery
2019-06-04 16:18:59 +08:00
Gleb Novikov
f96b3a9daa
Fixed typo
2019-06-04 00:12:36 +03:00
Gleb Novikov
8bd2c7b3a7
Fixed DROP INDEX IF EXISTS and added simple test
2019-06-04 00:08:52 +03:00
Vitaliy Zakaznikov
fc21200bdd
* Started to add LIVE VIEW table tests
...
* Added uexpect.py module
* Fixed support for CREATE TEMPORARY LIVE VIEW
2019-06-03 15:53:11 -04:00
proller
88f3a48afa
Fixes for parallel test run ( #5506 )
2019-06-03 20:36:27 +03:00
Ivan Lezhankin
52d1042310
Try "fix" tests
2019-06-03 19:58:35 +03:00
Ivan Lezhankin
5a6d95ef3e
Run .sql tests with standalone server
2019-06-03 19:57:02 +03:00
Anastasiya Rodigina
70159fb18c
Better stateless test 00940
2019-06-03 09:33:38 +00:00
Anastasiya Rodigina
4ff02cff4d
Fix some problems with tests, add more tests, more syntetic tests are coming today
2019-06-03 06:00:54 +00:00
alexey-milovidov
005217c9d9
Merge pull request #5492 from Quid37/master
...
Some changes and fixes on regression methods
2019-06-02 06:31:22 +03:00
alexey-milovidov
086572b604
Merge pull request #5503 from 4ertus2/bugs
...
Fix union all supertype column
2019-06-02 06:18:33 +03:00
Vitaly Baranov
a4ce427bfa
Merge pull request #5429 from azat-archive/INSERT-into-Distributed-with-MATERIALIZED
...
Fix INSERT into Distributed() table with MATERIALIZED column
2019-06-01 12:28:45 +03:00
Vitaly Baranov
f679d33361
Unique names of tables in the test
2019-05-31 21:32:55 +03:00
Andy Yang
ff7bcd127e
Merge branch 'master' into custom_week_functions
...
update laster code
2019-05-31 23:54:54 +08:00
chertus
441f892346
fix test stability
2019-05-31 15:50:44 +03:00
chertus
28c1a60eb7
fix union all supertype column
2019-05-31 15:36:44 +03:00
alexey-milovidov
4819a34394
Merge pull request #5448 from yandex/low-cardinality
...
Add setting suspicious type for low cardinality (fixed #4965 )
2019-05-31 07:35:19 +03:00
Alexey Milovidov
0a38f42e7a
Merge branch 'master' of github.com:yandex/ClickHouse
2019-05-31 07:14:10 +03:00
Alexey Milovidov
45a79b2b97
Fixed wrong test @proller
2019-05-31 07:13:49 +03:00
proller
1b0d1a4450
Info about frozen parts in system.parts ( #5471 )
...
* wip
* wip
* wip
* Clean
* fix test
* clean
* fix test
* fix test
2019-05-31 07:03:46 +03:00
Alexander Kozhikhov
42f3ee2e2b
conflict
2019-05-31 01:55:18 +03:00
Alexander Kozhikhov
ef23528452
some changes and fixes on regression methods
2019-05-31 00:59:40 +03:00
Olga Khvostikova
2fc3ce7f5d
Merge branch 'master' into low-cardinality
2019-05-30 16:31:40 +03:00
stavrolia
94e448a65b
Fixed tests
2019-05-29 19:37:55 +03:00
chertus
cbf0e9886b
fix test
2019-05-29 18:42:08 +03:00
stavrolia
605de8c36c
Fixed
2019-05-29 17:59:11 +03:00
chertus
414209d076
dictGet test improvements
2019-05-29 17:16:20 +03:00
chertus
3f2e09ac93
Merge branch 'master' into decimal
2019-05-29 13:58:33 +03:00
Nikolai Kochetov
1c8b7dc96d
Merge pull request #5411 from Quid37/master
...
small changes on linear regression
2019-05-29 06:31:51 +03:00
alexey-milovidov
cd99406b63
Merge pull request #5455 from yandex/fixing-external-data-settings
...
Fix settings in ExternalData HTTP request
2019-05-29 03:23:56 +03:00
Danila Kutenin
98d28706f4
Fix settings in ExternalData HTTP request
2019-05-29 00:31:19 +03:00
alexey-milovidov
5adef8bc56
Merge pull request #5437 from TCeason/bug_fix
...
ISSUES-5432 fix bad alloc when truncate join storage
2019-05-28 20:33:14 +03:00
tai
1ab21e5774
ISSUES-5432 fix bad alloc when truncate join storage
2019-05-28 14:23:07 +08:00
Vitaly Baranov
63b319404b
Fix handling mixed const/non-const cases.
2019-05-28 02:47:33 +03:00
Azat Khuzhin
e527def18a
Fix INSERT into Distributed() table with MATERIALIZED column
...
By just skipping MATERIALIZED columns during processing.
P.S. you cannot use insert_allow_materialized_columns since it works
only for Buffer() engine.
Fixes : #4015
Fixes : #3673
Fixes: 01501fa8db
("correct column list
for rewritten INSERT query into Distributed [#CLICKHOUSE-4161]")
2019-05-27 23:32:05 +03:00