You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (Jira)" <ji...@apache.org> on 2023/09/08 11:14:00 UTC

[jira] [Created] (IGNITE-20387) Remap most exceptions to SqlExceptions for SQL API

Yury Gerzhedovich created IGNITE-20387:
------------------------------------------

             Summary: 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


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)