|
|
@ -307,12 +307,14 @@ class TableConstructor: public Constructor { |
|
|
|
std::vector<std::unique_ptr<IntTblPropCollectorFactory>> |
|
|
|
std::vector<std::unique_ptr<IntTblPropCollectorFactory>> |
|
|
|
int_tbl_prop_collector_factories; |
|
|
|
int_tbl_prop_collector_factories; |
|
|
|
std::string column_family_name; |
|
|
|
std::string column_family_name; |
|
|
|
|
|
|
|
int unknown_level = -1; |
|
|
|
builder.reset(ioptions.table_factory->NewTableBuilder( |
|
|
|
builder.reset(ioptions.table_factory->NewTableBuilder( |
|
|
|
TableBuilderOptions(ioptions, internal_comparator, |
|
|
|
TableBuilderOptions(ioptions, internal_comparator, |
|
|
|
&int_tbl_prop_collector_factories, |
|
|
|
&int_tbl_prop_collector_factories, |
|
|
|
options.compression, CompressionOptions(), |
|
|
|
options.compression, CompressionOptions(), |
|
|
|
nullptr /* compression_dict */, |
|
|
|
nullptr /* compression_dict */, |
|
|
|
false /* skip_filters */, column_family_name), |
|
|
|
false /* skip_filters */, column_family_name, |
|
|
|
|
|
|
|
unknown_level), |
|
|
|
TablePropertiesCollectorFactory::Context::kUnknownColumnFamily, |
|
|
|
TablePropertiesCollectorFactory::Context::kUnknownColumnFamily, |
|
|
|
file_writer_.get())); |
|
|
|
file_writer_.get())); |
|
|
|
|
|
|
|
|
|
|
@ -2210,11 +2212,13 @@ TEST_F(PlainTableTest, BasicPlainTableProperties) { |
|
|
|
std::vector<std::unique_ptr<IntTblPropCollectorFactory>> |
|
|
|
std::vector<std::unique_ptr<IntTblPropCollectorFactory>> |
|
|
|
int_tbl_prop_collector_factories; |
|
|
|
int_tbl_prop_collector_factories; |
|
|
|
std::string column_family_name; |
|
|
|
std::string column_family_name; |
|
|
|
|
|
|
|
int unknown_level = -1; |
|
|
|
std::unique_ptr<TableBuilder> builder(factory.NewTableBuilder( |
|
|
|
std::unique_ptr<TableBuilder> builder(factory.NewTableBuilder( |
|
|
|
TableBuilderOptions(ioptions, ikc, &int_tbl_prop_collector_factories, |
|
|
|
TableBuilderOptions(ioptions, ikc, &int_tbl_prop_collector_factories, |
|
|
|
kNoCompression, CompressionOptions(), |
|
|
|
kNoCompression, CompressionOptions(), |
|
|
|
nullptr /* compression_dict */, |
|
|
|
nullptr /* compression_dict */, |
|
|
|
false /* skip_filters */, column_family_name), |
|
|
|
false /* skip_filters */, column_family_name, |
|
|
|
|
|
|
|
unknown_level), |
|
|
|
TablePropertiesCollectorFactory::Context::kUnknownColumnFamily, |
|
|
|
TablePropertiesCollectorFactory::Context::kUnknownColumnFamily, |
|
|
|
file_writer.get())); |
|
|
|
file_writer.get())); |
|
|
|
|
|
|
|
|
|
|
|