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

Method PartitionExists

be/src/runtime/dml-exec-state.h:71–73  ·  view source on GitHub ↗

Returns true if partition with 'name' already exists.

Source from the content-addressed store, hash-verified

69
70 /// Returns true if partition with 'name' already exists.
71 bool PartitionExists(const std::string& name) {
72 return per_partition_status_.find(name) != per_partition_status_.end();
73 }
74
75 /// Merge given values into stats for partition with name 'partition_name'.
76 /// Ignores 'insert_stats' if nullptr.

Callers 1

SetCurrentPartitionMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected