drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5952) Implement "CREATE TABLE IF NOT EXISTS"
Date Sat, 11 Nov 2017 00:07:00 GMT

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

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

GitHub user prasadns14 opened a pull request:

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

    DRILL-5952: Implement "CREATE TABLE IF NOT EXISTS"

    1) Added <IF> <NOT> <EXISTS> support for CREATE TABLE
    2) Added unit tests for the same
    
    @paul-rogers please review

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

    $ git pull https://github.com/prasadns14/drill DRILL-5951

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

    https://github.com/apache/drill/pull/1033.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 #1033
    
----
commit 9dbeeeb2ae2ac0d4626bbe175095fc85f5068680
Author: Prasad Nagaraj Subramanya <prasadns14@gmail.com>
Date:   2017-11-10T23:52:31Z

    DRILL-5952: Implement "CREATE TABLE IF NOT EXISTS"

----


> Implement "CREATE TABLE IF NOT EXISTS"
> --------------------------------------
>
>                 Key: DRILL-5952
>                 URL: https://issues.apache.org/jira/browse/DRILL-5952
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: SQL Parser
>    Affects Versions: 1.11.0
>            Reporter: Prasad Nagaraj Subramanya
>            Assignee: Prasad Nagaraj Subramanya
>             Fix For: 1.12.0
>
>
> Currently, if a table/view with the same name exists CREATE TABLE fails with VALIDATION
ERROR
> Having "IF NOT EXISTS" support for CREATE TABLE will ensure that query succeeds 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message