impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathy Sun (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] Infomation schema (preview for frontend)
Date Tue, 23 Aug 2016 19:09:24 GMT
Kathy Sun has uploaded a new patch set (#8).

Change subject: Infomation_schema (preview for frontend)
......................................................................

Infomation_schema (preview for frontend)

Since this is just a preview and not the final patch, request reviewers
to please focus their comments more on the design aspect.

This is to expose metadata (current status of impala, e.g impala-metrics) into virtual
table, so that users could query them via sql.

You can run impala-shell.sh and type query like:
select * from information_schema.scheduler;
select name, value, description from information_schema.scheduler;

Change-Id: I7adbeb45220c468e43b424d70c30b952f6cec2cd
---
M be/src/exec/CMakeLists.txt
M be/src/exec/exec-node.cc
A be/src/exec/info-schema-scan-node.cc
A be/src/exec/info-schema-scan-node.h
M be/src/runtime/coordinator.cc
M be/src/runtime/descriptors.cc
M be/src/runtime/descriptors.h
M be/src/scheduling/simple-scheduler.cc
M common/thrift/CatalogObjects.thrift
M common/thrift/Descriptors.thrift
M common/thrift/PlanNodes.thrift
M fe/src/main/java/com/cloudera/impala/analysis/AnalysisContext.java
M fe/src/main/java/com/cloudera/impala/analysis/Analyzer.java
M fe/src/main/java/com/cloudera/impala/analysis/DescriptorTable.java
M fe/src/main/java/com/cloudera/impala/analysis/TupleDescriptor.java
M fe/src/main/java/com/cloudera/impala/catalog/Catalog.java
A fe/src/main/java/com/cloudera/impala/catalog/InformationSchemaDb.java
A fe/src/main/java/com/cloudera/impala/catalog/InformationSchemaTable.java
A fe/src/main/java/com/cloudera/impala/planner/InfoSchemaScanNode.java
M fe/src/main/java/com/cloudera/impala/planner/SingleNodePlanner.java
M fe/src/main/java/com/cloudera/impala/service/Frontend.java
M fe/src/test/java/com/cloudera/impala/analysis/AnalyzeStmtsTest.java
M fe/src/test/java/com/cloudera/impala/planner/PlannerTest.java
A testdata/workloads/functional-planner/queries/PlannerTest/info-schema.test
24 files changed, 709 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/63/3863/8
-- 
To view, visit http://gerrit.cloudera.org:8080/3863
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7adbeb45220c468e43b424d70c30b952f6cec2cd
Gerrit-PatchSet: 8
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Kathy Sun <kathy.sun@cloudera.com>
Gerrit-Reviewer: Kathy Sun <kathy.sun@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <tarmstrong@cloudera.com>

Mime
View raw message