[jira] [Created] (IGNITE-12567) H2Tree goes into illegal state when non-indexed columns are dropped

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12567) H2Tree goes into illegal state when non-indexed columns are dropped

Anton Vinogradov (Jira)
Konstantin Orlov created IGNITE-12567:
-----------------------------------------

             Summary: H2Tree goes into illegal state when non-indexed columns are dropped
                 Key: IGNITE-12567
                 URL: https://issues.apache.org/jira/browse/IGNITE-12567
             Project: Ignite
          Issue Type: Bug
          Components: sql
            Reporter: Konstantin Orlov
            Assignee: Konstantin Orlov


*How to reproduce:*
* {{CREATE TABLE tbl (f0 INT, f1 INT, f2 INT, f3 INT, f4 INT, PRIMARY KEY (f3, f4))}}
* populate table with some data
* {{ALTER TABLE tbl DROP COLUMN f1, f2}}
* try to execute query which will use pk index: {{SELECT * FROM tbl WHERE f3 = 1 AND f4 = 1}}

*Expected*:
* Query returns result set

*Actual*:
* Query fails with {{General error: "java.lang.ArrayIndexOutOfBoundsException: 5";}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)