Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csharp/src/Apache.Arrow.Adbc/C: imported errors don't return a native error or SQL state #1813

Closed
CurtHagenlocher opened this issue May 3, 2024 · 0 comments · Fixed by #1815
Assignees
Labels
Type: bug Something isn't working

Comments

@CurtHagenlocher
Copy link
Contributor

What happened?

When an error is produced by an imported driver, AdbcException.SqlState and AdbcException.NativeError should be set appropriately.

How can we reproduce the bug?

No response

Environment/Setup

No response

@CurtHagenlocher CurtHagenlocher added the Type: bug Something isn't working label May 3, 2024
@CurtHagenlocher CurtHagenlocher self-assigned this May 3, 2024
CurtHagenlocher added a commit to CurtHagenlocher/arrow-adbc that referenced this issue May 3, 2024
…e native error code and SQLState from the C error structure.

Closes apache#1813
@github-actions github-actions bot added this to the ADBC Libraries 1.0.0 milestone May 3, 2024
CurtHagenlocher added a commit to CurtHagenlocher/arrow-adbc that referenced this issue May 4, 2024
CurtHagenlocher added a commit that referenced this issue May 4, 2024
…ative error or SQL state (#1815)

Creates subclass of AdbcException for imported drivers which reads the
native error code and SQLState from the C error structure.

Closes #1813
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working
Projects
None yet
1 participant