-
Notifications
You must be signed in to change notification settings - Fork 1
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
IMPORT FOREIGN SCHEMA #1
Comments
I propose the following loosely coupled solution :
The whole process could finally be wrapped into a function if required, but that is just for convenience. |
Questions regarding your proposal: In 2. you mention having a function that would handle the mappings between the local and foreign "pointcloud_formats" tables. How/where would you define that function? fdw-li3ds is not a Postgres extension, so it doesn't have an SQL file. We could still define that function in an SQL file, and refer to it in the documentation. Have you envisioned something fancier than that? In 3. you mention passing pcid mappings to Thanks. |
|
Closing this for now. |
It would be nice to implement an import foreign schema for various datasources.
For each dataset it would create the metadata and the data tables.
On problem for this is that we need to have pointcloud_formats populated before creating the data table. And we want to generate the pcid schema thanks to the metadata FDW.
Ways to workaround :
This could lead to some unnecessary elements in pointcloud_formats whenever the import foreign schema is rollbacked, but there does not seem to be a better way, and this is not that annoying.
The text was updated successfully, but these errors were encountered: