Skip to content

Commit

Permalink
merge to fbc08a22bafa643aa9e0d7eb5cb90248ea47bbf8 (#226)
Browse files Browse the repository at this point in the history
removed unused logs when datetime format is error
  • Loading branch information
morningman committed Aug 24, 2018
1 parent f3a6f23 commit 15a3862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/exprs/timestamp_functions.cpp
Expand Up @@ -138,8 +138,8 @@ bool TimestampFunctions::check_format(const StringVal& format, DateTimeValue& t)

void TimestampFunctions::report_bad_format(const StringVal* format) {
std::string format_str((char *)format->ptr, format->len);
LOG(WARNING) << "Bad date/time conversion format: " << format_str
<< " Format must be: 'yyyy-MM-dd[ HH:mm:ss]'";
// LOG(WARNING) << "Bad date/time conversion format: " << format_str
// << " Format must be: 'yyyy-MM-dd[ HH:mm:ss]'";
}

IntVal TimestampFunctions::year(
Expand Down

0 comments on commit 15a3862

Please sign in to comment.