Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 24794 invoked from network); 18 Aug 2010 19:50:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Aug 2010 19:50:56 -0000 Received: (qmail 35835 invoked by uid 500); 18 Aug 2010 19:50:56 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 35790 invoked by uid 500); 18 Aug 2010 19:50:55 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 35782 invoked by uid 99); 18 Aug 2010 19:50:55 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 19:50:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 19:50:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7IJoGgC021613 for ; Wed, 18 Aug 2010 19:50:16 GMT Message-ID: <25116717.427711282161016533.JavaMail.jira@thor> Date: Wed, 18 Aug 2010 15:50:16 -0400 (EDT) From: "John Sichi (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1558) introducing the "dual" table In-Reply-To: <14174756.424681282153817329.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899991#action_12899991 ] 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 and 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: https://issues.apache.org/jira/browse/HIVE-1558 > 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.