Alexander Tokmakov
1d6afe9f39
Merge branch 'master' into split_databases_from_context
2020-02-12 21:18:32 +03:00
chertus
b4ea4ca654
actualize ExpressionAnalyzer public interface
2020-02-10 22:55:13 +03:00
Artem Zuikov
bd6d9a427b
Some InterpreterSelectQuery refactoring ( #9035 )
...
move ExpressionActionsChain logic out of InterpreterSelectQuery
2020-02-10 18:50:12 +03:00
Alexander Tokmakov
a508c25d05
store temporary tables in DatabaseMemory
2020-02-10 16:36:51 +03:00
Artem Zuikov
31948a063a
Trying to fix early constant folding ( #9010 )
...
add setting to disable early constant folding
2020-02-07 03:05:51 +03:00
CurtizJ
db47ef923c
fix prewhere
2020-02-05 19:42:27 +03:00
Vitaly Baranov
10c912dab2
Rewrite the User class to be controlled by AccessControlManager.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
2aa58193c8
Check access rights via new interface.
2020-01-31 20:27:28 +03:00
Nikolai Kochetov
81d4fd9579
Add prepared pipe to InterpreterSelectQuery.
2020-01-29 18:04:46 +03:00
alexey-milovidov
196ed889b9
Merge branch 'master' into joins
2020-01-26 00:03:56 +03:00
chertus
a9d0d74720
remove bad MergeJoin optimization
2020-01-24 18:28:40 +03:00
Azat Khuzhin
88bfb788a9
Add ability to use multiple disks/volumes for temporary data
...
This patch adds <tmp_policy> config directive, that will define the
policy to use for storing temporary files, if it is not set (default)
the <tmp_path> will be used.
Also tmp_policy has some limitations:
- move_factor is ignored
- keep_free_space_bytes is ignored
- max_data_part_size_bytes is ignored
- must have exactly one volume
2020-01-23 20:31:01 +03:00
chertus
cc61fb9408
Merge branch 'master' into joins
2020-01-21 22:23:58 +03:00
chertus
414de57b99
fix hash join with processors
2020-01-21 13:11:30 +03:00
Nikolai Kochetov
c28e224e24
Merge pull request #8735 from ClickHouse/processors-5.12
...
Processors 5.12
2020-01-21 11:51:07 +03:00
chertus
0669eff031
version with processors
2020-01-20 17:17:55 +03:00
Nikolai Kochetov
76171c7afc
Do not add resize transform for SystemNumbers.
2020-01-20 10:24:28 +03:00
Nikolai Kochetov
cd369bea4e
Do not add resize transform for SystemNumbers.
2020-01-19 23:05:01 +03:00
chertus
61a7e84cae
Merge branch 'master' into joins
2020-01-16 15:14:19 +03:00
chertus
8ab68e2c77
change iface for one-to-many blocks expressions calculation
2020-01-13 21:00:32 +03:00
Nikolai Kochetov
edc28c3dd2
Update ResizeProcessor.
2020-01-13 15:04:02 +03:00
Alexander Tokmakov
9389c83d4d
Merge branch 'master' into table_name_in_istorage
2020-01-13 14:41:42 +03:00
alexey-milovidov
5e29fe3425
Merge pull request #8475 from ClickHouse/aku/logical-error-assert
...
In debug builds, treat LOGICAL_ERROR as an assertion failure.
2020-01-10 19:58:39 +03:00
Alexander Tokmakov
902615a2f7
Merge branch 'master' into table_name_in_istorage
2020-01-10 14:51:21 +03:00
Ivan
fd55999398
Initialize set for index when table filter is presented ( #8357 )
2020-01-10 12:24:05 +03:00
Alexander Kuzmenkov
3999675383
In debug builds, treat LOGICAL_ERROR as an assertion failure.
2020-01-09 19:58:32 +03:00
Nikolai Kochetov
d4bb352113
Merged with master.
2020-01-09 19:51:15 +03:00
Alexander Tokmakov
9b75ee2378
Merge branch 'master' into table_name_in_istorage
2020-01-09 17:33:58 +03:00
Nikolai Kochetov
39b91584fd
Simplifu delayed stream in QueryPipeline.
2020-01-09 14:52:34 +03:00
Nikolai Kochetov
874d01e8b7
Merge pull request #8423 from ClickHouse/processors-5.7
...
Processors 5.7
2020-01-09 11:53:22 +03:00
Nikolai Kochetov
dc7acc1028
Changes from #8545 to processors.
2020-01-09 11:06:46 +03:00
Nikolai Kochetov
e1a3c7fb79
Changes from #8545 to processors.
2020-01-07 11:37:34 +03:00
Nikolai Kochetov
aa7c07c94c
Changes from #8545 to processors.
2020-01-07 08:41:18 +03:00
Alexey Milovidov
2314bb5a34
Parallel merge sort (experimental)
2020-01-06 15:43:27 +03:00
Nikolai Kochetov
833499cfb6
Merged with master.
2020-01-03 15:34:17 +03:00
Nikolai Kochetov
3f35d143b3
Update num threads in processors.
2020-01-01 14:15:29 +03:00
alexey-milovidov
3adf6853d5
Merge pull request #7769 from amosbird/betterprewhere
...
Optimize PREWHERE
2019-12-31 09:07:02 +03:00
Alexander Tokmakov
f19bb041b4
add asserts on invalid StorageID
2019-12-30 21:20:43 +03:00
Alexander Tokmakov
250f170a69
Merge branch 'master' into table_name_in_istorage
2019-12-30 14:08:09 +03:00
Alexey Milovidov
cb3a5b26f7
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
2019-12-27 21:12:30 +03:00
Alexander Tokmakov
a2a155dcbd
Merge branch 'master' into table_name_in_istorage
2019-12-27 15:47:29 +03:00
Vitaly Baranov
b75771be61
Merge pull request #7808 from vitlibar/RBAC-3
...
RBAC-3
2019-12-27 09:44:24 +07:00
alexey-milovidov
89eeaa50e9
Merge branch 'master' into enable-experimental-indices-and-make-settings-obsolete
2019-12-26 22:16:50 +03:00
Alexander Tokmakov
42296cc80a
remove separate getTableName() and getDatabaseName()
2019-12-26 21:11:49 +03:00
Alexander Tokmakov
9319863a59
refactor table dependencies
2019-12-26 20:23:24 +03:00
Nikolai Kochetov
5a5d15c095
Enable quota for more processors.
2019-12-26 19:52:15 +03:00
Nikolai Kochetov
9d9ab833b7
Add threads quota for processors.
2019-12-26 19:15:31 +03:00
alexey-milovidov
fee9fda34c
Merge pull request #8130 from CurtizJ/optimize-storage-merge
...
Implement ORDER BY optimization for Storage Merge.
2019-12-22 12:43:18 +03:00
CurtizJ
75c5e02ec2
improve input order analyzing and turn on order by optimization with left/inner joins
2019-12-20 16:15:17 +03:00
Vitaly Baranov
9f5ab54fc2
Rework RowPolicy based on IAccessEntity.
2019-12-19 13:37:02 +03:00
kreuzerkrieg
9612bb0e79
More GCC warnings
2019-12-16 23:19:50 +02:00
root
63aaf64e93
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into lulu-master1
2019-12-13 16:12:43 +08:00
chertus
68a33863ab
extract getTableExpressions variants into own file
2019-12-12 19:06:18 +03:00
zhangxiao018
c03f126057
fix trivial count query with ConvertingBlockInputStream.
2019-12-12 18:21:08 +08:00
CurtizJ
45a9751c31
refactoring of order by optimization
2019-12-11 04:34:39 +03:00
CurtizJ
9e75892516
refactoring of order by optimization
2019-12-11 02:18:24 +03:00
Vitaly Baranov
38fa1af5ca
Disable quota consumptions for the system queries and for selecting
...
from the `system.quota` and `system.quotas` tables.
2019-12-05 21:03:57 +03:00
Vitaly Baranov
0e21673271
Rework Quota based on IAccessEntity.
2019-12-05 21:03:57 +03:00
Alexey Milovidov
8916b8f2e6
Make data skipping indices non-experimental. Make settings about data skipping indices, multiple JOINs and CROSS to INNER JOIN conversion obsolete,
2019-11-30 23:41:02 +03:00
alexey-milovidov
18a70ba70e
Merge pull request #7911 from ClickHouse/prewhere_alias
...
Fix reading empty set with prewhere dependent on alias column.
2019-11-26 09:38:47 +03:00
Nikolai Kochetov
867fded9fd
Fix prewhere with max_parallel_replicas.
2019-11-25 21:29:02 +03:00
Nikolai Kochetov
1a0f17cb2c
Fix reading empty set with prewhere dependent on alias column.
2019-11-25 17:33:54 +03:00
Amos Bird
9af0c00053
Optimize PREWHERE
...
So that it's never worse than WHERE.
2019-11-18 22:59:03 +08:00
Alexander Tokmakov
2173bf5f4a
Merge branch 'master' into possible_segfaults_in_table_functions
2019-11-17 16:48:13 +03:00
Alexander Tokmakov
55f60a6bad
hold shared pointers to table function Storage and Context from InterpreterSelectQuery
2019-11-15 21:42:32 +03:00
Anton Popov
0318e6d820
Update dbms/src/Interpreters/InterpreterSelectQuery.cpp
...
Co-Authored-By: Alexander Kuzmenkov <36882414+akuzm@users.noreply.github.com>
2019-11-15 17:09:34 +03:00
CurtizJ
475356f2b7
more clarifying names to avoid mistakes
2019-11-15 17:03:42 +03:00
CurtizJ
f6b601cb9c
fix order by with pk optimization
2019-11-13 17:57:45 +03:00
Nikolai Kochetov
28b195a0f1
Merge pull request #7672 from ClickHouse/processors-4-tmp
...
Processors 4
2019-11-11 21:22:06 +03:00
Nikolai Kochetov
cc16ac3c3c
Return resize processor before aggregating.
2019-11-09 12:24:55 +03:00
Nikolai Kochetov
dd7ed390f6
Merge branch 'master' into processors-4-tmp
2019-11-08 18:53:03 +03:00
Vasily Nemkov
5624bb3abb
odbc table function now respects external_table_functions_use_nulls setting
...
* Passing setting value to ODBC-bridge on each request
* Handling that setting value correctly in ODBC-bridge
* Fixed issue with executing table-functions on context with no settings
applied in `SELECT ... SETTINGS x=foo` query.
* Added tests to verify fix.
2019-11-08 14:30:11 +03:00
alexey-milovidov
a2e79cc427
Merge pull request #7574 from ClickHouse/processors-4
...
Fix tests for processors
2019-11-08 00:46:30 +03:00
Nikolai Kochetov
feed418fb3
Disable task pinning and resize.
2019-11-07 14:49:13 +03:00
Nikolai Kochetov
86a9c2b98e
Try to fix tests.
2019-11-06 12:45:47 +03:00
alexey-milovidov
78f7826a09
Update InterpreterSelectQuery.cpp
2019-11-06 11:17:26 +03:00
chertus
950e95c178
support JOIN ON expression
2019-11-05 23:22:20 +03:00
Nikolai Kochetov
055f21c9b7
Less wrappers for procesors pipeline.
2019-11-05 20:33:03 +03:00
Amos Bird
f0b3c1f7c7
early constant folding improvement
2019-11-03 21:17:46 +08:00
alexey-milovidov
4081b0be90
Merge pull request #7497 from amosbird/countopt
...
Early constant folding.
2019-11-01 16:54:02 +03:00
Amos Bird
e04cdd4ebb
Early constant folding.
2019-10-31 23:54:32 +08:00
Nikolai Kochetov
a80338e066
Merged with master
2019-10-31 14:41:29 +03:00
Alexey Milovidov
fe73354320
Improvements after #7510
2019-10-30 22:15:55 +03:00
Amos Bird
2c75a51d4f
Instant count() for MergeTree
...
Use (Replicated)MergeTree's metadata to do trivial count()
2019-10-29 17:45:47 +08:00
Amos Bird
295864e6e0
better scalar query
2019-10-23 21:37:54 +08:00
Nikolai Kochetov
2b334a4adb
Review fixes.
2019-10-21 19:26:29 +03:00
Nikolai Kochetov
2893c35930
Merged with master.
2019-10-21 18:33:44 +03:00
CurtizJ
546414c015
fix optimize_read_in_order with in subquery
2019-10-17 16:11:27 +03:00
Nikolai Kochetov
2684bd0d5e
Fixes for 7216
2019-10-11 20:27:54 +03:00
Nikolai Kochetov
ef14df4632
Added more comments.
2019-10-10 17:16:15 +03:00
Nikolai Kochetov
9c5ae5f536
Merge branch 'master' into processors-and-storages
2019-10-09 14:12:47 +03:00
alexey-milovidov
bcc4e3f0ba
Merge branch 'master' into issue-6615
2019-10-07 22:12:25 +03:00
alexey-milovidov
d096119529
Merge pull request #7156 from ClickHouse/fix-header-for-now
...
Fix header for function 'now'
2019-10-05 22:35:23 +03:00
alexey-milovidov
40b22061f0
Update InterpreterSelectQuery.cpp
2019-10-05 22:34:25 +03:00
Nikolai Kochetov
95ec0f7c2d
Merged with master.
2019-10-04 20:53:21 +03:00
Nikolai Kochetov
627d48c19a
Added ExecutionSpeedLimits.
2019-10-04 20:49:57 +03:00
Nikolai Kochetov
76d1412953
Fix actions for distributed.
2019-10-03 18:47:42 +03:00
Nikolai Kochetov
e5c1df010f
Remove allow_different_constant_values from InterpreterSelectQuery.
2019-10-03 15:02:30 +03:00
Nikolai Kochetov
3142955e6c
InterpreterSelectQuery: reuse actions from getSampleBlock in readImpl.
2019-10-03 14:58:52 +03:00
chertus
038428bccf
do not affect other SquashingBlockInputStream instances
2019-10-01 16:01:08 +03:00