Commit Graph

8175 Commits

Author SHA1 Message Date
Kseniia Sumarokova
b96bd7ee42
Update 01083_expressions_in_engine_arguments.sql 2021-10-27 12:29:43 +03:00
alexey-milovidov
9f9b4968d7
Merge pull request #30663 from ClickHouse/fix_five_years_old_bug
Fix case-insensetive search in UTF8 strings
2021-10-27 12:10:12 +03:00
alesapin
a29711f1d0
Merge pull request #30651 from ClickHouse/fix_intersecting_parts_to_do
Fix intersecting parts in `parts_to_do`
2021-10-27 10:52:21 +03:00
Vitaly Baranov
bc9ee5e33f Add tests for compatibility of LogFamily. 2021-10-26 23:09:40 +03:00
Azat Khuzhin
874f7a5052 Add a test with optimized columns from PREWHERE 2021-10-26 22:56:44 +03:00
凌涛
d4d97d7b9a add new function mapContainsKeyLike
fixed error because of inconsistent offsets
2021-10-27 00:06:01 +08:00
Dmitry Novik
e971871a95
Merge pull request #30668 from azat/prewhere-always-true-where
Fix PREWHERE with WHERE in case of always true PREWHERE
2021-10-26 17:18:50 +03:00
Nikolai Kochetov
36c3b1d5b1
Merge pull request #30639 from ClickHouse/fix-30545
Fix argument types for now and now64
2021-10-26 16:29:18 +03:00
alesapin
2d559e098c Fix test 2021-10-26 14:06:09 +03:00
Alexander Tokmakov
a1cab43feb fix five years old bug in StingSearcher 2021-10-26 13:32:07 +03:00
alesapin
2811a0ae7d
Merge pull request #30493 from ClickHouse/trying_actions
Trying builds on github actions
2021-10-26 12:52:26 +03:00
alexey-milovidov
e7751c59f6
Merge pull request #30456 from CurtizJ/async-inserts-values
Support VALUES format in async inserts
2021-10-26 09:47:27 +03:00
alexey-milovidov
e528bfdb1a
Merge pull request #30565 from ClickHouse/try-to-fix-30397
Try to fix #30397
2021-10-26 09:45:45 +03:00
Azat Khuzhin
16cd70aee9 Fix PREWHERE with WHERE in case of always true PREWHERE 2021-10-26 00:02:41 +03:00
Azat Khuzhin
096eaa1008 Initialize custom TLDs in clickhouse-local 2021-10-25 21:12:45 +03:00
mergify[bot]
9c2a91a51a
Merge branch 'master' into trying_actions 2021-10-25 17:06:56 +00:00
kssenii
1d743b9259 Partitoned write 2021-10-25 19:23:44 +03:00
Kseniia Sumarokova
377b937aa5
Merge pull request #30244 from evillique/fix_like_function
Fix `LIKE` function
2021-10-25 16:35:37 +03:00
Anton Popov
b87c819c10
Merge pull request #30566 from nickitat/nickitat_nullable_4_arrayStringConcat
Support Nullable(String) type in arrayStringConcat
2021-10-25 16:04:20 +03:00
alesapin
51b80e55a5 One more time 2021-10-25 13:38:13 +03:00
Nikolai Kochetov
264e173685
Update 02100_now64_types_bug.sql 2021-10-25 13:04:16 +03:00
alesapin
747737646f Fix last test 2021-10-25 12:40:44 +03:00
Nikolai Kochetov
a0a5c1a21d Fix argument types for now and now64 2021-10-25 12:06:53 +03:00
alesapin
96b9f176bf Stupid fixes 2021-10-25 11:18:37 +03:00
Nikolai Kochetov
db47dcf14f Added test. 2021-10-25 11:18:00 +03:00
alesapin
13ea6c2fab Adapt server for IPv6 2021-10-25 10:40:58 +03:00
kssenii
11b040fa35 Merge branch 'deprecate-setting' of github.com:kssenii/ClickHouse into deprecate-setting 2021-10-24 20:49:31 +00:00
kssenii
cf775ddc3a Update test 2021-10-24 20:48:04 +00:00
kssenii
13a2a3d307 Merge branch 'master' of github.com:ClickHouse/ClickHouse into deprecate-setting 2021-10-24 23:05:21 +03:00
Anton Popov
37de54937c fix use-after-free 2021-10-24 22:32:28 +03:00
Anton Popov
76cb191865
Merge pull request #30433 from kssenii/fix-positional
More full support of positional arguments
2021-10-24 21:48:17 +03:00
Kruglov Pavel
855b10261c
Merge pull request #30285 from kssenii/fix-local-exceptions
Fix printing stacktraces for clickhouse-local
2021-10-24 19:54:59 +03:00
Kseniia Sumarokova
4667ea7883
Merge pull request #29774 from kssenii/remote-connection
Predefined configuration for table function remote
2021-10-24 19:38:01 +03:00
Kseniia Sumarokova
7383bdd5fa
Merge pull request #25969 from ucasfl/filelog-engine
Implementation of a table engine to consume application log files in ClickHouse
2021-10-24 10:14:05 +03:00
alexey-milovidov
8c2413f6fe
Merge pull request #30562 from ClickHouse/fix-header-after-limit-push-down
Fix LimitStep header after limit push down optimization.
2021-10-24 00:19:02 +03:00
kssenii
e04e37916e Review fixes 2021-10-23 18:20:31 +03:00
Anton Popov
cdfa36a181
Merge pull request #30266 from CurtizJ/aggregation-in-order-4
Improve performance of aggregation in order of primary key
2021-10-23 18:09:17 +03:00
kssenii
36d0f67b38 Merge branch 'master' of github.com:ClickHouse/ClickHouse into remote-connection 2021-10-23 17:12:46 +03:00
kssenii
d1e7a0122e Fix test 2021-10-23 13:32:07 +00:00
feng lv
235339d530 fix 2021-10-23 09:35:33 +00:00
kssenii
0e3dbabd5a Update test 2021-10-23 09:15:52 +00:00
Vladimir C
410624749e
Merge pull request #30492 from vdimir/fix-alter-scalar-deadlock 2021-10-23 12:01:00 +03:00
Maksim Kita
84a29cfe9d
Merge pull request #30568 from kitaisreal/test-clickhouse-local-columns-description-fix-number
Test clickhouse local columns description fix number
2021-10-23 11:48:23 +03:00
Maksim Kita
b9171157d3
Merge pull request #30567 from kitaisreal/ngrams-fix-tests
Function ngrams fixed tests
2021-10-23 00:05:52 +03:00
Maksim Kita
8c620ff13e Fix test number 2021-10-22 20:09:21 +03:00
Maksim Kita
9ef6bca27d Function ngrams fixed tests 2021-10-22 19:50:43 +03:00
Nickita Taranov
2d23e3b17d support for ColumnString 2021-10-22 18:53:02 +03:00
Nickita Taranov
a211c9ecbc support nullable for ColumnConst 2021-10-22 18:52:59 +03:00
alesapin
4de6a51545 Update test 2021-10-22 17:17:18 +03:00
Nikolai Kochetov
54cc8e1d27 Fix LimitStep header after limit push down optimization. 2021-10-22 16:19:49 +03:00
alesapin
e759d4c342 Change user and fix test 2021-10-22 16:17:23 +03:00
kssenii
a1a2e276ae Review fixes 2021-10-22 12:26:28 +00:00
Filatenkov Artur
1c72421e53
Add columns in columns.sql for INFORMATION_SCHEMA (#29637)
* add columns in columns.sql for INFORMATION_SCHEMA
2021-10-22 15:18:16 +03:00
Nikolai Kochetov
1533f4af57
Merge pull request #30335 from ClickHouse/single-sorting-step
Single sorting step
2021-10-22 11:34:29 +03:00
Vladimir C
d60f00bab8
Merge pull request #30520 from azat/fix-unary-postfix-rewrite 2021-10-22 11:31:36 +03:00
Maksim Kita
6561f9bed2
Merge pull request #30483 from kitaisreal/sql-user-defined-functions-composition-fix
SQLUserDefinedFunctions composition fix
2021-10-22 10:16:31 +03:00
Azat Khuzhin
d49886b8e9 Update reference for 00826_cross_to_inner_join 2021-10-21 22:07:40 +03:00
Azat Khuzhin
e1b6acfa52 Add missing parenthesis for isNotNull/isNull rewrites to IS [NOT] NULL
After #29446 the following query was "broken":

    select isNotNull(1)+isNotNull(2) from remote('127.2', system.one)

This was also a problem for queries to external storages (i.e. mysql),
since it also uses query rewrite, like non-local distributed queries.

Fixes: #29446
2021-10-21 21:18:00 +03:00
Vitaly Baranov
5695ef55b3
Merge pull request #28125 from vitlibar/fix-writing-storage-log-marks
Fix writing marks in StorageLog
2021-10-21 20:10:01 +03:00
vdimir
039af96b61
Set execute_scalar_subqueries in MutationsInterpreter only for MergeTree and prepareInterpreterSelectQuery 2021-10-21 18:05:46 +03:00
Dmitry Novik
58ee783be4
Merge pull request #30293 from amosbird/projection-fix19
Fix projections with JOIN alias columns
2021-10-21 17:49:21 +03:00
Anton Popov
b1a74af44d
Merge pull request #30180 from CurtizJ/remove-sample-by
Allow to remove `SAMPLE BY` expression
2021-10-21 17:09:53 +03:00
mergify[bot]
86e1bb6b55
Merge branch 'master' into fix_like_function 2021-10-21 12:24:28 +00:00
vdimir
b720b244ef
Add test alter_scalar_circular_deadlock 2021-10-21 14:21:08 +03:00
Kruglov Pavel
27e8a83269
Merge pull request #30426 from amosbird/jsonextractstring3
JSONExtractString raw string support.
2021-10-21 12:29:11 +03:00
kssenii
b58f065806 One more test 2021-10-21 08:12:16 +00:00
Maksim Kita
650a79a907 SQLUserDefinedFunctions composition fix 2021-10-21 10:08:08 +03:00
Kseniia Sumarokova
feeb572219
Merge pull request #30474 from kssenii/sql-json-fix
sql json change order of arguments
2021-10-21 09:47:12 +03:00
Kseniia Sumarokova
5544e866f8
Merge pull request #30219 from lhuang09287750/master
make date32 type comparable with date/datetime/string
2021-10-21 09:38:55 +03:00
Amos Bird
e679e952c8
Let's check without projection just in case 2021-10-21 10:16:11 +08:00
kssenii
ec7c93728b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix-local-exceptions 2021-10-20 23:42:27 +00:00
kssenii
5845336acb Adjust tests 2021-10-20 23:19:36 +00:00
kssenii
c96b884951 Fix 2021-10-20 20:47:34 +00:00
alexey-milovidov
d3df1c02bc
Merge pull request #29672 from ClickHouse/clickhouse-obfuscator-2
More enhancements for query obfuscator
2021-10-20 23:06:29 +03:00
Maksim Kita
e550e0c22d
Merge pull request #30435 from kitaisreal/sql-user-defined-functions-support-lambdas
SQLUserDefinedFunctions support lambdas
2021-10-20 21:36:52 +03:00
Maksim Kita
1b4829d071
Merge pull request #30454 from kitaisreal/sql-user-defined-functions-create-or-replace-no-exists-support
SQLUserDefinedFunctions support CREATE OR REPLACE, CREATE IF NOT EXISTS
2021-10-20 21:36:42 +03:00
Kseniia Sumarokova
cae31437e8
Merge pull request #30336 from kssenii/fix-local-defaults
Send table columns in clickhouse-local
2021-10-20 21:18:02 +03:00
Nikita Mikhaylov
56869c0ec4
Merge pull request #30360 from nikitamikhaylov/allow-graphite-final
Allow to use FINAL clause in SELECT from GraphiteMergeTree
2021-10-20 19:57:44 +03:00
feng lv
6565e1d4b2 fix conflict 2021-10-20 15:22:16 +00:00
Maksim Kita
ff48017f4a SQLUserDefinedFunctions support CREATE OR REPLACE, CREATE IF NOT EXISTS 2021-10-20 17:56:46 +03:00
Maksim Kita
f47aec6751 Fixed tests 2021-10-20 17:52:28 +03:00
Maksim Kita
73e6110b2a
Merge pull request #30437 from kitaisreal/sql-user-defined-functions-drop-if-exists
SQLUserDefinedFunctions added DROP IF EXISTS support
2021-10-20 17:24:57 +03:00
Anton Popov
6b34398e9c support VALUES format in async inserts 2021-10-20 17:20:58 +03:00
Nikita Mikhaylov
367e58357a Better test 2021-10-20 13:43:39 +00:00
Amos Bird
240895fba7
Fix projections with JOIN alias columns 2021-10-20 21:30:15 +08:00
Nikolai Kochetov
8986de7e50
Merge pull request #30384 from amosbird/projection-fix21
Fix crash when minmax_count projection is used with primary key in partition expr
2021-10-20 16:17:13 +03:00
Anton Popov
78c925ddef
Merge pull request #30177 from CurtizJ/initializeAggregation-nullable
Support nullable arguments in function `initializeAggregation`
2021-10-20 15:39:07 +03:00
mergify[bot]
0a4360c43e
Merge branch 'master' into tsv-csv 2021-10-20 11:57:06 +00:00
avogar
fc7fc633f9 Mark tests as no-parallel 2021-10-20 14:53:07 +03:00
avogar
7007286088 Fix WithNamesAndTypes parallel parsing, add new tests, small refactoring 2021-10-20 14:48:54 +03:00
mergify[bot]
d1f7e74e6f
Merge branch 'master' into fix-positional 2021-10-20 10:40:39 +00:00
Maksim Kita
fe93533ba4 Fixed tests 2021-10-20 13:09:33 +03:00
Maksim Kita
ad409d9b47 SQLUserDefinedFunctions added DROP IF EXISTS support 2021-10-20 13:05:57 +03:00
Amos Bird
ddcf12c83b
JSONExtractString raw string support. 2021-10-20 17:57:14 +08:00
Maksim Kita
83787e26f2 SQLUserDefinedFunctions support lambdas 2021-10-20 12:43:03 +03:00
Kseniia Sumarokova
c692155c7e
Merge pull request #30309 from kssenii/fix-file-symlinks
Fix symlinks in file table function
2021-10-20 11:09:51 +03:00
kssenii
b73a77ad48 Better test 2021-10-20 07:52:48 +00:00
kssenii
6c990400d1 Better positional args 2021-10-20 07:52:39 +00:00
lhuang0928
008a13df8b fix date32 comparison with datetime/datetime64 2021-10-20 03:36:07 +00:00
alexey-milovidov
23312c4808
Merge pull request #30361 from nikitamikhaylov/rename-geo-functions
Rename readWkt* functions to readWKT*, added an alias SVG for svg function
2021-10-20 03:46:42 +03:00