[ 
https://issues.apache.org/jira/browse/IGNITE-21808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831788#comment-17831788
 ] 

Mikhail Efremov commented on IGNITE-21808:
------------------------------------------

[~korlov] could you take a look too?

> CREATE ZONE syntax must work with any the case of zone name
> -----------------------------------------------------------
>
>                 Key: IGNITE-21808
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21808
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Mirza Aliev
>            Assignee: Mikhail Efremov
>            Priority: Major
>              Labels: ignite-3, sql
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> h3. Steps to reproduce
> If we try to run such code
> {code:java}
>         cluster.doInSession(0, session -> {
>             session.execute(null, "CREATE ZONE test_zone");
>             session.execute(null, "CREATE TABLE TEST (id INT PRIMARY KEY, 
> name INT) WITH PRIMARY_ZONE='test_zone'");
>         });
> {code}
> It fails with {{Failed to validate query. Distribution zone with name 
> 'test_zone' not found,}}
> but works if zone name is in upper case
> This behaviour must be changed.
> h3. Definition of done
>  * Zone name must support any case, not only upper case
>  * Corresponding tests must be added



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

Reply via email to