Smita Kulkarni
e5c0c6a1b6
Addressed review comments - 40907 Parameterized views as table functions
...
Implementation
* Updated handling of has_query_parameters to avoid recalculation.
* Fixed style comments
* Updated formatImpl of ASTTableExpression to prioritise table_function before sub_query.
Testing:
* Added test for ATTACH, DETACH, INSERT INTO view and EXPLAIN SYNTAX to tests/queries/0_stateless/02428_parameterized_view.sql
2022-10-03 14:27:38 +02:00
Smita Kulkarni
d94c3438ad
Fixing build issues by including QueryParameterVisitor - 40907 Parameterized views as table functions
2022-09-29 09:17:11 +02:00
Smita Kulkarni
f78f846503
Fixed issues executeTableFunctions in Context.cpp to fall back on TableFunction if not parameterized view & updated test - 40907 Parameterized views as table functions
2022-09-28 13:23:11 +02:00
Smita Kulkarni
e6672832b9
Removed unused errorcodes in Context.cpp - 40907 Parameterized views as table functions
2022-09-28 10:17:04 +02:00
Smita Kulkarni
618f63d6c7
Updated executeTableFunctions in Context.cpp to check for table/view & fallback to function to fix test fails - 40907 Parameterized views as table functions
2022-09-28 10:00:12 +02:00
Smita Kulkarni
a12d2fcf44
Updated ASTSelectQuery to fix FastTest fails for 40907 Parameterized views as table functions
2022-09-27 22:13:20 +02:00
Smita Kulkarni
bbc33a54b2
Addressed review comments - 40907 Parameterized views as table functions
...
Implementation
* Fix for clang-today build fails - updated to use const in Context.cpp & const function in ActionsVisitior.cpp
* Updated to use QueryParameterVisitor to check if query has query parameters
* Updated executeTableFunction to check if table/table exists instead of try-catch approach
* Fixed small review comments and style comments.
Documentation:
* Addressed review comments and added the LIVE view part which was removed by mistake in the previous commits.
2022-09-27 16:30:59 +02:00
Smita Kulkarni
bf1d5b40f9
Merge branch '40907_Parameterized_views_as_table_functions' of github.com:ClickHouse/ClickHouse into 40907_Parameterized_views_as_table_functions
2022-09-26 15:22:32 +02:00
Smita Kulkarni
8b3c4ac504
40907 Parameterized views as table functions
...
Implementation
* Fix for clang-today build fails - updated to use const reference in ASTSelectQuery.cpp & ASTSelectWithUnionQuery.cpp
2022-09-26 15:22:17 +02:00
Smita Kulkarni
21de85d67c
40907 Parameterized views as table functions
...
Implementation
* Fix for clang-today build fails - updated to use const reference in ASTSelectQuery.cpp
2022-09-26 15:22:17 +02:00
Smita Kulkarni
1e3be976ad
40907 Parameterized views as table functions
...
Implementation
* Fix for Build fails - updated conversion of Field to String and includes
2022-09-26 15:22:17 +02:00
Smita Kulkarni
038352bfce
40907 Parameterized views as table functions
...
Implementation:
* Updated parsers by adding a bool allow_query_parameters while creating ordinary view, which is used in interpreters to allow query parameters in SELECT.
* Added a check in ActionsVisitor if multiple parameters have same names while creating parameterised view.
* Added bool in StorageView to represent parameterized view.
* Updated processing of SELECT with parameter values to check for views and added substitution of values in the query parameters.
Testing:
* Added a test tests/queries/0_stateless/02428_parameterized_view.sql
Documentation:
* Updated the english documentation for VIEW.
2022-09-26 15:22:17 +02:00
Dan Roscigno
32eca72bff
Merge pull request #41739 from DanRoscigno/format-cell-tower-dataset
...
reformat cell tower example doc
2022-09-26 08:50:08 -04:00
Sergei Trifonov
060402cab7
Merge pull request #41675 from ZhiguoZh/20220922-lock-opt
...
Optimize the lock contentions for ThreadGroupStatus::mutex
2022-09-26 14:33:47 +02:00
Alexey Milovidov
7bb245720a
Merge pull request #41752 from ClickHouse/revert-revert-revert
...
Revert of "Revert the revert of "ColumnVector: optimize filter with AVX512 VBMI2 compress store" #40033 "
2022-09-26 15:16:02 +03:00
Mikhail f. Shiryaev
78002dc248
Merge pull request #41777 from ClickHouse/docker-ci-tests
...
Fix tests for docker-ci
2022-09-26 14:06:05 +02:00
Alexander Tokmakov
fdc10a9b39
Merge pull request #41728 from ClickHouse/fix_part_removal_retries
...
Fix part removal retries
2022-09-26 15:02:28 +03:00
Mikhail f. Shiryaev
51c9f81dce
Fix tests for docker-ci
2022-09-26 13:58:38 +02:00
Smita Kulkarni
4fb1dffb9e
40907 Parameterized views as table functions
...
Implementation
* Fix for clang-today build fails - updated to use const reference in ASTSelectQuery.cpp & ASTSelectWithUnionQuery.cpp
2022-09-26 13:08:54 +02:00
Alexey Milovidov
62ebf397d2
Merge pull request #41610 from ClickHouse/upgrade-arm-requirement
...
Bump minimum required ARM ISA to v8.2 and add v8.0 compat build
2022-09-26 14:08:48 +03:00
Mikhail f. Shiryaev
14f9fd7611
Merge pull request #41769 from ClickHouse/fix-docker-latest
...
Fix the typo preventing building latest images
2022-09-26 12:58:49 +02:00
Mikhail f. Shiryaev
a760c71a0b
Fix the typo preventing building latest images
2022-09-26 12:52:12 +02:00
Alexander Tokmakov
10bb9c65ca
Merge pull request #41767 from ClickHouse/tavplubix-patch-5
...
Update 02354_annoy.sql
2022-09-26 13:45:07 +03:00
Alexander Tokmakov
aabcfea5ed
Update 02354_annoy.sql
2022-09-26 13:41:27 +03:00
Smita Kulkarni
4d414b69b8
40907 Parameterized views as table functions
...
Implementation
* Fix for clang-today build fails - updated to use const reference in ASTSelectQuery.cpp
2022-09-26 10:30:28 +02:00
Alexey Milovidov
e3a6f2381b
Revert "Merge pull request #40033 from ClickHouse/reenable-avx512-vbmi-columnvector-filter"
...
This reverts commit 70f63d2aae
, reversing
changes made to a0693c3a84
.
2022-09-25 17:03:52 +02:00
Nikita Mikhaylov
e897816572
Evict stale DNS entries from cache in case of network errors ( #41707 )
2022-09-25 14:06:13 +02:00
Alexey Milovidov
090961a587
Merge pull request #41691 from Avogar/tests-for-utf8
...
Add test for setting output_format_json_validate_utf8
2022-09-25 13:36:08 +03:00
Igor Nikonov
c721c6dc0c
Merge pull request #41014 from ClickHouse/distinct_in_order_wo_order_by
...
Reading in order for DISTINCT without ORDER BY
2022-09-24 18:49:52 +02:00
Kseniia Sumarokova
21e09f3e1f
Merge pull request #41733 from kssenii/cache-logging-level-reduce
...
Change logging levels in cache
2022-09-24 17:20:46 +02:00
alesapin
5852df7f65
Merge branch 'master' into fix_part_removal_retries
2022-09-24 17:06:32 +02:00
alesapin
34d9794ab7
Merge pull request #41653 from ClickHouse/investigating_more_bugs
...
Add very explicit logging on disk choice for fetch
2022-09-24 16:15:02 +02:00
alesapin
ad48c249a5
No bc for test
2022-09-24 16:14:22 +02:00
Kseniia Sumarokova
307314e1bd
Update CachedOnDiskReadBufferFromFile.cpp
2022-09-24 13:42:58 +02:00
Smita Kulkarni
456baddbc7
40907 Parameterized views as table functions
...
Implementation
* Fix for Build fails - updated conversion of Field to String and includes
2022-09-24 12:01:18 +02:00
Smita Kulkarni
baa60008d2
Merge branch '40907_Parameterized_views_as_table_functions' of github.com:ClickHouse/ClickHouse into 40907_Parameterized_views_as_table_functions
2022-09-24 11:59:59 +02:00
Alexey Milovidov
dc7bef40db
Merge pull request #41724 from ClickHouse/auto/v22.9.2.7-stable
...
Update version_date.tsv and changelogs after v22.9.2.7-stable
2022-09-23 22:53:23 +03:00
Dan Roscigno
636d2f9fbf
Merge branch 'master' into format-cell-tower-dataset
2022-09-23 13:32:52 -04:00
DanRoscigno
f2cbe97223
reformat cell tower example doc
2022-09-23 13:28:29 -04:00
Kseniia Sumarokova
89826b7719
Merge pull request #41688 from kssenii/cache-config-allow-readable-format-settings
...
Allow readable size values in cache config
2022-09-23 19:22:29 +02:00
Igor Nikonov
f77660ed2a
Merge branch 'master' into distinct_in_order_wo_order_by
2022-09-23 18:39:20 +02:00
alesapin
cc6776fc5d
Fix test
2022-09-23 17:16:32 +02:00
Smita Kulkarni
bb451b2b27
40907 Parameterized views as table functions
...
Implementation:
* Updated parsers by adding a bool allow_query_parameters while creating ordinary view, which is used in interpreters to allow query parameters in SELECT.
* Added a check in ActionsVisitor if multiple parameters have same names while creating parameterised view.
* Added bool in StorageView to represent parameterized view.
* Updated processing of SELECT with parameter values to check for views and added substitution of values in the query parameters.
Testing:
* Added a test tests/queries/0_stateless/02428_parameterized_view.sql
Documentation:
* Updated the english documentation for VIEW.
2022-09-23 16:46:57 +02:00
alesapin
06e0f554d8
Fix fetch to local disk
2022-09-23 16:46:53 +02:00
Kseniia Sumarokova
b205824670
Merge branch 'master' into cache-config-allow-readable-format-settings
2022-09-23 15:40:07 +02:00
Kseniia Sumarokova
a0b064fc99
Merge pull request #41732 from ClickHouse/fix-test-build
...
Fix test build
2022-09-23 15:39:10 +02:00
Nikolay Degterinsky
9efa4bf766
Merge pull request #41587 from evillique/better-s3-logs
...
Better S3 logs
2022-09-23 15:32:27 +02:00
kssenii
c122e4dd1f
Refactor log levels
2022-09-23 15:32:05 +02:00
Robert Schulze
2b2b058693
Fix build
...
Fallout of #41186
2022-09-23 13:26:15 +00:00
Alexander Tokmakov
0eeb2de074
Merge pull request #41699 from ClickHouse/tavplubix-patch-5
...
Check if part mutation is cancelled
2022-09-23 15:46:28 +03:00