MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / tryInferDateTimeFromString

Function tryInferDateTimeFromString

src/Formats/SchemaInferenceUtils.cpp:1633–1638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1631}
1632
1633bool tryInferDateTimeFromString(std::string_view field, time_t & date_time, const FormatSettings & settings, const DateLUTImpl & time_zone, const DateLUTImpl & utc_time_zone)
1634{
1635 if (fastCheckForInvalidDateTimeOrDateTime64(field))
1636 return false;
1637 return tryInferDateTime(field, date_time, settings, time_zone, utc_time_zone);
1638}
1639
1640bool tryInferDateTime64FromString(std::string_view field, DateTime64 & date_time, const FormatSettings & settings, const DateLUTImpl & time_zone, const DateLUTImpl & utc_time_zone)
1641{

Callers 2

insertIntoDynamicPathMethod · 0.85
insertIntoSharedDataMethod · 0.85

Calls 2

tryInferDateTimeFunction · 0.85

Tested by

no test coverage detected