Azat Khuzhin
acd48ebe2d
Disable processors_profile_log for test_input_format_parallel_parsing_memory_tracking
...
This should fix memory usage, like in [1].
[1]: https://s3.amazonaws.com/clickhouse-test-reports/34355/e5a837e574fac93e01d985f55d069fe522abc182/integration_tests__thread__actions__[3/4].html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-05 23:23:05 +03:00
Azat Khuzhin
e5a837e574
Add id/parent_ids into system.processors_profile_log
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:43 +03:00
Azat Khuzhin
58ee917e94
Mesure processors profiles only if it was enabled
...
Since it may use little extra CPU.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:43 +03:00
Azat Khuzhin
99528e296c
Rename need_data_elapsed_us/port_full_elapsed_us to input_wait_us/output_wait_us
...
$ gg -e need_data_ -e port_full_ | cut -d: -f1 | sort -u | xargs sed -i -e s/port_full_/output_wait_/g -e s/need_data_/input_wait_/g -e s/getPortFull/getOutputWait/g -e s/getNeedData/getInputWait/g
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:43 +03:00
Azat Khuzhin
0d06dab362
tests: cover processors_profile_log
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:43 +03:00
Azat Khuzhin
765b4bc45a
Implement log_processors_profiles (write to processors_profile_log, OFF by default)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:43 +03:00
Azat Khuzhin
5fd402eaba
Measure time that Process spent in work/NeedData/PortFull
...
Note, that right now it is done not in IProcessor, but in
ExecutingGraph/ExecutionThreadContext, to avoid lots of changes in the
IProcessor interface, to make review easier, but I'm not against of
change the IProcessor interface to incapsulate it there.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:43 +03:00
Azat Khuzhin
14538f6456
Add system.processors_profile_log
...
This is the system table that will contain Processors level profiling.
v2: one entry per Processor, not 3 (PortFull/NeedData/work())
v3: us over ms
v4: Enable processors_profile_log table by default
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:41 +03:00
Nikolai Kochetov
19819c72f8
Merge pull request #35290 from bigo-sg/function_enumerate_streams
...
Add function getTypeSerializationStreams
2022-04-04 12:09:53 +02:00
Anton Popov
11e18a16f3
Merge pull request #35724 from Avogar/fix-order
...
Improve schema inference for JSONEachRow and TSKV formats
2022-04-04 11:00:21 +02:00
Alexey Milovidov
44293e6f94
Merge pull request #35734 from azat/use-bld-over-src-dir
...
Do not require writable source directory for generating krb5 error tables
2022-04-04 07:31:56 +03:00
Alexey Milovidov
d9e5ca2119
Merge pull request #34394 from holadepo/last_day
...
Add toLastDayOfMonth function
2022-04-04 07:02:08 +03:00
Alexey Milovidov
4f33a3053d
Merge pull request #35617 from nikandfor/patch-1
...
fix link in documentation
2022-04-04 07:00:08 +03:00
Alexey Milovidov
efe5bab594
Merge pull request #35873 from ClickHouse/disable-session-log
...
Disable session_log
2022-04-04 06:57:27 +03:00
Alexey Milovidov
599e52fbc8
Merge pull request #35894 from ClickHouse/revert-35858-master
...
Revert "Format changes for new docs"
2022-04-04 02:05:51 +03:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs"
2022-04-04 02:05:35 +03:00
Alexey Milovidov
86558bba5a
Move tests to bugs
2022-04-04 00:52:43 +02:00
Habibullah Oladepo
2dd7420fc7
Add tests for toLastDayOfMonth
2022-04-03 23:42:39 +01:00
Kseniia Sumarokova
30c1afe29d
Merge pull request #35646 from bigo-sg/reduce-mutex-scope
...
narrow mutex scope when setenv LIBHDFS3_CONF
2022-04-03 17:59:24 +02:00
alesapin
c923a52ebc
Merge pull request #35872 from ClickHouse/update-url-in-test-visualizer
...
Update URL in test visualizer
2022-04-03 17:39:33 +02:00
Rich Raposa
e56b6f4828
Merge pull request #35858 from rfraposa/master
...
Format changes for new docs
2022-04-03 09:13:19 -06:00
alesapin
91453fe4d6
Merge pull request #35759 from chen9t/fix_dirty_metacache
...
Clean dirty meta cache when part is broken during part loading phase
2022-04-03 13:33:46 +02:00
Alexey Milovidov
808c802cae
Disable session_log
2022-04-03 05:07:37 +02:00
Alexey Milovidov
7c3227adc5
Merge pull request #35870 from ClickHouse/update-examples-in-config
...
Update examples and remove obsolete embedded dictionaries from configs
2022-04-03 05:55:19 +03:00
Alexey Milovidov
6780cd2d82
Update URL in test visualizer
2022-04-03 04:53:59 +02:00
Alexey Milovidov
b4b603e0b5
Merge pull request #35869 from den-crane/bug/fix-systemd-service
...
fix service start with systemd
2022-04-03 05:37:58 +03:00
Alexey Milovidov
fe4da520b0
Merge pull request #35864 from ClickHouse/snyk-fix-2ccd780f6f18e7446c751851ac7ac782
...
[Snyk] Security upgrade mkdocs from 1.1.2 to 1.3.0
2022-04-03 05:32:54 +03:00
Alexey Milovidov
5a47958744
Merge pull request #35736 from CurtizJ/quota-written-bytes
...
Add quota for written bytes
2022-04-03 05:26:49 +03:00
rfraposa
72a00e2c62
Fixed broken links
2022-04-02 17:38:54 -06:00
Alexey Milovidov
17107cb1dc
Update examples and remove obsolete embedded dictionaries from configs
2022-04-03 01:21:48 +02:00
Denny Crane
4debd3b609
fix service start with systemd
2022-04-02 19:26:41 -03:00
Alexey Milovidov
c9c747f615
Merge pull request #35868 from rschu1ze/remove-auto-ptr-from-clang-tidy
...
Drop modernize-replace-auto-ptr from .clang-tidy
2022-04-03 01:05:07 +03:00
rfraposa
5d4a877785
Fixed slug for playground and install pages
2022-04-02 15:44:53 -06:00
rfraposa
afe0563856
Adding the playground back in
2022-04-02 15:39:11 -06:00
Robert Schulze
192ff2fcf5
Drop modernize-replace-auto-ptr from .clang-tidy
...
- std::auto_ptr was removed from the C++17 standard
- ClickHouse is compiled with C++20
- thus, the clang-tidy check is obsolete by now
2022-04-02 21:37:32 +02:00
rfraposa
c33a6ced7b
Fixed category links
2022-04-02 10:16:20 -06:00
Rich Raposa
896e513921
Merge branch 'ClickHouse:master' into master
2022-04-02 10:07:50 -06:00
mergify[bot]
1e43e26fa1
Merge branch 'master' into fix-order
2022-04-02 12:00:29 +00:00
avogar
3ae36ac483
Fix tests
2022-04-02 11:59:32 +00:00
Kruglov Pavel
60c2b54dc9
Fix test
2022-04-02 13:55:37 +02:00
Kruglov Pavel
f7902ae2d1
Fix test
2022-04-02 13:53:30 +02:00
Kruglov Pavel
687e9e7aeb
Merge pull request #35760 from Avogar/insert-from-input
...
Improve schema inference for insert select from table functions
2022-04-02 13:50:48 +02:00
snyk-bot
017f567132
fix: docs/tools/requirements.txt to reduce vulnerabilities
...
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-MKDOCS-2438396
2022-04-02 04:13:37 +00:00
Alexey Milovidov
a7c6d78ee1
Merge pull request #35860 from ClickHouse/playui_hourglass_animation
...
Play UI hourglass animation
2022-04-02 02:54:44 +03:00
Nir Peled
409eccec84
When showing the animation, set display to inline-block instead of inline, otherwise the animation won't start
2022-04-01 19:29:13 -04:00
Nir Peled
4810936eaa
Added an animation to the play ui hourglass when a query is running
2022-04-01 19:24:14 -04:00
shuchaome
a565a93740
reduce mutex scope when setenv LIBHDFS3_CONF
2022-04-02 06:52:39 +08:00
Anton Popov
a10bf550c4
Update AsynchronousInsertQueue.cpp
2022-04-01 20:57:41 +02:00
Rich Raposa
e6191511cf
Merge branch 'ClickHouse:master' into master
2022-04-01 11:43:48 -06:00
tavplubix
97f29ac0fe
Merge pull request #35817 from tcoyvwac/fix/exception-in-destructor-needs-noexcept-false
...
Fix missing `noexcept(false)` flag on destructor which causes builds to fail
2022-04-01 20:35:03 +03:00