MCPcopy Index your code
hub / github.com/apache/orc / GetDate

Function GetDate

tools/src/CSVFileImport.cc:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48static const char* GetDate(void) {
49 static char buf[200];
50 time_t t = time(nullptr);
51 struct tm* p = localtime(&t);
52 strftime(buf, sizeof(buf), "[%Y-%m-%d %H:%M:%S]", p);
53 return buf;
54}
55
56void fillLongValues(const std::vector<std::string>& data, orc::ColumnVectorBatch* batch,
57 uint64_t numValues, uint64_t colIndex) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected