Commit Graph

44001 Commits

Author SHA1 Message Date
alesapin
306bad6b81 Add tests to skip list 2020-07-08 15:05:20 +03:00
alesapin
dc8051f737 Fixes 2020-07-08 12:47:14 +03:00
alesapin
9ea3bdd054 Fix skip lists for old branches 2020-07-08 11:41:39 +03:00
alesapin
f04a49a114
Merge pull request #12256 from ianton-ru/redirect_limit_exception
throw exception on redirect limit in S3 request
2020-07-08 10:33:42 +03:00
Ivan Blinkov
c36bf6d937
Update README.md 2020-07-08 10:18:51 +03:00
alexey-milovidov
b87e9f6e1d
Merge pull request #11971 from ClickHouse/perf-test-questdb
Added performance test to resemble "questionable" benchmark
2020-07-08 08:39:08 +03:00
Alexey Milovidov
9c53a90e3d Non-significant changes 2020-07-08 06:16:20 +03:00
alexey-milovidov
d0d1590d0d
Merge pull request #12271 from ClickHouse/fix-logical-functions-review
Fix minor issues in ternary logic
2020-07-08 05:33:37 +03:00
Alexey Milovidov
abf1e015b3 Add documentation for arrayFill 2020-07-08 04:44:24 +03:00
alexey-milovidov
b4c2c4906e
Merge pull request #11873 from ClickHouse/initial-explain
Initial explain
2020-07-08 01:59:27 +03:00
Alexey Milovidov
3a1ed562db Merge branch 'master' into initial-explain 2020-07-08 01:58:25 +03:00
Alexey Milovidov
454b0a2678 Update test 2020-07-08 01:58:22 +03:00
alexey-milovidov
ffdd6e1af6
Merge pull request #12173 from nikitamikhaylov/summing-bug-fix
Exclude partition key columns from SummingMergeTree
2020-07-08 01:46:12 +03:00
Alexey Milovidov
7138ccca2b Whitespace 2020-07-08 01:44:29 +03:00
Alexey Milovidov
5ef4e90dfb Fix minor issues after #12196 2020-07-07 23:56:40 +03:00
alexey-milovidov
0fdc29be1e
Merge pull request #12196 from ClickHouse/akz/logical-functions-normalized-uint8
Fixed logical functions for UInt8 values when they are not equal to 0 or 1.
2020-07-07 23:19:35 +03:00
alesapin
f54351635a
Merge pull request #12090 from vzakaznikov/adding-tests-in-testflows
Adding a simple example of using TestFlows.
2020-07-07 22:58:11 +03:00
Nikolai Kochetov
fd7fcb28d4 Merge branch 'master' into initial-explain 2020-07-07 22:52:09 +03:00
Nikolai Kochetov
6ed2908e2a Rename ident to indent. 2020-07-07 22:51:32 +03:00
alexey-milovidov
546fcc9ed6
Merge pull request #12151 from ClickHouse/fix-transform-query-aliases
Fix transform query for external databases in presense of aliases
2020-07-07 21:46:35 +03:00
alexey-milovidov
23094b527a
Merge pull request #12193 from filimonov/tests_for_few_fixed_issues
Tests for fixed issues #10846, #7347, #3767
2020-07-07 21:45:49 +03:00
Ivan Blinkov
5e062e851d
Update README.md 2020-07-07 21:21:36 +03:00
Ivan Blinkov
ba437c370f
Update README.md 2020-07-07 21:20:40 +03:00
Ivan Blinkov
b0ff1fede5
Update README.md 2020-07-07 21:17:43 +03:00
Ivan Blinkov
391d31d7f6
Update index.md 2020-07-07 20:28:20 +03:00
Ivan Blinkov
9c829e3046
[docs] add intrdocution for statements page (#12189)
* [docs] add intrdocution for statements page

* Update index.md
2020-07-07 20:18:38 +03:00
Alexander Kuzmenkov
d85391f3ac too slow 2020-07-07 20:07:04 +03:00
Alexander Kuzmenkov
c49da9053d Merge remote-tracking branch 'origin/master' into HEAD 2020-07-07 20:06:27 +03:00
Alexander Kuzmenkov
72497bc667
Merge pull request #12265 from ClickHouse/revert-12142-perf-memory-sampling
Revert "Run perf tests with memory sampling (for allocations >1M)"
2020-07-07 20:00:15 +03:00
Alexander Kuzmenkov
f514d0da77
Revert "Run perf tests with memory sampling (for allocations >1M)" 2020-07-07 19:59:42 +03:00
Azat Khuzhin
a5cb0aed12
Sanitize LINK_LIBRARIES property for the directories (#12160)
When you will try to link target with the directory (that exists), cmake will
skip this without an error, only the following warning will be reported:

    target_link_libraries(main /tmp)

    WARNING: Target "main" requests linking to directory "/tmp".  Targets may link only to libraries.  CMake is dropping the item.

And there is no cmake policy that controls this.
(I guess the reason that it is allowed is because of FRAMEWORK for OSX).

So to avoid error-prone cmake rules, this can be sanitized.
There are the following ways:
- overwrite target_link_libraries()/link_libraries() and check *before*
  calling real macro, but this requires duplicate all supported syntax
  -- too complex
- overwrite target_link_libraries() and check LINK_LIBRARIES property, this
  works great
  -- but cannot be used with link_libraries()
- use BUILDSYSTEM_TARGETS property to get list of all targets and sanitize
  -- this will work.

I also tested it with the following patch:

    $ git di
    diff --git a/base/daemon/CMakeLists.txt b/base/daemon/CMakeLists.txt
    index 26d59a57e7..35e6ff6432 100644
    --- a/base/daemon/CMakeLists.txt
    +++ b/base/daemon/CMakeLists.txt
    @@ -9,4 +9,5 @@ target_link_libraries (daemon PUBLIC loggers PRIVATE clickhouse_common_io clickh

     if (USE_SENTRY)
         target_link_libraries (daemon PRIVATE ${SENTRY_LIBRARY})
    +    target_link_libraries (daemon PRIVATE /tmp)
     endif ()

And it works:

    CMake Error at cmake/sanitize_target_link_libraries.cmake:48 (message):
       daemon requested to link with directory: /tmp
    Call Stack (most recent call first):
      cmake/sanitize_target_link_libraries.cmake:55 (sanitize_link_libraries)
      CMakeLists.txt:425 (include)

Refs: #12041
2020-07-07 19:22:41 +03:00
alesapin
a7348ed2c8 Add to images.json 2020-07-07 18:48:47 +03:00
alesapin
042a3aa8d1
Merge pull request #12168 from qoega/compose-inside-docker
Place common docker compose files to integration docker container
2020-07-07 18:43:27 +03:00
Ivan Blinkov
eefb498517
[docs] refactor Domains overview (#12186) 2020-07-07 17:45:04 +03:00
BayoNet
ff45051231
DOCS-647: toStartOfSecond (#12190)
* DOCSUP-1120 Documentation for the toStartOfSecond function (#131)

* Doc toStartOfSecond function

* Update docs/en/sql-reference/functions/date-time-functions.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql-reference/functions/date-time-functions.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Minor update for english text, russian translation added.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* CLICKHOUSEDOCS-647: Minor text edits.

* Update docs/en/sql-reference/functions/date-time-functions.md

* Update docs/en/sql-reference/functions/date-time-functions.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-07-07 17:25:44 +03:00
Ivan Blinkov
13f601c9c0
[docs] add intrdocution for commercial page (#12187) 2020-07-07 17:17:22 +03:00
Anton Ivashkin
78ba9c986f throw exception on redirect limit in S3 request 2020-07-07 16:20:48 +03:00
alesapin
e89ccfd5bf No color 2020-07-07 16:11:19 +03:00
alesapin
f5a7d8a5c7 Add runner for testflows 2020-07-07 15:35:06 +03:00
BayoNet
d5c3cadcfc
DOCSUP-1348 Russian translation for new functions (#133) (#12194)
* Russian translation for new functions

* Apply suggestions from code review

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Minor updates to russian text.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
2020-07-07 14:53:27 +03:00
Alexander Kuzmenkov
f8d584d509 changelog fixes 2020-07-07 13:50:32 +03:00
BohuTANG
241b897e4b
Update index.md (#12191)
Fix merge link broken
2020-07-07 13:35:39 +03:00
BohuTANG
dc85f590b7
Update zh kafka.md title (#12192) 2020-07-07 13:35:16 +03:00
Mikhail Filimonov
6170bfd668 Added test for #3767 2020-07-07 12:33:43 +02:00
Alexander Kuzmenkov
688f185f9e style fix for #12152 2020-07-07 13:28:45 +03:00
Alexander Kazakov
2906ae37f5 Simple (and fast) inplace fix for UInt8 -> bool 2020-07-07 13:26:11 +03:00
Mikhail Filimonov
c8f51bdc8a Tests for fixed issues #10846 and #7347 2020-07-07 12:00:39 +02:00
Alexander Kuzmenkov
7dba89eaa8 changelog fixes 2020-07-07 12:52:27 +03:00
Alexander Kazakov
66128acd11 Included const uint8 values in test 2020-07-07 12:17:35 +03:00
Alexander Kazakov
a449f3e9ff A test for UInt8 as bool 2020-07-07 12:03:37 +03:00