-
Notifications
You must be signed in to change notification settings - Fork 4
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
Auto-populating default/required TAP_SCHEMA rows #124
Comments
This is currently done with an external SQL file, but I agree it would be nice functionality to have in Felis itself. I will make a ticket in our Jira and leave this issue open as well on GitHub until this is resolved. BTW, it is probably not 100% clear but the |
Thanks for looking at this, that would be an awesome feature. It's surprising how often we've had a catalog fail because of a simple mistake like forgetting one of these rows in the schema. |
I strongly support this step; we had discussed it internally previously, but it just hadn't made it to the top of the stack yet. |
By the way, you mentioned If you have specific existing uses of |
I've created DM-48167 for tracking this request. |
After our discussions at ADASS/IVOA Interop, I've been having a great time experimenting with felis, and trying out moving our workflows to use it.
As you know, the TAP_SCHEMA tables are self-describing, with their own columns/tables/schema defined as rows within themselves (
TAP_SCHEMA.columns.column_name
,*.datatype
,*.xtype
, etc.) and required to be defined.When creating/loading a new TAP database with
init-tap
andload-tap
, I noticed that these rows are not auto-populated in the db. I saw that there is a definition of them in the package: https://github.com/lsst/felis/blob/main/python/felis/schemas/tap_schema_std.yamlIs there a way to have the rows auto-populate through the CLI?
The text was updated successfully, but these errors were encountered: