hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <>
Subject [jira] Commented: (HIVE-1558) introducing the "dual" table
Date Wed, 18 Aug 2010 19:50:16 GMT


John Sichi commented on HIVE-1558:

SQL standard has the VALUES clause, so you can do

INSERT INTO t VALUES(3, 'hi');  -- inserts one row

INSERT INTO t VALUES (3, 'hi'), (4, 'bye');  -- inserts two rows


SELECT * FROM (VALUES(3, 'hi'), (4, 'bye'))  -- inline table results

If we add dual, it would also be nice to support at least the standard INSERT syntax since
that has been around forever.

> introducing the "dual" table
> ----------------------------
>                 Key: HIVE-1558
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Ning Zhang
> The "dual" table in MySQL and Oracle is very convenient in testing UDFs or constructing
rows without reading any other tables. 
> If dual is the only data source we could leverage the local mode execution. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message