From dev-return-48636-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Dec 11 09:43:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1C0BB180638 for ; Wed, 11 Dec 2019 10:43:03 +0100 (CET) Received: (qmail 22895 invoked by uid 500); 11 Dec 2019 09:43:00 -0000 Mailing-List: contact dev-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 dev@ignite.apache.org Received: (qmail 22802 invoked by uid 99); 11 Dec 2019 09:43:00 -0000 Received: from Unknown (HELO mailrelay1-lw-us.apache.org) (10.10.3.159) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2019 09:43:00 +0000 Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id CAEC37948 for ; Wed, 11 Dec 2019 09:42:59 +0000 (UTC) Received: by mail-io1-f49.google.com with SMTP id c16so693347ioo.8 for ; Wed, 11 Dec 2019 01:42:59 -0800 (PST) X-Gm-Message-State: APjAAAWYpipUQs/3Mb/5BOlBdmGpQ7otiBbr5wNqRVcQ+VyeoAaJ77YE W55WmO5PMc+Mx973/2XgkxwuyuG4Gj3V6W6mDMU1DA== X-Google-Smtp-Source: APXvYqx/tByJBo14zp3Tv4nRBOMbZ5eduOYEMm4LU8fEUXxqyZKYNoJKFZRYVEvt2Q4Jit8H6LkzAtCiHzBOEYbFgFU= X-Received: by 2002:a6b:8b01:: with SMTP id n1mr1914645iod.111.1576057379436; Wed, 11 Dec 2019 01:42:59 -0800 (PST) MIME-Version: 1.0 References: <1575527923285-0.post@n6.nabble.com> In-Reply-To: <1575527923285-0.post@n6.nabble.com> From: Denis Magda Date: Wed, 11 Dec 2019 12:42:33 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Duplicate column name while creating table To: user@ignite.apache.org, dev Content-Type: multipart/alternative; boundary="0000000000003f548c05996a741a" --0000000000003f548c05996a741a Content-Type: text/plain; charset="UTF-8" It sounds like the implementation specificities of Ignite DML. SQL folks, how about throwing an exception in case of the duplicate name? - Denis On Thu, Dec 5, 2019 at 9:38 AM DS wrote: > *I am able to create the table with duplicate column name.* > > I was expecting some error saying "cannot create table; duplicate column > name: NAME" > Is there some reason that Ignite is not throwing error/exception OR > is it a bug? > > CREATE TABLE Person(ID INTEGER PRIMARY KEY, NAME VARCHAR(100), NAME > VARCHAR(100), AGE INTEGER (64)); > > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > --0000000000003f548c05996a741a--