MCPcopy Create free account
hub / github.com/apache/impala / GetDate

Method GetDate

be/src/codegen/codegen-anyval.cc:548–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548llvm::Value* CodegenAnyVal::GetDate() {
549 // Get the high bytes of the first value.
550 DCHECK_EQ(type_.type, TYPE_TIMESTAMP);
551 llvm::Value* v = builder_->CreateExtractValue(value_, 0);
552 return GetHighBits(32, v);
553}
554
555void CodegenAnyVal::SetTimeOfDay(llvm::Value* time_of_day) {
556 // Set the second i64 value to 'time_of_day'.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected