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

Method flatten

tests/comparison/query_flattener.py:127–135  ·  view source on GitHub ↗

This function is idempotent.

(self, query, inner=False)

Source from the content-addressed store, hash-verified

125 self.flatten_join_clause(join_clause, query)
126
127 def flatten(self, query, inner=False):
128 '''This function is idempotent.'''
129 if not inner:
130 self.clear_state()
131 if not getattr(query, 'flattened', False):
132 self.flatten_from_clause(query.from_clause, query)
133 for nested_query in query.nested_queries:
134 self.flatten(nested_query, inner=True)
135 query.flattened = True
136
137 def convert_correlated_collection_to_inline_view(self, original_collection):
138 '''Converts the given collection to an inline view. The collection must be correlated,

Callers 15

flatten_join_clauseMethod · 0.95
flatten_from_clauseMethod · 0.95
greedyFASFunction · 0.45
twoLayerCrossCountFunction · 0.45
sortSubgraphFunction · 0.45
expandSubgraphsFunction · 0.45
sortFunction · 0.45
DataTableFunction · 0.45
CFunction · 0.45
datatables.min.jsFile · 0.45
DataTableFunction · 0.45

Calls 2

clear_stateMethod · 0.95
flatten_from_clauseMethod · 0.95

Tested by

no test coverage detected