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

Vladimir Ozerov commented on IGNITE-6403:
-----------------------------------------

[~al.psc], the fix is incorrect, unfortunately. Please change target test as 
follows to see that it still fails:
{code}
    public void testTransactionalAddColumnNotNullCheckDmlInsertValues() throws 
Exception {
        while (true) {
            
checkAddColumnNotNullCheckDmlInsertValues(CacheAtomicityMode.TRANSACTIONAL);

            afterTest();
            beforeTest();
        }
    }
{code}

> IgniteSqlNotNullConstraintTest.testTransactionalAddColumnNotNullCheckDmlInsertValues
>  fails periodically
> -------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-6403
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6403
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Vladimir Ozerov
>            Assignee: Alexander Paschenko
>             Fix For: 2.3
>
>
> Looks like we have a bug in {{ALTER TABLE}} - column is not visible after 
> command is completed:
> {code}
> Caused by: org.h2.jdbc.JdbcSQLException: Column "NAME" not found; SQL 
> statement:
> INSERT INTO test(id, name, age) VALUES (1, 'ok', 1), (2, NULLIF('a', 'a'), 
> 2), (3, 'ok', 3) [42122-195]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to