We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ddba62 commit d9359fbCopy full SHA for d9359fb
src/iceberg/expression/literal.cc
@@ -253,8 +253,7 @@ Result<Literal> LiteralCaster::CastFromFixed(
253
const Literal& literal, const std::shared_ptr<PrimitiveType>& target_type) {
254
switch (target_type->type_id()) {
255
case TypeId::kBinary:
256
- return Literal::Binary(
257
- std::get<std::vector<uint8_t>>(literal.value_)); // 直接拷贝+move
+ return Literal::Binary(std::get<std::vector<uint8_t>>(literal.value_));
258
default:
259
return NotSupported("Cast from Fixed to {} is not supported",
260
target_type->ToString());
0 commit comments