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

Create pg_catalog wrapper for DataFusion catalog structure #14

Open
returnString opened this issue Apr 6, 2021 · 3 comments
Open

Create pg_catalog wrapper for DataFusion catalog structure #14

returnString opened this issue Apr 6, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@returnString
Copy link
Owner

We should support a minimal subset of Postgres' system metadata tables for automatic introspection in IDEs and data vis tooling.

@returnString returnString added the enhancement New feature or request label Apr 6, 2021
@magick93
Copy link

This would be very helpful.

I'm trying to connect to https://github.com/roapi/roapi using postgres fdw but am unable to due to not having a pg_catalog and lack of a postgres user.

@returnString
Copy link
Owner Author

returnString commented Feb 25, 2023

I had a branch a while back where I started investigating this in the context of getting this working for IDEs like DataGrip, but ran into a lot of stumbling blocks in terms of parsing some of the (frankly insane 😅) queries that these tools use to inspect metadata.

Haven't had a lot of time lately to work on this project, but potentially a good starting point for anyone who wants to pick up this work.

Edit: Also, that basic approach might be enough for something like an FDW - it's not something I've tested.

@returnString
Copy link
Owner Author

Revived and merged the pgcatalog branch (see here).

@magick93 lemme know if there's more metadata required for your use-case - it's pretty barebones atm, but it's a start :)

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

No branches or pull requests

2 participants