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

Yury Gerzhedovich updated IGNITE-20387:
---------------------------------------
    Description: 
As of now SQL API could throw different type of Exceptions like a 
TableAlreadyExistsException, TableNotFoundException, 
ColumnAlreadyExistsException and so one. It looks incorrect due to SQL API 
should operate just SqlExceptions.
Let's do right mapping in SqlExceptionMapperProvider.
To have more simple test also let's try to generify synchoonus and asynchronous 
test (see ItSqlSynchronousApiTest and ItSqlAsynchronousApiTest).

  was:
As of now SQL API could throw different type of Exceptions like a 
TableAlreadyExistsException, TableNotFoundException, 
ColumnAlreadyExistsException and so one. It looks incorrect due to SQL API 
should operate just SqlExceptions.
Let's do right mapping in SqlExceptionMapperProvider.
To have more simple test also let's try to generify synchoonus and asynchronous 
test (see ItSqlSynchronousApiTest and ItSqlAsynchronousApiTest)


> Remap most exceptions to SqlExceptions for SQL API
> --------------------------------------------------
>
>                 Key: IGNITE-20387
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20387
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Yury Gerzhedovich
>            Priority: Major
>              Labels: ignite-3
>
> As of now SQL API could throw different type of Exceptions like a 
> TableAlreadyExistsException, TableNotFoundException, 
> ColumnAlreadyExistsException and so one. It looks incorrect due to SQL API 
> should operate just SqlExceptions.
> Let's do right mapping in SqlExceptionMapperProvider.
> To have more simple test also let's try to generify synchoonus and 
> asynchronous test (see ItSqlSynchronousApiTest and ItSqlAsynchronousApiTest).



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

Reply via email to