Skip to content

Commit 255ecad

Browse files
committed
[test](regression) Initialize Paimon metadata test namespace
### What problem does this PR solve? Issue Number: close apache#66816 Related PR: apache#67207 Problem Summary: The Paimon file metadata regression test created its cross-file table in paimon.db1 without ensuring that the namespace existed. External Regression failed during Spark table setup with SCHEMA_NOT_FOUND before exercising the metadata-column behavior. Create the namespace idempotently in the existing setup block. ### Release note None ### Check List (For Author) - Test: Regression test - External Regression log reproduced the missing namespace failure; git diff --check passed. The external Paimon environment was not available locally. - Behavior changed: No - Does this need documentation: No
1 parent 5b4f7b6 commit 255ecad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎regression-test/suites/external_table_p0/paimon/test_paimon_file_metadata_columns.groovy‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ suite("test_paimon_file_metadata_columns", "p0,external") {
7676
// the first row in each file, so their reported positions must remain physical 1/2 rather
7777
// than being renumbered after filtering or scanner-range splitting.
7878
spark_paimon_multi """
79+
create database if not exists paimon.db1;
7980
drop table if exists paimon.db1.${crossFileTable};
8081
create table paimon.db1.${crossFileTable} (id int, payload string)
8182
using paimon tblproperties ('bucket'='1', 'file.format'='parquet');

0 commit comments

Comments
 (0)