[ 
https://issues.apache.org/jira/browse/IMPALA-9487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17647725#comment-17647725
 ] 

ASF subversion and git services commented on IMPALA-9487:
---------------------------------------------------------

Commit 8b83726b8e5577ffc6d423caf3a092ce37dd5778 in impala's branch 
refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8b83726b8 ]

IMPALA-9487: Add erasure coding policy to SHOW, DESCRIBE

Adds erasure coding policy to introspection commands SHOW FILES, SHOW
PARTITIONS, SHOW TABLE STATS, and DESCRIBE EXTENDED.

Remove `throws IOException` for methods that don't throw. Removes null
check for getSd because getStorageDescriptorInfo - which is called right
after getTableMetaDataInformation - uses it without checking for null.

Adds '$ERASURECODE_POLICY' for runtime test substitution. The test suite
replaces this with the current erasure code policy - from
HDFS_ERASURECODE_POLICY - or NONE to match expected output.

Testing:
- ran backend, end-to-end, and custom cluster tests with erasure coding
- ran backend, end-to-end, and custom cluster tests with exhaustive
  strategy

Change-Id: Idd95f2d18b3980581788c92993b6d2f53504b5e0
Reviewed-on: http://gerrit.cloudera.org:8080/19268
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Michael Smith <[email protected]>


> SHOW and DESCRIBE statements should display EC policies
> -------------------------------------------------------
>
>                 Key: IMPALA-9487
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9487
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Frontend
>            Reporter: Sahil Takiar
>            Assignee: Michael Smith
>            Priority: Major
>              Labels: observability
>             Fix For: Impala 4.3.0
>
>
> Since EC policies can be set per-file, the {{show files}} command should 
> display if a file is an EC file, and what the EC policy is.
> EC policies can be set on a table level directory, so it would be useful if 
> 'describe extended [table-name]' indicated if the table had an EC policy set 
> or not.
> For partitioned tables, {{show partitions}} should list out the EC policy of 
> each partition directory (we already do something similar for HDFS cacheing).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to