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

ASF GitHub Bot commented on DRILL-4544:
---------------------------------------

GitHub user arina-ielchiieva opened a pull request:

    https://github.com/apache/drill/pull/448

    DRILL-4544: Improve error messages for REFRESH TABLE METADATA command

    1. Added error message when storage plugin or workspace does not exist
    2. Updated error message when refresh metadata is not supported
    3. Unit tests

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/arina-ielchiieva/drill DRILL-4544

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/448.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #448
    
----
commit 1d1edee8920563f7b5fadf760f99d96f6c68d432
Author: Arina Ielchiieva <[email protected]>
Date:   2016-03-28T10:55:56Z

    DRILL-4544: Improve error messages for REFRESH TABLE METADATA command
    1. Added error message when storage plugin or workspace does not exist
    2. Updated error message when refresh metadata is not supported
    3. Unit tests

----


> Improve error messages for REFRESH TABLE METADATA command
> ---------------------------------------------------------
>
>                 Key: DRILL-4544
>                 URL: https://issues.apache.org/jira/browse/DRILL-4544
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Metadata
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> Improve the error messages thrown by REFRESH TABLE METADATA command:
> In the first case below, the error is maprfs.abc doesn't exist. It should 
> throw a Object not found or workspace not found. It is currently throwing a 
> non helpful message;
> 0: jdbc:drill:> refresh table metadata maprfs.abc.`my_table`;
> --------------------+
> ok    summary
> --------------------+
> false Error: null
> --------------------+
> 1 row selected (0.355 seconds)
> In the second case below, it says refresh table metadata is supported only 
> for single-directory based Parquet tables. But the command works for nested 
> multi-directory Parquet files.
> 0: jdbc:drill:> refresh table metadata maprfs.vnaranammalpuram.`rfm_sales_vw`;
> -----------+
> ok    summary
> -----------+
> false Table rfm_sales_vw does not support metadata refresh. Support is 
> currently limited to single-directory-based Parquet tables.
> -----------+
> 1 row selected (0.418 seconds)
> 0: jdbc:drill:>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to