Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

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

@ebrassfieldbourke

Description

@ebrassfieldbourke

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions