You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2024/06/25 09:39:00 UTC

[jira] [Updated] (IGNITE-22572) ODBC 3.0: Improve SqlBatchException processing

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

Pavel Pereslegin updated IGNITE-22572:
--------------------------------------
    Ignite Flags:   (was: Docs Required,Release Notes Required)

> ODBC 3.0: Improve SqlBatchException processing
> ----------------------------------------------
>
>                 Key: IGNITE-22572
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22572
>             Project: Ignite
>          Issue Type: Improvement
>          Components: odbc
>            Reporter: Pavel Pereslegin
>            Priority: Major
>              Labels: ignite-3
>
> After IGNITE-17059, we serialize the full error code for the SqlBatchException (error group + error code).
> This may break the code that handles this exception on the odbc side.
> {code:cpp}
> throw odbc_error(error_code_to_sql_state(error::code(error_code.value())), error_message);
> {code}
> It is necessary to fix exception handling on the odbc side and add test for exception handling.
> Please keep in sync with IGNITE-22569 (_Ensure standardized error serialization in ClientSqlExecuteBatchRequest_), perhaps the issue will be solved there, but in any case, we need to ensure we have test for handling {{SqlBatchException}} on the odbc side.



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