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

Method _write_with_clause

tests/comparison/model_translator.py:171–173  ·  view source on GitHub ↗
(self, with_clause)

Source from the content-addressed store, hash-verified

169 return 'CREATE VIEW %s AS %s' % (name, self.write_query(query, pretty=pretty))
170
171 def _write_with_clause(self, with_clause):
172 return 'WITH ' + ',\n'.join('%s AS (%s)' % (view.identifier, self._write(view.query))
173 for view in with_clause.with_clause_inline_views)
174
175 def _write_select_clause(self, select_clause):
176 if hasattr(select_clause, 'star_prefix'):

Callers

nothing calls this directly

Calls 2

_writeMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected