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

Method setEnableOptimizedCast

bolt/expression/tests/CastExprTest.cpp:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 config[core::QueryConfig::kEnableFlinkCompatible] = std::to_string(value);
91 queryCtx_->testingOverrideConfigUnsafe(std::move(config));
92 }
93
94 void setCastStringToFloatingPointTrimControlChars(bool value) {
95 auto config = queryCtx_->queryConfig().rawConfigsCopy();
96 config[core::QueryConfig::kCastStringToFloatingPointTrimControlChars] =
97 std::to_string(value);
98 queryCtx_->testingOverrideConfigUnsafe(std::move(config));
99 }

Callers

nothing calls this directly

Calls 3

to_stringFunction · 0.50
rawConfigsCopyMethod · 0.45

Tested by

no test coverage detected