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

Method ProcessSeparators

be/src/runtime/datetime-iso-sql-format-tokenizer.cc:123–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void IsoSqlFormatTokenizer::ProcessSeparators(const char** current_pos) {
124 DCHECK(current_pos != nullptr && *current_pos != nullptr);
125 const char* str_begin = dt_ctx_->fmt;
126 const char* str_end = dt_ctx_->fmt + dt_ctx_->fmt_len;
127 while (*current_pos < str_end && IsSeparator(current_pos, str_end)) {
128 dt_ctx_->toks.push_back(DateTimeFormatToken(SEPARATOR, *current_pos - str_begin, 1,
129 *current_pos));
130 ++(*current_pos);
131 }
132}
133
134FormatTokenizationResult IsoSqlFormatTokenizer::ProcessNextToken(
135 const char** current_pos) {

Callers

nothing calls this directly

Calls 2

DateTimeFormatTokenClass · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected