Commit Graph

43992 Commits

Author SHA1 Message Date
Vitaliy Zakaznikov
58b91a1d0b Updating tests to match new exit codes. 2020-07-08 17:41:34 +02:00
alesapin
1aa45f203b
bump CI 2020-07-08 13:40:02 +03:00
Vitaliy Zakaznikov
e5a3002b75 Adding ldap regression tests. 2020-07-08 00:05:34 +02:00
Denis Glazachev
917b56c094
Merge branch 'master' into ldap-per-user-authentication 2020-07-08 00:51:44 +04:00
Denis Glazachev
9effacfbc1 Merge branch 'master' into ldap-per-user-authentication
* master: (1102 commits)
  Update README.md
  Update README.md
  Update README.md
  Update index.md
  [docs] add intrdocution for statements page (#12189)
  Revert "Run perf tests with memory sampling (for allocations >1M)"
  Sanitize LINK_LIBRARIES property for the directories (#12160)
  [docs] refactor Domains overview (#12186)
  DOCS-647: toStartOfSecond (#12190)
  [docs] add intrdocution for commercial page (#12187)
  DOCSUP-1348 Russian translation for new functions (#133) (#12194)
  changelog fixes
  Update index.md (#12191)
  Update zh kafka.md title (#12192)
  Added test for #3767
  style fix for #12152
  Tests for fixed issues #10846 and #7347
  changelog fixes
  [docs] introduction for special table engines (#12170)
  [docs] introduction for third-party interfaces (#12175)
  ...

# Conflicts:
#	src/Access/ya.make
#	src/Common/ErrorCodes.cpp
2020-07-08 00:42:09 +04: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
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
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
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
alesapin
be85f9f98a
Merge pull request #12165 from vitlibar/fix-split-dictionary-source-table-name
Fix splitting table name of dictionary source
2020-07-07 11:49:36 +03:00
Alexander Kuzmenkov
dce7709405
Merge pull request #12152 from BohuTANG/mysql_kill_query
Support MySQL 'KILL QUERY [connection_id]'
2020-07-07 11:07:20 +03:00
tavplubix
488a8cbc9f
Merge pull request #12120 from filimonov/query_context_for_system_logs
Add query context for system logs and to Buffer
2020-07-07 09:55:20 +03:00
Ivan Blinkov
8d65deaf85
[docs] introduction for special table engines (#12170)
* [docs] introduction for integration table engines

* Update jdbc.md

* Update odbc.md

* Update mysql.md

* Update kafka.md

* Update hdfs.md

* [docs] introduction for special table engines

* Update index.md

* Update index.md
2020-07-07 01:48:11 +03:00
Ivan Blinkov
30cc78a7d2
[docs] introduction for third-party interfaces (#12175)
* [docs] introduction for third-party interfaces

* Update index.md

* Update index.md
2020-07-07 01:47:53 +03:00
Alexander Kuzmenkov
a3826e5443
Merge pull request #12142 from azat/perf-memory-sampling
Run perf tests with memory sampling (for allocations >1M)
2020-07-07 01:35:33 +03:00
Mikhail Filimonov
c78d44cb55 Sync reference file with changes in sql file 2020-07-06 23:24:11 +02:00
Alexander Kazakov
1c0c8a7bf6
Merge pull request #11892 from excitoon-favorites/relatives3paths
Switched paths in S3 metadata to relative
2020-07-07 00:13:07 +03:00
Vitaly Baranov
4733504b51 Don't split dictionary source's table name into schema and table name itself
if ODBC driver doesn't support schema.
2020-07-06 23:41:39 +03:00
Alexey Milovidov
2e8ba3427a Better assert 2020-07-06 23:40:32 +03:00
alexey-milovidov
e60b8885e8
Merge pull request #12124 from ClickHouse/docker-apt-get-upgrade-1
[experiment] apt-get upgrade in docker/server/Dockerfile
2020-07-06 23:28:04 +03:00
Ivan Blinkov
685fb4669e
[website] add apple-touch-icon (#12164) 2020-07-06 23:25:21 +03:00
alexey-milovidov
a3ad766488
Merge pull request #12174 from ClickHouse/remove_ninja_v_for_binary_build
Remove -v from ninja
2020-07-06 23:20:42 +03:00
Ivan Blinkov
7372c46342
[docs] add redirect from an introduction index page (#12176) 2020-07-06 23:16:41 +03:00
Mikhail Filimonov
93517b4e82 Same change for Kafka - just in case, and to make it conform. 2020-07-06 20:48:33 +02:00