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

Function IsIdentifierChar

be/src/service/query-profile-redaction.cc:207–209  ·  view source on GitHub ↗

Returns true if the character is part of a SQL identifier token.

Source from the content-addressed store, hash-verified

205
206// Returns true if the character is part of a SQL identifier token.
207static inline bool IsIdentifierChar(char c) {
208 return std::isalnum(static_cast<unsigned char>(c)) || c == '_';
209}
210
211// Returns true if text[idx] is the escaped character in a JSON escape sequence.
212// Example: for "\\n", idx should point to 'n'.

Callers 1

ApplyAliasMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected