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

Method SetDate

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

Source from the content-addressed store, hash-verified

559}
560
561void CodegenAnyVal::SetDate(llvm::Value* date) {
562 // Set the high bytes of the first value to 'date'.
563 DCHECK_EQ(type_.type, TYPE_TIMESTAMP);
564 llvm::Value* v = builder_->CreateExtractValue(value_, 0);
565 v = SetHighBits(32, date, v);
566 value_ = builder_->CreateInsertValue(value_, v, 0, name_);
567}
568
569llvm::Value* CodegenAnyVal::ConvertToCanonicalForm(LlvmCodeGen* codegen,
570 LlvmBuilder* builder, const ColumnType& type, llvm::Value* val) {

Callers 4

WriteKuduValueFunction · 0.80
CodegenLoadAnyValMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected