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

Method _write_struct_column

tests/comparison/model_translator.py:192–197  ·  view source on GitHub ↗
(self, struct_col)

Source from the content-addressed store, hash-verified

190 return self._write(select_item.val_expr)
191
192 def _write_struct_column(self, struct_col):
193 if isinstance(struct_col.owner, StructColumn) or \
194 (isinstance(struct_col.owner, CollectionColumn) and not struct_col.owner.alias):
195 return '%s.%s' % (self._write(struct_col.owner), struct_col.name)
196 else:
197 return '%s.%s' % (struct_col.owner.identifier, struct_col.name)
198
199 def _write_collection_column(self, collection_col):
200 if isinstance(collection_col.owner, (StructColumn, CollectionColumn)) and \

Callers

nothing calls this directly

Calls 1

_writeMethod · 0.95

Tested by

no test coverage detected