Skip to content

Commit fc812bb

Browse files
committed
test: configure bucket key for append-only table
1 parent 0402ff6 commit fc812bb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/inte/read_inte_test.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3901,10 +3901,12 @@ TEST(SystemTableReadInteTest, TestReadGlobalTables) {
39013901
/*ignore_if_exists=*/false));
39023902
ArrowSchemaRelease(&schema);
39033903

3904+
std::map<std::string, std::string> no_pk_options = options;
3905+
no_pk_options[Options::BUCKET_KEY] = "pk";
39043906
::ArrowSchema no_pk_schema;
39053907
ASSERT_TRUE(arrow::ExportSchema(*typed_schema, &no_pk_schema).ok());
39063908
ASSERT_OK(catalog->CreateTable(Identifier("test_db", "test_no_pk_tbl"), &no_pk_schema,
3907-
/*partition_keys=*/{}, /*primary_keys=*/{}, options,
3909+
/*partition_keys=*/{}, /*primary_keys=*/{}, no_pk_options,
39083910
/*ignore_if_exists=*/false));
39093911
ArrowSchemaRelease(&no_pk_schema);
39103912

0 commit comments

Comments
 (0)