Skip to content

Commit ed10ab2

Browse files
authored
Merge branch 'antalya-25.8' into external-contributor-workflow
2 parents ffa5ef4 + a3deda9 commit ed10ab2

8 files changed

Lines changed: 41 additions & 9 deletions

File tree

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4179,7 +4179,7 @@ jobs:
41794179
secrets: inherit
41804180
with:
41814181
runner_type: altinity-regression-tester
4182-
commit: bd9d71b4ccc80bb5b1a316b43b60f59c0c592898
4182+
commit: 481dd0f61ec5b22430bfc4106ac30d9abfcf70b7
41834183
arch: x86
41844184
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
41854185
timeout_minutes: 300
@@ -4191,7 +4191,7 @@ jobs:
41914191
secrets: inherit
41924192
with:
41934193
runner_type: altinity-regression-tester-aarch64
4194-
commit: bd9d71b4ccc80bb5b1a316b43b60f59c0c592898
4194+
commit: 481dd0f61ec5b22430bfc4106ac30d9abfcf70b7
41954195
arch: aarch64
41964196
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
41974197
timeout_minutes: 300

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4045,7 +4045,7 @@ jobs:
40454045
secrets: inherit
40464046
with:
40474047
runner_type: altinity-regression-tester
4048-
commit: bd9d71b4ccc80bb5b1a316b43b60f59c0c592898
4048+
commit: 481dd0f61ec5b22430bfc4106ac30d9abfcf70b7
40494049
arch: x86
40504050
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
40514051
timeout_minutes: 300
@@ -4057,7 +4057,7 @@ jobs:
40574057
secrets: inherit
40584058
with:
40594059
runner_type: altinity-regression-tester-aarch64
4060-
commit: bd9d71b4ccc80bb5b1a316b43b60f59c0c592898
4060+
commit: 481dd0f61ec5b22430bfc4106ac30d9abfcf70b7
40614061
arch: aarch64
40624062
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
40634063
timeout_minutes: 300

.github/workflows/regression-reusable-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
--clickhouse ${{ env.clickhouse_path }}
165165
${{ env.REGRESSION_ARGS }}
166166
${{ env.args }} || EXITCODE=$?;
167-
.github/add_link_to_logs.sh
167+
.github/add_link_to_logs.sh;
168168
exit $EXITCODE
169169

170170
- name: 📊 Set Commit Status

.github/workflows/regression.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ jobs:
277277
build_sha: ${{ inputs.build_sha }}
278278
set_commit_status: true
279279
job_name: iceberg
280-
extra_args: --only ${{ matrix.PART == 1 && '"/iceberg/iceberg engine/rest catalog/*" "/iceberg/s3 table function/*" "/iceberg/icebergS3 table function/*" "/iceberg/iceberg cache"' || '"/iceberg/iceberg engine/glue catalog/*" "/iceberg/iceberg table engine/*"' }}
280+
extra_args: --only ${{ matrix.PART == 1 && '"/iceberg/iceberg engine/rest catalog/*" "/iceberg/s3 table function/*" "/iceberg/icebergS3 table function/*" "/iceberg/iceberg cache/*"' || '"/iceberg/iceberg engine/glue catalog/*" "/iceberg/iceberg table engine/*"' }}
281281
secrets: inherit
282282
LDAP:
283283
if: |
@@ -432,6 +432,34 @@ jobs:
432432
extra_args: --only ":/try*" ":/part ${{ matrix.PART }}/*"
433433
secrets: inherit
434434

