hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damien Carol (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7646) Modify parser to support new grammar for Insert,Update,Delete
Date Tue, 12 Aug 2014 13:13:12 GMT

     [ https://issues.apache.org/jira/browse/HIVE-7646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Damien Carol updated HIVE-7646:
-------------------------------

    Description: 
need parser to recognize constructs such as :
{code:sql}
INSERT INTO Cust (Customer_Number, Balance, Address)
VALUES (101, 50.00, '123 Main Street'), (102, 75.00, '123 Pine Ave');
{code}
{code:sql}
DELETE FROM Cust WHERE Balance > 5.0
{code}
{code:sql}
UPDATE Cust
SET column1=value1,column2=value2,...
WHERE some_column=some_value
{code}

  was:
need parser to recognize constructs such as
INSERT INTO Cust (Customer_Number, Balance, Address)
VALUES (101, 50.00, '123 Main Street'), (102, 75.00, '123 Pine Ave');

DELETE FROM Cust WHERE Balance > 5.0;

UPDATE Cust
SET column1=value1,column2=value2,...
WHERE some_column=some_value;


> Modify parser to support new grammar for Insert,Update,Delete
> -------------------------------------------------------------
>
>                 Key: HIVE-7646
>                 URL: https://issues.apache.org/jira/browse/HIVE-7646
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Query Processor
>    Affects Versions: 0.13.1
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-7646.patch
>
>
> need parser to recognize constructs such as :
> {code:sql}
> INSERT INTO Cust (Customer_Number, Balance, Address)
> VALUES (101, 50.00, '123 Main Street'), (102, 75.00, '123 Pine Ave');
> {code}
> {code:sql}
> DELETE FROM Cust WHERE Balance > 5.0
> {code}
> {code:sql}
> UPDATE Cust
> SET column1=value1,column2=value2,...
> WHERE some_column=some_value
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message