Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DE56C200BD0 for ; Wed, 30 Nov 2016 16:06:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DD00D160B19; Wed, 30 Nov 2016 15:06:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5814B160B08 for ; Wed, 30 Nov 2016 16:06:59 +0100 (CET) Received: (qmail 54669 invoked by uid 500); 30 Nov 2016 15:06:58 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 54628 invoked by uid 99); 30 Nov 2016 15:06:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2016 15:06:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 70F3C2C03DB for ; Wed, 30 Nov 2016 15:06:58 +0000 (UTC) Date: Wed, 30 Nov 2016 15:06:58 +0000 (UTC) From: "Andrew Mashenkov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-3964) SQL: implement support for table alias MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 30 Nov 2016 15:07:00 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15708828#comment-15708828 ] Andrew Mashenkov commented on IGNITE-3964: ------------------------------------------ H2 does not support table aliases and it seems we can't overcome this. [~kuaw26], did you mean a table alias support (that mean table is accessible by more than one name) or it would be enough to have a possibility to set custom table name? For now table name is generated automatically depending on entity instance type name and can not be customized. > SQL: implement support for table alias > -------------------------------------- > > Key: IGNITE-3964 > URL: https://issues.apache.org/jira/browse/IGNITE-3964 > Project: Ignite > Issue Type: Task > Components: SQL > Affects Versions: 1.6 > Reporter: Alexey Kuznetsov > Assignee: Andrew Mashenkov > Fix For: 2.0 > > > We have ability to specify aliases for columns via org.apache.ignite.cache.QueryEntity#getAliases. > But how about alias for table name? This could be useful in case of moving legacy application to Ignite with a lot of SQL statements. -- This message was sent by Atlassian JIRA (v6.3.4#6332)