Commit Graph

3185 Commits

Author SHA1 Message Date
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
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
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
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
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
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
dmitry kuzmin
c73ce602bf fix decimal overflow, extreme values 2019-06-16 10:57:30 +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
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
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