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

Philipp Shergalis updated IGNITE-23600:
---------------------------------------
    Description: 
!image-2024-11-05-16-05-28-764.png! (Reporter: Pavel Polyakov)

We can have this edge case:
 # Create a sequence with any name. It creates sequence and a table with schema 
“system”, and dynamic name “seq_{{{}sequence_id{}}}”

 # Create new table with “seq_{{{}sequence_id{}}}” name. We will have 2 tables 
with same name, but different schemas

 # Select system.LOCAL_PARTITION_STATES , all data for this tables is doubled 
!image-2024-11-05-16-06-10-067.png|width=516,height=231!

What to do:
 * Extend GLOBAL_PARTITION_STATES and LOCAL_PARTITION_STATES system views with 
“schema_name” field

  was:
(Reporter: Pavel Polyakov)

We can have this edge case:
 # Create a sequence with any name. It creates sequence and a table with schema 
“system”, and dynamic name “seq_\{{sequence_id}}”

 # Create new table with “seq_\{{sequence_id}}” name. We will have 2 tables 
with same name, but different schemas

 # Select system.LOCAL_PARTITION_STATES , all data for this tables is doubled



What to do:
 * Extend GLOBAL_PARTITION_STATES and LOCAL_PARTITION_STATES system views with 
“schema_name” field


> Extend GLOBAL_PARTITION_STATES and LOCAL_PARTITION_STATES system views
> ----------------------------------------------------------------------
>
>                 Key: IGNITE-23600
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23600
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Philipp Shergalis
>            Assignee: Philipp Shergalis
>            Priority: Major
>         Attachments: image-2024-11-05-16-06-02-919.png, 
> image-2024-11-05-16-06-10-067.png
>
>
> !image-2024-11-05-16-05-28-764.png! (Reporter: Pavel Polyakov)
> We can have this edge case:
>  # Create a sequence with any name. It creates sequence and a table with 
> schema “system”, and dynamic name “seq_{{{}sequence_id{}}}”
>  # Create new table with “seq_{{{}sequence_id{}}}” name. We will have 2 
> tables with same name, but different schemas
>  # Select system.LOCAL_PARTITION_STATES , all data for this tables is doubled 
> !image-2024-11-05-16-06-10-067.png|width=516,height=231!
> What to do:
>  * Extend GLOBAL_PARTITION_STATES and LOCAL_PARTITION_STATES system views 
> with “schema_name” field



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

Reply via email to