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

Method Table

fe/src/main/java/org/apache/impala/catalog/Table.java:227–240  ·  view source on GitHub ↗
(org.apache.hadoop.hive.metastore.api.Table msTable, Db db,
      String name, String owner)

Source from the content-addressed store, hash-verified

225 protected double testMetadataScale_ = -1.0;
226
227 protected Table(org.apache.hadoop.hive.metastore.api.Table msTable, Db db,
228 String name, String owner) {
229 msTable_ = msTable;
230 db_ = db;
231 name_ = name.toLowerCase();
232 full_name_ = (db_ != null ? db_.getName() + "." : "") + name_;
233 owner_ = owner;
234 tableStats_ = new TTableStats(-1);
235 tableStats_.setTotal_file_bytes(-1);
236 if (db != null && RuntimeEnv.INSTANCE.hasSideloadStats(db.getName(), name)) {
237 testStats_ = RuntimeEnv.INSTANCE.getSideloadStats(db.getName(), name);
238 }
239 initMetrics();
240 }
241
242 // TODO: Get rid of get and createEventId
243 // once we implement the logic of setting

Callers

nothing calls this directly

Calls 4

initMetricsMethod · 0.95
hasSideloadStatsMethod · 0.80
getSideloadStatsMethod · 0.80
getNameMethod · 0.65

Tested by

no test coverage detected