Daniel Vanko has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23514


Change subject: IMPALA-12209: Always include format-version in DESCRIBE 
FORMATTED and SHOW CREATE TABLE for Iceberg tables
......................................................................

IMPALA-12209: Always include format-version in DESCRIBE FORMATTED and SHOW 
CREATE TABLE for Iceberg tables

HiveCatalog does not include format-version for Iceberg tables in the
table's parameters, therefore the output of SHOW CREATE TABLE may not
replicate the original table.
This patch makes sure to add it to both the SHOW CREATE TABLE and
DESCRIBE FORMATTED/EXTENDED output.

Testing:
 * modified show-create-table.test for Iceberg tables
 * manually checked DESCRIBE FORMATTED output

Change-Id: I991edf408b24fa73e8a8abe64ac24929aeb8e2f8
---
M fe/src/main/java/org/apache/impala/analysis/ToSqlUtils.java
M fe/src/main/java/org/apache/impala/catalog/IcebergTable.java
M fe/src/main/java/org/apache/impala/service/DescribeResultFactory.java
M testdata/workloads/functional-query/queries/QueryTest/show-create-table.test
4 files changed, 106 insertions(+), 33 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/14/23514/1
--
To view, visit http://gerrit.cloudera.org:8080/23514
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I991edf408b24fa73e8a8abe64ac24929aeb8e2f8
Gerrit-Change-Number: 23514
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Vanko <[email protected]>

Reply via email to