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

Method uuidManyWithSeed

bolt/functions/sparksql/tests/StringTest.cpp:278–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276 }
277
278 VectorPtr
279 uuidManyWithSeed(int64_t seed, int32_t partitionIndex, int32_t batchSize) {
280 setSparkPartitionId(partitionIndex);
281 auto exprSet = compileExpression(fmt::format("uuid({})", seed), ROW({}));
282 return evaluate(*exprSet, makeRowVector(ROW({}), batchSize));
283 }
284
285 std::string generateRandomString(size_t length) {
286 const std::string chars =

Callers

nothing calls this directly

Calls 3

compileExpressionFunction · 0.85
ROWFunction · 0.85
evaluateFunction · 0.85

Tested by

no test coverage detected