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

IVOA Standard SQL/ADQL reserved terms used for CAOM Table names in CAOM 2.5 #25

Open
ebrassfieldbourke opened this issue Nov 25, 2024 · 0 comments

Comments

@ebrassfieldbourke
Copy link

As I understand it, part of CAOM version 2.5 is the intention to recommend CAOM as an IVOA standard. CAOM 2.5 currently uses SQL and ADQL reserved words for table names such as Position and Time. A workaround for reserved words is to place these table names into quotation marks. Perhaps the issue/fix could be added to the CAOM documentation upon IVOA Standardisation?
If this is a known issue or I missed it folded into the other issues, my apologies, and please feel free to delete or mark as 'Resolved'.

Output from a TAP Lint tool run by my colleague:
Section TME: Check content of tables metadata from /tables E-TME-TRSV-1 Table name is ADQL reserved word 'Position' E-TME-TRSV-2 Table name is ADQL reserved word 'Time' E-TME-CRSV-1 Column name is ADQL reserved word 'pi' in table Proposal - should delimit like '"pi"' E-TME-CRSV-2 Column name is ADQL reserved word 'coordsys' in table SpatialWCS - should delimit like '"coordsys"' E-TME-CRSV-3 Column name is ADQL reserved word 'coordsys' in table TargetPosition - should delimit like '"coordsys"'

Error also results from using a simple 'SELECT' command on these tables.

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

No branches or pull requests

1 participant