435+
S3Export:
436+
if: |
437+
fromJson(inputs.workflow_config).custom_data.ci_regression_jobs[0] == null ||
438+
contains(fromJson(inputs.workflow_config).custom_data.ci_regression_jobs, 's3')
439+
strategy:
440+
fail-fast: false
441+
matrix:
442+
PART: [part, partition]
443+
uses: ./.github/workflows/regression-reusable-suite.yml
444+
with:
445+
ref: ${{ inputs.commit }}
446+
workflow_config: ${{ inputs.workflow_config }}
447+
suite_name: s3
448+
suite_executable: regression.py
449+
output_format: new-fails
450+
flags: --with-analyzer
451+
timeout_minutes: ${{ inputs.timeout_minutes }}
452+
runner_arch: ${{ inputs.arch }}
453+
runner_type: ${{ inputs.runner_type }}
454+
storage_path: /minio
455+
part: ${{ matrix.PART }}
456+
build_sha: ${{ inputs.build_sha }}
457+
set_commit_status: true
458+
job_name: s3_export
459+
regression_args: --storage minio
460+
extra_args: --only ":/try*" "minio/export tests/export ${{ matrix.PART }}/*"
461+
secrets: inherit
462+
435463
TieredStorage:
436464
if: |
437465
fromJson(inputs.workflow_config).custom_data.ci_regression_jobs[0] == null ||

ci/praktika/yaml_additional_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class AltinityWorkflowTemplates:
3636
echo "Workflow Run Report: [View Report]($REPORT_LINK)" >> $GITHUB_STEP_SUMMARY
3737
"""
3838
# Additional jobs
39-
REGRESSION_HASH = "bd9d71b4ccc80bb5b1a316b43b60f59c0c592898"
39+
REGRESSION_HASH = f"481dd0f61ec5b22430bfc4106ac30d9abfcf70b7"
4040
ALTINITY_JOBS = {
4141
"GrypeScan": r"""
4242
GrypeScanServer:

docker/server/Dockerfile.ubuntu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ ARG apt_archive="http://archive.ubuntu.com"
1515
# We do that in advance at the begining of Dockerfile before any packages will be
1616
# installed to prevent picking those uid / gid by some unrelated software.
1717
# The same uid / gid (101) is used both for alpine and ubuntu.
18+
# Update gpgv to resolve CVE-2025-68973
1819
RUN sed -i "s|http://archive.ubuntu.com|${apt_archive}|g" /etc/apt/sources.list \
1920
&& groupadd -r clickhouse --gid=101 \
2021
&& useradd -r -g clickhouse --uid=101 --home-dir=/var/lib/clickhouse --shell=/bin/bash clickhouse \
@@ -25,6 +26,7 @@ RUN sed -i "s|http://archive.ubuntu.com|${apt_archive}|g" /etc/apt/sources.list
2526
locales \
2627
tzdata \
2728
wget \
29+
gpgv \
2830
&& busybox --install -s \
2931
&& rm -rf /var/lib/apt/lists/* /var/cache/debconf /tmp/*
3032

src/Interpreters/InterpreterShowTablesQuery.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ BlockIO InterpreterShowTablesQuery::execute()
232232
}
233233
auto rewritten_query = getRewrittenQuery();
234234
String database = getContext()->resolveDatabase(query.getFrom());
235-
if (DatabaseCatalog::instance().isDatalakeCatalog(database))
235+
if (query.databases || DatabaseCatalog::instance().isDatalakeCatalog(database))
236236
{
237237
auto context_copy = Context::createCopy(getContext());
238-
/// HACK To always show them in explicit "SHOW TABLES" queries
238+
/// HACK To always show them in explicit "SHOW TABLES" and "SHOW DATABASES" queries
239239
context_copy->setSetting("show_data_lake_catalogs_in_system_tables", true);
240240
return executeQuery(rewritten_query, context_copy, QueryFlags{ .internal = true }).second;
241241
}

tests/integration/test_database_glue/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,8 @@ def test_system_tables(started_cluster):
617617
node.query(f"SELECT count() FROM {CATALOG_NAME}.`{namespace}.{table_name}`")
618618
)
619619

620+
assert CATALOG_NAME in node.query("SHOW DATABASES")
621+
assert table_name in node.query(f"SHOW TABLES FROM {CATALOG_NAME}")
620622
# system.tables
621623
assert int(node.query(f"SELECT count() FROM system.tables WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%' SETTINGS show_data_lake_catalogs_in_system_tables = true").strip()) == 4
622624
assert int(node.query(f"SELECT count() FROM system.tables WHERE database = '{CATALOG_NAME}' and table ilike '%{root_namespace}%'").strip()) == 4

0 commit comments

Comments
 (0)