Hello Quanlong Huang, Riza Suminto, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23536

to look at the new patch set (#2).

Change subject: IMPALA-13066: Extend SHOW CREATE TABLE to include stats and 
partitions
......................................................................

IMPALA-13066: Extend SHOW CREATE TABLE to include stats and partitions

- Add a new "WITH STATS" option to SHOW CREATE TABLE
- When WITH STATS is specified:
  * Emit ALTER … ADD PARTITION … ; clauses for existing partitions
  * Emit ALTER … SET TBLPROPERTIES for table-level stats (numRows, 
STATS_GENERATED_VIA_STATS_TASK, etc.)
  * Emit ALTER … SET COLUMN STATS for each column (numDVs, numNulls, maxSize, 
avgSize)
- Update parser, analyzer, and frontend plan to handle the new option
- Add tests to verify correct generation of partition/stat statements
- Ensure backward compatibility: default behavior of SHOW CREATE TABLE remains 
unchanged

Change-Id: I87950ae9d9bb73cb2a435cf5bcad076df1570dc2
---
M be/src/service/client-request-state.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M common/thrift/Frontend.thrift
M docs/topics/impala_show.xml
M fe/src/main/cup/sql-parser.cup
M fe/src/main/java/org/apache/impala/analysis/ShowCreateTableStmt.java
M fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
M tests/metadata/test_show_create_table.py
11 files changed, 438 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/36/23536/2
--
To view, visit http://gerrit.cloudera.org:8080/23536
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I87950ae9d9bb73cb2a435cf5bcad076df1570dc2
Gerrit-Change-Number: 23536
Gerrit-PatchSet: 2
Gerrit-Owner: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>

Reply via email to