Commit Graph

81106 Commits

Author SHA1 Message Date
Azat Khuzhin
c341b3b237 Add current database to table names in JOIN section for distributed queries
This should fix JOIN w/o explicit database.

v2: rewrite only JOIN section, since there is old behavior that relies
on default_database for IN section, see [1]:
- 01487_distributed_in_not_default_db
- 01152_cross_replication

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/33611/d0ea3c76fa51131171b1825939680867eb1c04da/fast_test__actions_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 11:23:38 +03:00
Azat Khuzhin
4dcb332be9 Add ability to rewrite only JOIN tables in AddDefaultDatabaseVisitor
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 11:18:52 +03:00
Azat Khuzhin
249bdce453 Fix AddDefaultDatabaseVisitor for temporary tables
This will fix rewriting of distributed queries with GLOBAL IN

v2: get external tables only for non-global context

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 11:18:52 +03:00
Azat Khuzhin
0a9b1ee803 Remove RestoreQualifiedNamesMatcher::Data::rename (always true)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-14 11:18:52 +03:00
Kseniia Sumarokova
10f0e44cc6
Merge pull request #33601 from ClickHouse/kssenii-patch-2
Fix flacky test_dictionaries_postgresql/
2022-01-14 09:44:10 +03:00
Kseniia Sumarokova
5da673c3a5
Merge pull request #31104 from bigo-sg/hive_table
Implement hive table engine
2022-01-14 09:39:17 +03:00
alexey-milovidov
438519aeec
Merge pull request #33389 from azat/stress-core-dumps
tests/stress: add core dumps into artifacts
2022-01-14 01:26:35 +03:00
alexey-milovidov
4b55884295
Merge pull request #33455 from ramazanpolat/patch-2
mention async insert
2022-01-14 01:14:03 +03:00
Kseniia Sumarokova
f1868114a6
Update test.py 2022-01-14 00:07:33 +03:00
Mikhail f. Shiryaev
21fae855ed
Merge pull request #33610 from ClickHouse/deb-aarch64
YetAnother workflow fix
2022-01-13 19:04:29 +01:00
Mikhail f. Shiryaev
c465593706
Force rebuild images once again in master 2022-01-13 19:03:34 +01:00
Mikhail f. Shiryaev
f2d1ac9041
YetAnother workflow fix 2022-01-13 18:21:53 +01:00
Mikhail f. Shiryaev
6f64afef03
Merge pull request #33609 from ClickHouse/deb-aarch64
Force rebuild images in CI
2022-01-13 17:50:34 +01:00
Mikhail f. Shiryaev
e314eed992
Force rebuild images in CI 2022-01-13 17:49:23 +01:00
Mikhail f. Shiryaev
08644eab54
Merge pull request #33608 from ClickHouse/deb-aarch64
Fix broken workflow dependencies
2022-01-13 17:29:47 +01:00
Mikhail f. Shiryaev
8be27c0657
Fix broken workflow dependencies 2022-01-13 17:26:47 +01:00
alesapin
0804e04558
Merge pull request #32911 from ClickHouse/deb-aarch64
Deb aarch64
2022-01-13 19:11:19 +03:00
Mikhail f. Shiryaev
92099302e7
Use stdin for docker login to not expose a password 2022-01-13 16:57:33 +01:00
Mikhail f. Shiryaev
ef48028e9e
Merge pull request #33600 from ClickHouse/check-description
Fix pylint for run_check.py
2022-01-13 16:56:34 +01:00
Mikhail f. Shiryaev
080c56d91a
Fix pylint for build_check.py 2022-01-13 15:13:58 +01:00
Kseniia Sumarokova
e2770c5093
Update test.py 2022-01-13 17:12:46 +03:00
Mikhail f. Shiryaev
89415ff415
Fix pylint for run_check.py 2022-01-13 14:51:48 +01:00
alesapin
6af46979a8
Merge pull request #33555 from nicelulu/fix-keeper-converter
Fix session_id_counter for keeper-converter
2022-01-13 16:42:48 +03:00
Mikhail f. Shiryaev
f1b216cac3
Merge pull request #33597 from ClickHouse/fix-latest-build-links
Restore existing static builds links
2022-01-13 14:33:44 +01:00
Nikolay Degterinsky
5f858e1839
Merge pull request #33590 from 13DaGGeR/patch-1
Fix typo in docs: OPTMIZE -> OPTIMIZE
2022-01-13 15:59:03 +03:00
Mikhail f. Shiryaev
25476e2d7d
Restore existing static builds links 2022-01-13 13:55:51 +01:00
Kruglov Pavel
305d58a762
Merge pull request #33524 from Avogar/stacktrace-in-client
Don't print exception twice in client in case of exception in parallel parsing
2022-01-13 15:50:42 +03:00
Nikita Mikhaylov
340ec0fd20
Revert "Ignore parse failure of opentelemetry header (#32116)" (#33594)
This reverts commit 4e5f9c8ff7.
2022-01-13 16:29:18 +04:00
Frank Chen
4e5f9c8ff7
Ignore parse failure of opentelemetry header (#32116) 2022-01-13 16:16:10 +04:00
tavplubix
1075f604ba
Merge pull request #33577 from DevTeamBK/Issue167
skip MySQLCreateRewritten unit testsuite when enable_mysql is off
2022-01-13 14:28:48 +03:00
Mikhail f. Shiryaev
9c8b58a7f0
Merge pull request #33591 from ClickHouse/check-description
Check description
2022-01-13 12:19:01 +01:00
Mikhail f. Shiryaev
39012a42aa
Restore description checking 2022-01-13 12:17:09 +01:00
Mikhail f. Shiryaev
ce01dea0fe
Apply black to run_check.py 2022-01-13 12:06:50 +01:00
13DaGGeR
c1ab96bf0f
Fix typo: OPTMIZE -> OPTIMIZE 2022-01-13 13:32:45 +03:00
taiyang-li
82a3024712 Merge remote-tracking branch 'ck/master' into bigo_hive_table 2022-01-13 18:11:23 +08:00
taiyang-li
3521d6824f fix stateless tests 2022-01-13 18:08:10 +08:00
小路
2d1d640a48
Update ZooKeeperDataReader.cpp 2022-01-13 17:31:54 +08:00
tavplubix
3b7f8a4ae9
Merge pull request #33293 from zhanghuajieHIT/hangup_in_drop_query_log_sync
fix hang up with command 'drop table system.query_log sync'
2022-01-13 12:28:31 +03:00
alesapin
e63807ffa6
Merge pull request #33580 from CurtizJ/fix-test-02156
Fix test `02156_storage_merge_prewhere`
2022-01-13 12:20:10 +03:00
tavplubix
bacdaa7b4d
Merge pull request #33564 from ClickHouse/fix_minor_bug_in_ttl
Fix minor bug in TTL and flaky test
2022-01-13 11:51:57 +03:00
Kseniia Sumarokova
f95f0e7306
Merge pull request #33585 from ClickHouse/kssenii-patch-2
Update mongodb.md
2022-01-13 10:37:07 +03:00
Kseniia Sumarokova
5d2324368f
Update mongodb.md 2022-01-13 09:37:57 +03:00
taiyang-li
1717944d6c Merge branch 'hive_table' of https://github.com/bigo-sg/ClickHouse into bigo_hive_table 2022-01-13 12:09:39 +08:00
lgbo-ustc
e1aecea30d try to fixed failure of test_hive_query for counting read bytes from cache 2022-01-13 10:47:11 +08:00
taiyang-li
d3b654bf8d fix stateless test 02156_storage_merge_prewhere 2022-01-13 10:43:22 +08:00
Anton Popov
60bb0e43f4 fix test with wide parts 2022-01-12 23:51:40 +03:00
alexey-milovidov
6c71a7c40f
Merge pull request #33518 from hexiaoting/dev-limit-offset
Fix bug for select from VIEW with format and limit settings
2022-01-12 23:39:31 +03:00
Suzy Wang
ad11f3f05d skip MySQLCreateRewritten unit testsuite when enable_mysql is off 2022-01-12 11:05:56 -08:00
Alexander Tokmakov
25db53a3c5 add an integration test 2022-01-12 21:08:08 +03:00
Alexander Tokmakov
9ceaaeaf91 Revert "fix hang up with command 'drop table system.query_log sync' -- add test case"
This reverts commit c5aa0bd23d.
2022-01-12 20:19:24 +03:00