phoenix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Deragon (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-2787) support IF EXISTS for ALTER TABLE SET options
Date Tue, 12 Feb 2019 16:08:00 GMT


Hans Deragon commented on PHOENIX-2787:

[~yanxinyi], I believe that the code change should be simple.  The algorithm should be:


    EXEC "ALTER TABLE <xyz> <command>"  # As if "IF EXISTS" was never typed.


    NOP # Do nothing.  Do not generate any error if the table is missing.

That is what I am expecting.

> support IF EXISTS for ALTER TABLE SET options
> ---------------------------------------------
>                 Key: PHOENIX-2787
>                 URL:
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.8.0
>            Reporter: Vincent Poon
>            Priority: Trivial
> A nice-to-have improvement to the grammar:
> ALTER TABLE my_table IF EXISTS SET options
> currently the 'IF EXISTS' only works for dropping/adding a column

This message was sent by Atlassian JIRA

View raw message