Ivan Gagarkin created IGNITE-21297:
--------------------------------------

             Summary: Altering the table causes the record API to break
                 Key: IGNITE-21297
                 URL: https://issues.apache.org/jira/browse/IGNITE-21297
             Project: Ignite
          Issue Type: Bug
            Reporter: Ivan Gagarkin


*Steps to Reproduce:*
 # Create a table using the command: {{{}CREATE TABLE TEST (id INT PRIMARY KEY, 
country VARCHAR){}}}.
 # Insert some data into the table.
 # Alter the table by adding a new column: {{{}ALTER TABLE TEST ADD COLUMN city 
VARCHAR{}}}.
 # Fetch the data using the record API: Tuple record = 
table.recordView().get(null, key);
 # 
Try to remove the data: List<Tuple> result = 
table.recordView().deleteAllExact(null, List.of(record));

*Expected Behavior:*

The data is removed.

*Actual Behavior:*

 
{code:java}

{code}
*Tuple doesn't match schema: schemaVersion=2, extraColumns=[] 
org.apache.ignite.lang.MarshallerException: IGN-CMN-65535 
TraceId:daeb79d1-49bb-47bd-af04-9f9162a44d07 Tuple doesn't match schema: 
schemaVersion=2, extraColumns=[]*  

 

 

 



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

Reply via email to