[jira] [Updated] (IGNITE-19304) Create index with the same column twice

2023-06-09 Thread Andrey Mashenkov (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-19304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-19304:
--
Fix Version/s: 3.0.0-beta2

> Create index with the same column twice
> ---
>
> Key: IGNITE-19304
> URL: https://issues.apache.org/jira/browse/IGNITE-19304
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 3.0
>Reporter: Alexander Belyak
>Assignee: Andrey Mashenkov
>Priority: Minor
>  Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Unable to create index with same column twice:
> {noformat}
> create table tindex(
> id int primary key,
> v1 int, 
> v2 int);
> create index titest on tindex(v1,v1){noformat}
> error:
> {noformat}
> [Code: 0, SQL State: 5]  Exception while executing query [query=create 
> index titest on tindex(v1,v1)]. Error message:IGN-CMN-65535 
> TraceId:203a2c0c-fbf1-4143-aa47-50c97223ad84 Named List element with key "V1" 
> already exists{noformat}
> But documentation 
> [https://ignite.apache.org/docs/3.0.0-beta/sql-reference/ddl#create-index] do 
> not block it. Postgres allow to execute such DDL too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-19304) Create index with the same column twice

2023-04-19 Thread Alexander Belyak (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-19304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Belyak updated IGNITE-19304:
--
Labels: ignite-3  (was: )

> Create index with the same column twice
> ---
>
> Key: IGNITE-19304
> URL: https://issues.apache.org/jira/browse/IGNITE-19304
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 3.0
>Reporter: Alexander Belyak
>Priority: Minor
>  Labels: ignite-3
>
> Unable to create index with same column twice:
> {noformat}
> create table tindex(
> id int primary key,
> v1 int, 
> v2 int);
> create index titest on tindex(v1,v1){noformat}
> error:
> {noformat}
> [Code: 0, SQL State: 5]  Exception while executing query [query=create 
> index titest on tindex(v1,v1)]. Error message:IGN-CMN-65535 
> TraceId:203a2c0c-fbf1-4143-aa47-50c97223ad84 Named List element with key "V1" 
> already exists{noformat}
> But documentation 
> [https://ignite.apache.org/docs/3.0.0-beta/sql-reference/ddl#create-index] do 
> not block it. Postgres allow to execute such DDL too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (IGNITE-19304) Create index with the same column twice

2023-04-18 Thread Alexander Belyak (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-19304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Belyak updated IGNITE-19304:
--
Summary: Create index with the same column twice  (was: Create index with 
same column twice)

> Create index with the same column twice
> ---
>
> Key: IGNITE-19304
> URL: https://issues.apache.org/jira/browse/IGNITE-19304
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Affects Versions: 3.0
>Reporter: Alexander Belyak
>Priority: Minor
>
> Unable to create index with same column twice:
> {noformat}
> create table tindex(
> id int primary key,
> v1 int, 
> v2 int);
> create index titest on tindex(v1,v1){noformat}
> error:
> {noformat}
> [Code: 0, SQL State: 5]  Exception while executing query [query=create 
> index titest on tindex(v1,v1)]. Error message:IGN-CMN-65535 
> TraceId:203a2c0c-fbf1-4143-aa47-50c97223ad84 Named List element with key "V1" 
> already exists{noformat}
> But documentation 
> [https://ignite.apache.org/docs/3.0.0-beta/sql-reference/ddl#create-index] do 
> not block it. Postgres allow to execute such DDL too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)