Skip to content

Commit bc70c46

Browse files
committed
test: configure bucket key for append-only table
1 parent 5606630 commit bc70c46

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
@@ -3537,10 +3537,12 @@ TEST(SystemTableReadInteTest, TestReadGlobalTables) {
35373537
/*ignore_if_exists=*/false));
35383538
ArrowSchemaRelease(&schema);
35393539

3540+
std::map<std::string, std::string> no_pk_options = options;
3541+
no_pk_options[Options::BUCKET_KEY] = "pk";
35403542
::ArrowSchema no_pk_schema;
35413543
ASSERT_TRUE(arrow::ExportSchema(*typed_schema, &no_pk_schema).ok());
35423544
ASSERT_OK(catalog->CreateTable(Identifier("test_db", "test_no_pk_tbl"), &no_pk_schema,
3543-
/*partition_keys=*/{}, /*primary_keys=*/{}, options,
3545+
/*partition_keys=*/{}, /*primary_keys=*/{}, no_pk_options,
35443546
/*ignore_if_exists=*/false));
35453547
ArrowSchemaRelease(&no_pk_schema);
35463548

0 commit comments

Comments
 (0)