MCPcopy Create free account
hub / github.com/bytedance/bolt / SetUp

Method SetUp

bolt/exec/tests/TableWriteTest.cpp:3574–3591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3572class TableWriterArbitrationTest : public HiveConnectorTestBase {
3573 protected:
3574 void SetUp() override {
3575 HiveConnectorTestBase::SetUp();
3576 filesystems::registerLocalFileSystem();
3577 if (!isRegisteredVectorSerde()) {
3578 this->registerVectorSerde();
3579 }
3580
3581 rowType_ = ROW(
3582 {{"c0", INTEGER()},
3583 {"c1", INTEGER()},
3584 {"c2", VARCHAR()},
3585 {"c3", VARCHAR()}});
3586 fuzzerOpts_.vectorSize = 1024;
3587 fuzzerOpts_.nullRatio = 0;
3588 fuzzerOpts_.stringVariableLength = false;
3589 fuzzerOpts_.stringLength = 1024;
3590 fuzzerOpts_.allowLazyVector = false;
3591 }
3592
3593 folly::Random::DefaultGenerator rng_;
3594 RowTypePtr rowType_;

Callers

nothing calls this directly

Calls 4

registerLocalFileSystemFunction · 0.85
isRegisteredVectorSerdeFunction · 0.85
ROWFunction · 0.85
registerVectorSerdeMethod · 0.45

Tested by

no test coverage detected