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

Method Write

be/src/runtime/io/local-file-system.cc:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124Status LocalFileSystem::Write(int file_desc, const WriteRange* range) {
125 DCHECK(range != nullptr);
126 int64_t bytes_written = write(file_desc, range->data(), range->len());
127 if (bytes_written < range->len()) {
128 return ErrorConverter::GetErrorStatusFromErrno(
129 "write()", range->file(), errno, {{"range_length", SimpleItoa(range->len())}});
130 }
131 return Status::OK();
132}
133}
134}

Callers

nothing calls this directly

Calls 6

writeFunction · 0.85
SimpleItoaFunction · 0.85
OKFunction · 0.85
dataMethod · 0.45
lenMethod · 0.45
fileMethod · 0.45

Tested by

no test coverage detected