ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Magda <dma...@apache.org>
Subject Re: Duplicate column name while creating table
Date Wed, 11 Dec 2019 09:42:33 GMT
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 <deepika.singh@aline-consulting.com>
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/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message