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

Method _write_column

tests/comparison/model_translator.py:524–529  ·  view source on GitHub ↗
(self, col)

Source from the content-addressed store, hash-verified

522 self.operator_funcs['IsNotDistinctFromOp'] = '({0}) <=> ({1})'
523
524 def _write_column(self, col):
525 result = super(ImpalaSqlWriter, self)._write_column(col)
526 if col.exact_type == Char:
527 # TRIM is a temporary workaround for IMPALA-1652
528 result = 'TRIM(%s)' % result
529 return result
530
531 def _write_insert_clause(self, insert_clause):
532 sql = super(ImpalaSqlWriter, self)._write_insert_clause(insert_clause)

Callers

nothing calls this directly

Calls 1

_write_columnMethod · 0.45

Tested by

no test coverage detected