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

[python] table_constraints always empty calling to adbc_get_objects for Flight SQL source #2222

Open
denodo-research-labs opened this issue Oct 7, 2024 · 4 comments
Labels
Type: enhancement New feature or request Type: question Usage question

Comments

@denodo-research-labs
Copy link

denodo-research-labs commented Oct 7, 2024

We are trying to use adbc_driver_flightsql (version 1.2.0) to access our Flight SQL interface, and we are having issues trying to obtain the primary keys (or any other type of constraints) via the table_constraints field of the result of:

objs = AdbcConnection.adbc_get_objects(depth="columns")

All table_constraints fields inside objs come as empty list, and we don't see our Flight SQL interface being asked for table constraints at all...

Is this not yet implemented for Flight SQL?

@denodo-research-labs denodo-research-labs added the Type: question Usage question label Oct 7, 2024
@lidavidm
Copy link
Member

lidavidm commented Oct 8, 2024

Hmm, it appears to not be wired up in the driver indeed.

@lidavidm
Copy link
Member

lidavidm commented Oct 8, 2024

It looks like the framework is there to build the result but what needs to be wired up between shared_utils.go and flightsql_connection.go is a way to inject a helper function to actually fetch and populate constraint info

@denodo-research-labs
Copy link
Author

Should this be relabeled as a bug therefore?

@lidavidm lidavidm added the Type: enhancement New feature or request label Oct 10, 2024
@lidavidm
Copy link
Member

I've relabeled it. I'm not sure if any contributors will pick this up but any help is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request Type: question Usage question
Projects
None yet
Development

No branches or pull requests

2 participants