

def quote_identifier(name, quotechar='`', force=False):
    if (force or name.count(' ') or (name in identifiers.impala_identifiers)):
        return '{0}{1}{0}'.format(quotechar, name)
    else:
        return name

dataset/ETHPy150Open cloudera/ibis/ibis/impala/compiler.py quote_identifier/original