Amos Bird
53d77e6b13
Add back missing projection QueryAccessInfo.
2023-07-21 16:47:22 +08:00
Amos Bird
ec22337284
Fix index analysis with indexHint as well
2023-07-21 14:54:50 +08:00
SmitaRKulkarni
4854487ef7
Merge branch 'master' into Fix_parameterized_view_with_cte_multiple_usage
2023-07-21 08:29:27 +02:00
Dmitry Kardymon
5124f74fcc
Merge remote-tracking branch 'origin/master' into ADQM-996
2023-07-21 05:54:36 +00:00
Duc Canh Le
1ae6621f56
Merge branch 'master' into range_dict_no_direct_join
2023-07-21 09:25:42 +08:00
Krzysztof Góralski
ed59870f92
Update LRUFileCachePriority.cpp
2023-07-20 18:04:58 +02:00
Nikita Mikhaylov
668062dc29
Merge branch 'master' into no-keep-context-lock-while-calculating-access
2023-07-20 14:42:13 +02:00
Nikita Mikhaylov
b14277773f
Merge pull request #52260 from ClickHouse/fix-s2
...
Better detecting of invalid S2 geo primitives
2023-07-20 14:25:44 +02:00
Alexander Tokmakov
f53ff5d4f2
more fair queue for drop table sync ( #52276 )
2023-07-20 14:51:01 +03:00
János Benjamin Antal
e74acda53e
PRQL integration ( #50686 )
...
* Added prql-lib
* Add PRQL parser
* Extend stateless tests
* Add unit tests for `ParserPRQL`
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-37-24.eu-central-1.compute.internal>
Co-authored-by: Ubuntu <ubuntu@ip-10-10-10-195.eu-central-1.compute.internal>
Co-authored-by: Александр Нам <47687537+seshWCS@users.noreply.github.com>
2023-07-20 12:54:42 +02:00
Robert Schulze
bd761c365a
Make serializeAST() more regular
2023-07-20 10:39:26 +00:00
lgbo-ustc
91dc6a35e1
update
2023-07-20 18:22:01 +08:00
lgbo-ustc
0ba97eeea5
wip: grace hash join support full & right join
2023-07-20 18:22:01 +08:00
Robert Schulze
9933589c56
Merge pull request #52312 from rschu1ze/beautify-system-query-cache
...
Beautify pretty-printing of the query string in SYSTEM.QUERY_CACHE
2023-07-20 12:20:04 +02:00
Dmitry Kardymon
ff235e0f30
Turn off log in queue, fix data race
2023-07-20 05:41:39 +00:00
Igor Nikonov
5052b257d3
Merge remote-tracking branch 'origin/master' into remove-perf-test-duplicate-order-by-and-distinct
2023-07-19 19:37:39 +00:00
robot-ch-test-poll
0e46565968
Merge pull request #51633 from ClickHouse/vdimir/asof_join_no_syntax_pushdown
...
Do not apply PredicateExpressionsOptimizer for ASOF/ANTI join
2023-07-19 20:12:52 +02:00
Han Fei
6bbdf702ae
Merge branch 'master' into hanfei/support-insert-token
2023-07-19 17:05:12 +02:00
Smita Kulkarni
53500be941
Updated fix of multiple usage in parameterized view to support cte by not adding column which is previously added
2023-07-19 17:03:00 +02:00
Nikita Mikhaylov
4a3f5234af
Merge pull request #51038 from evillique/headers-blacklist
...
Add HTTP header filtering
2023-07-19 15:49:12 +02:00
Nikita Mikhaylov
c8351b15c6
Merge branch 'master' into fix-s2
2023-07-19 15:44:13 +02:00
Robert Schulze
bdaf82922a
Use formatAST()
2023-07-19 12:56:15 +00:00
Robert Schulze
3eb23d899f
Merge remote-tracking branch 'rschu1ze/master' into beautify-system-query-cache
2023-07-19 12:55:09 +00:00
alesapin
45a7134478
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-19 14:04:59 +02:00
Robert Schulze
f22452c78c
Beautify pretty-printing of the query string in SYSTEM.QUERY_CACHE.
...
Output of SYSTEM.QUERY_CACHE
- before this PR:
SELECT * FROM system.query_cache
Query id: 4989008b-b84c-4e57-bfe5-7fb551814812
Row 1:
──────
query: SELECT 1 SETTINGS
[...]
- after this PR:
SELECT * FROM system.query_cache
Query id: 4989008b-b84c-4e57-bfe5-7fb551814812
Row 1:
──────
query: SELECT 1 SETTINGS use_query_cache = 1
[...]
2023-07-19 09:10:26 +00:00
Dmitry Kardymon
aa888ad64a
Separate thread mutex, add test
2023-07-19 08:46:57 +00:00
Han Fei
e8be6ec23f
Merge branch 'master' into hanfei/support-insert-token
2023-07-19 10:06:03 +02:00
JackyWoo
71c12bbdc4
Merge branch 'master' into rewrite_uniq_to_count
2023-07-19 15:54:23 +08:00
Dmitry Kardymon
65de310137
Return back SystemLogBase
2023-07-19 06:15:57 +00:00
Alexey Milovidov
5a89e03125
Merge branch 'master' into more-changes
2023-07-18 23:15:27 +03:00
Dmitry Kardymon
9b951e965b
Restore define
2023-07-18 19:48:43 +00:00
Alexey Milovidov
482c8b5cde
Merge pull request #52158 from ClickHouse/fix-unexpected-ast-set
...
Fix unexpected AST Set
2023-07-18 22:17:51 +03:00
Dmitry Kardymon
68a501a14e
Merge remote-tracking branch 'origin/master' into ADQM-940
2023-07-18 18:16:09 +00:00
Dmitry Kardymon
9d0391e6fb
Add ifndef to fix build
2023-07-18 18:13:57 +00:00
Dmitry Kardymon
f091baaa0f
Remove whitespaces
2023-07-18 14:33:26 +00:00
Igor Nikonov
90e393ecf6
Merge remote-tracking branch 'origin/master' into remove-perf-test-duplicate-order-by-and-distinct
2023-07-18 14:26:22 +00:00
Nikita Mikhaylov
a06631f0db
Better detecting invalid figures
2023-07-18 16:26:10 +02:00
Dmitry Kardymon
7466ef5837
Add index
2023-07-18 13:05:20 +00:00
Ilya Yatsishin
73246b4788
Merge pull request #52056 from ClickHouse/ignore-create-index-query
...
Allow to ignore CREATE INDEX query for better SQL syntax compatibility
2023-07-18 14:40:38 +02:00
Dmitry Kardymon
6b00a38aa4
Remove SystemLogBase (wip)
2023-07-18 10:06:44 +00:00
Duc Canh Le
9b7df9e12e
fix for analyzer
2023-07-18 05:51:55 +00:00
Vitaly Baranov
4963cfba39
Merge branch 'master' into no-keep-context-lock-while-calculating-access
2023-07-18 07:35:39 +02:00
Alexey Milovidov
3dbad00313
Merge branch 'master' into deprecate-metadata-cache
2023-07-18 05:27:15 +03:00
Alexey Milovidov
da29166f08
Merge branch 'master' into fix-unexpected-ast-set
2023-07-17 23:17:55 +03:00
Alexey Milovidov
4143779ac5
Merge branch 'master' into vdimir/asof_join_no_syntax_pushdown
2023-07-17 21:36:56 +03:00
Nikita Mikhaylov
ee0bbc0e54
Merge branch 'master' into headers-blacklist
2023-07-17 19:08:52 +02:00
Nikita Mikhaylov
11cc8b4adf
Merge branch 'master' into add_delay_for_replicated
2023-07-17 19:04:29 +02:00
Dmitry Kardymon
76abbce918
Trying to add methods to queue
2023-07-17 16:33:04 +00:00
Kruglov Pavel
2793305a71
Merge pull request #51825 from ucasfl/schema
...
Fix use_structure_from_insertion_table_in_table_functions does not work with materialized and alias columns
2023-07-17 18:25:54 +02:00
SmitaRKulkarni
3bb7db45c4
Merge branch 'master' into azure_blob_storage_sas_token
2023-07-17 17:23:29 +02:00
Robert Schulze
e71efe5c5c
Merge branch 'master' into show-index-better-mysql-compat
2023-07-17 16:19:51 +02:00
Vitaly Baranov
815a3857de
Remove non-const function Context::getClientInfo().
2023-07-17 15:02:07 +02:00
Nikita Mikhaylov
d5b97e4cc1
Merge branch 'master' into deprecate-metadata-cache
2023-07-17 15:00:27 +02:00
Nikita Mikhaylov
01cd7a1fd7
Better
2023-07-17 12:59:58 +00:00
Vitaly Baranov
0e4b75a282
Avoid keeping lock Context::getLock() while calculating access rights when a user logs in.
2023-07-17 14:59:14 +02:00
Vitaly Baranov
018546a57d
Avoid keeping lock Context::getLock() while recalculating access rights of a connected user.
2023-07-17 14:59:14 +02:00
Han Fei
b75c4ae2e5
Merge branch 'master' into hanfei/support-insert-token
2023-07-17 14:57:48 +02:00
robot-ch-test-poll2
7f960c2379
Merge pull request #51160 from Algunenano/async_to_query_log
...
Log async insert flush queries into to system.query_log and system.processes
2023-07-17 13:49:22 +02:00
Antonio Andelic
61dc020b4d
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-17 12:50:17 +02:00
Duc Canh Le
0917cf0588
disable direct join for range dictionary
2023-07-17 08:16:58 +00:00
Dmitry Kardymon
708b980d69
Fix arg name to fix build
2023-07-17 05:36:24 +00:00
Alexey Milovidov
7915ba253b
Better version
2023-07-17 04:49:04 +02:00
Alexey Milovidov
18bcbe400b
Remove unused headers
2023-07-16 23:26:21 +02:00
Alexey Milovidov
422881ac2c
Fix logical error: cannot get name of not a column: Set
2023-07-16 23:21:30 +02:00
Alexey Milovidov
9bf114f9a3
Merge pull request #52145 from ClickHouse/fix-order-by-tuple-of-window-functions
...
Fix ORDER BY tuple of WINDOW functions
2023-07-16 17:43:07 +03:00
Alexey Milovidov
c620891340
Slightly more changes
2023-07-16 03:14:44 +02:00
Alexey Milovidov
9a421369d7
Merge pull request #49709 from amosbird/fix_49695
...
Fix projection with optimize_aggregators_of_group_by_keys
2023-07-16 04:10:54 +03:00
Alexey Milovidov
66b66db39d
Fix ORDER BY tuple of WINDOW functions
2023-07-16 02:52:06 +02:00
Han Fei
7761e5ef9d
support async_deduplicate_token for async insert
2023-07-15 14:42:08 +02:00
Dmitry Kardymon
fe6918a9d5
Merge remote-tracking branch 'origin/master' into ADQM-996
2023-07-14 06:56:06 +00:00
Dmitry Kardymon
4a10c7286e
Add name to logger in queue
2023-07-13 12:41:17 +00:00
Dmitry Kardymon
3649f10444
Remove spaces
2023-07-13 05:19:18 +00:00
Nikita Taranov
4e70272da1
impl
2023-07-12 23:06:46 +02:00
Dmitry Kardymon
771b1f8f47
Prototype (working)
2023-07-12 15:48:09 +00:00
Yatsishin Ilya
31806d0b6c
no style
2023-07-12 11:14:49 +00:00
Raúl Marín
09a6472874
Merge branch 'master' into async_to_query_log
2023-07-12 12:26:47 +02:00
Yatsishin Ilya
3bd9c57a8c
allow to ignore CREATE INDEX query for better SQL syntax compatibility
2023-07-12 09:29:36 +00:00
Amos Bird
52246ab5b5
Ignore setting constraints for projection ASTs
2023-07-12 10:34:36 +08:00
Alexey Gerasimchuck
800807c8a2
Merge branch 'master' into ADQM-970
2023-07-11 16:02:31 +10:00
JackyWoo
063eebc16b
fix clang-tidy checking
2023-07-11 12:59:34 +08:00
Dmitry Kardymon
09ba975ffc
Merge remote-tracking branch 'origin/master' into ADQM-940
2023-07-10 13:32:29 +00:00
JackyWoo
8004f37e97
rewrite uniq to count in new analyzer
2023-07-10 17:16:41 +08:00
JackyWoo
ca6905b308
rewrite support alias
2023-07-10 17:16:41 +08:00
JackyWoo
0dc1fdd67f
add some comments
2023-07-10 17:16:41 +08:00
JackyWoo
bcfc0db9f1
add settiings
2023-07-10 17:16:41 +08:00
JackyWoo
b2522d81c4
rewrite uniq to count
2023-07-10 17:16:41 +08:00
lgbo
344bc05156
wip: reserve hash table size ( #50875 )
2023-07-10 10:44:01 +02:00
Raúl Marín
dbdfc07790
Merge branch 'master' into async_to_query_log
2023-07-10 10:32:56 +02:00
Alexey Gerasimchuck
2c8564e45e
Merge branch 'master' into ADQM-970
2023-07-10 15:53:08 +10:00
Alexey Milovidov
dd80bdb859
Merge pull request #51993 from azat/symbol-index-cleanup
...
Cleanup SymbolIndex after reload got removed
2023-07-10 00:58:16 +03:00
Han Fei
4f48d92db4
Merge branch 'master' into revert-51390-revert-50951
2023-07-09 15:16:50 +02:00
Azat Khuzhin
d520413454
Cleanup SymbolIndex after reload got removed
...
Remove MultiVersion for SymbolIndex structure since after #51873 it is
useless.
Follow-up for: #51873
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-09 09:25:11 +02:00
Alexey Milovidov
4c20d482ba
Merge branch 'master' into is_obsolete
2023-07-09 08:49:00 +03:00
Alexey Milovidov
3d4800995f
Merge pull request #49732 from nickitat/impr_prefetch
...
Improve reading with prefetch
2023-07-09 06:10:58 +03:00
Alexey Milovidov
780a54afb4
Merge pull request #51545 from azat/dist/fix-selector-SIGSEGV
...
Fix SIGSEGV for clusters with zero weight across all shards (fixes INSERT INTO FUNCTION clusterAllReplicas())
2023-07-09 05:31:39 +03:00
Alexey Milovidov
0440dde315
Merge pull request #51873 from ClickHouse/remove-useless-system-query
...
Remove useless code
2023-07-08 21:11:41 +03:00
Alexey Milovidov
b44c582c40
Merge pull request #51951 from ClickHouse/more_logs_on_shutdown
...
Better logs on shutdown
2023-07-08 19:51:38 +03:00
Alexey Milovidov
b2fb5b20c8
Merge branch 'master' into dist/fix-selector-SIGSEGV
2023-07-08 19:32:59 +03:00
Alexey Milovidov
58ee566278
Merge pull request #51964 from ClickHouse/allow-parametric-udfs
...
Allow parametric UDFs
2023-07-08 19:12:48 +03:00
Alexey Milovidov
b958499c27
Merge pull request #51458 from ClickHouse/sunny19930321-fix-attach-table-function-name-normalizer
...
Merging #36384
2023-07-08 10:37:11 +03:00
Alexey Milovidov
0b0caec9c4
Update Context.cpp
2023-07-08 07:51:17 +03:00
Alexey Milovidov
0512169e19
Merge branch 'master' into remove-useless-system-query
2023-07-08 02:46:41 +03:00
Alexey Milovidov
933a92e176
Merge branch 'master' into remove-useless-system-query
2023-07-08 01:45:19 +02:00
Alexey Milovidov
25aa6fcff9
Merge pull request #51947 from ClickHouse/fix-50669
...
Do not remove inputs after ActionsDAG::merge
2023-07-08 02:42:14 +03:00
Alexey Milovidov
03d2606eb9
Merge pull request #49342 from ClickHouse/disks-space-improvement
...
Slight improvement in Disks interface
2023-07-08 02:24:57 +03:00
Alexey Milovidov
e56a5bbd8b
Merge pull request #51865 from ClickHouse/remove-useless-logs
...
Remove useless logs
2023-07-08 02:23:00 +03:00
Alexey Milovidov
a96874850e
Revert "Merge pull request #48115 from save-my-heart/throw_non_parametric_function"
...
This reverts commit 5f930aeb26
, reversing
changes made to 35572321a1
.
2023-07-08 00:55:57 +02:00
Alexey Milovidov
520195f7ef
Merge pull request #51917 from ClickHouse/revert-system-drop-filesystem-cache-by-key
...
Revert system drop filesystem cache by key
2023-07-07 19:44:28 +03:00
Alexander Tokmakov
93b76c9321
better logs on shutdown
2023-07-07 18:40:43 +02:00
Alexander Tokmakov
152a4b9d4c
Merge pull request #51908 from ClickHouse/fix_deadlock_on_catalog_shutdown
...
Fix deadlock on DatabaseCatalog shutdown
2023-07-07 19:06:34 +03:00
Nikolai Kochetov
82cbc4e6e3
Merge branch 'master' into fix-50669
2023-07-07 16:35:50 +02:00
Nikolai Kochetov
ee33000fc2
Fixing tests.
2023-07-07 14:08:54 +00:00
Nikolai Kochetov
fa7fe5277c
Better comment.
2023-07-07 12:25:13 +00:00
Nikolai Kochetov
1e0d97c282
Do not remove inputs after ActionsDAG::merge
2023-07-07 12:19:10 +00:00
Dmitry Kardymon
3fcfbb1038
Merge remote-tracking branch 'clickhouse/master' into ADQM-940
2023-07-07 15:09:41 +03:00
Alexey Milovidov
03c4a6e26c
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-07-07 13:45:30 +03:00
Alexey Milovidov
7820876f2d
Merge branch 'master' into remove-useless-logs
2023-07-07 13:44:04 +03:00
Alexey Milovidov
4a6a6fc4f2
Merge branch 'master' into disks-space-improvement
2023-07-07 13:43:04 +03:00
Alexey Milovidov
b5f9a170eb
Merge pull request #51848 from ClickHouse/many-fixes-3
...
Many fixes [3]
2023-07-07 13:29:49 +03:00
Nikolay Degterinsky
e98d136243
Merge branch 'master' into headers-blacklist
2023-07-07 04:44:06 +02:00
Alexey Milovidov
7cece62d26
Revert "Merge pull request #51547 from kssenii/more-flexible-drop-cache"
...
This reverts commit 2ce7bcaa3d
, reversing
changes made to e897207cd5
.
2023-07-07 04:07:19 +02:00
Alexey Milovidov
f0cc90a7fb
Revert "Merge pull request #51822 from kssenii/minor-changes"
...
This reverts commit 5ac85f4fa8
, reversing
changes made to 376c903da9
.
2023-07-07 04:07:03 +02:00
Alexander Tokmakov
fde44fe9f0
Merge branch 'master' into fix_deadlock_on_catalog_shutdown
2023-07-07 02:59:29 +03:00
Alexander Tokmakov
fc19e74ba9
fix deadlock on DatabaseCatalog shutdown
2023-07-07 01:12:17 +02:00
Alexander Tokmakov
fdbd59ec6c
Merge pull request #51135 from ClickHouse/fix_trash_in_disks
...
Try to fix some trash in Disks and part moves
2023-07-07 02:02:17 +03:00
Mike Kot
8b6376005a
"reconfig" support for CH Keeper
2023-07-07 00:20:54 +03:00
robot-clickhouse-ci-2
99c64971bd
Merge pull request #51737 from ClickHouse/fix_logical_error_grace_hash_join
...
Fix: logical error in grace hash join
2023-07-06 19:27:03 +02:00
Igor Nikonov
83af43b8ba
Merge pull request #51852 from ClickHouse/fix-misleading-naming-in-joins
...
Change misleading name in joins: addJoinedBlock -> addBlockToJoin
2023-07-06 17:27:26 +02:00
Igor Nikonov
7c0e50c4d5
Merge branch 'master' into fix-misleading-naming-in-joins
2023-07-06 17:26:38 +02:00
Robert Schulze
9a295eca46
Incorporate review feedback
2023-07-06 15:03:15 +00:00
Alexey Milovidov
6d8434c702
Merge branch 'master' into many-fixes-3
2023-07-06 16:17:32 +02:00
Raúl Marín
bd779c8066
Merge branch 'master' into async_to_query_log
2023-07-06 15:46:27 +02:00
Nikita Taranov
c23e29d6aa
don't account session's memory in thread/user mem tracker
2023-07-06 14:41:03 +02:00
Alexander Sapin
30bcc73c63
Merge branch 'master' into add_delay_for_replicated
2023-07-06 14:29:15 +02:00
Alexander Tokmakov
52a26a6653
Merge pull request #51708 from velavokr/velavokr-issue-51292
...
#51292 added default_temporary_table_engine setting
2023-07-06 15:18:14 +03:00
Kseniia Sumarokova
605e833576
Merge branch 'master' into minor-changes
2023-07-06 12:09:01 +02:00
Smita Kulkarni
2d3a148ffd
Added option to check if container exists before attempting to read/create it, added this flag for all table functions, only used in azureBlobStorage
2023-07-06 10:56:07 +02:00
Alexey Milovidov
d59f68b600
Remove useless code
2023-07-06 04:55:46 +02:00
flynn
c9afcd781e
Merge branch 'master' into schema
2023-07-06 10:31:53 +08:00
Alexey Milovidov
2e454ef89e
Merge branch 'master' into disks-space-improvement
2023-07-06 03:58:45 +03:00
Alexey Milovidov
5452f2106f
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-07-06 03:50:18 +03:00
Alexey Milovidov
db14b2c54f
Remove useless logs
2023-07-06 02:16:38 +02:00
Alexey Milovidov
b75a83d32d
Merge remote-tracking branch 'origin/vdimir/anti_join_logical_error_51312' into many-fixes-3
2023-07-06 01:21:38 +02:00
Igor Nikonov
023df888d3
Merge branch 'master' into fix_logical_error_grace_hash_join
2023-07-05 21:38:36 +02:00
alesapin
66484a4dd0
Merge branch 'master' into add_delay_for_replicated
2023-07-05 20:03:34 +02:00
Igor Nikonov
bf190381f5
addJoinedBlock -> addBlockToJoin
2023-07-05 17:03:18 +00:00
alesapin
baee73fd96
Make shutdown of replicated tables softer
2023-07-05 18:11:25 +02:00
Robert Schulze
e37c92ee6d
Merge branch 'master' into show-index-better-mysql-compat
2023-07-05 13:32:19 +02:00
flynn
7c3c48c8c4
Fix use_structure_from_insertion_table_in_table_functions does not work for materialized and alias columns
2023-07-05 11:24:22 +00:00
kssenii
e6422f8144
Delete comment, rename variable
2023-07-05 13:08:11 +02:00