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

Function AdjustYearToLength

be/src/runtime/datetime-parser-common.cc:412–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410}
411
412int AdjustYearToLength(int year, int adjust_factor) {
413 if (adjust_factor < 10000) {
414 return year % adjust_factor;
415 }
416 return year;
417}
418
419}
420}

Callers 2

FormatMethod · 0.85
FormatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected