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

Method _write_inline_view

tests/comparison/model_translator.py:234–237  ·  view source on GitHub ↗
(self, inline_view)

Source from the content-addressed store, hash-verified

232 return table.name
233
234 def _write_inline_view(self, inline_view):
235 if not inline_view.identifier:
236 raise Exception('An inline view requires an identifier')
237 return '(\n%s\n) %s' % (self._write(inline_view.query), inline_view.identifier)
238
239 def _write_with_clause_inline_view(self, with_clause_inline_view):
240 if not with_clause_inline_view.with_clause_alias:

Callers

nothing calls this directly

Calls 1

_writeMethod · 0.95

Tested by

no test coverage detected