I am passing a new variable:
auto writer_ = std::make_shared<rebuilder::ParquetWriter>(output_filename, 10, 64, rebuilder::Compression::ZSTD);
into an existing function. In particular I am passing it into:
cbbo::BBOGenerator generator(files, outfilepath.string(), workdir, sample_interval_ns, dual_listed_only, allow_zero_sizes, writer_);
Now, in my unit test, I need to update this function call to account for passing in this new variable; this is the call in my unit test:
cbbo::BBOGenerator generator(input_files, "/tmp/BBO.parquet", "/tmp", 1000000, false, false);
I am struggling to create an instance of writer_
. Any suggestions on how I can create this?
Apologies if this is a silly question, I am a Python developer, and just starting out in cpp.