Skip to content
  • gmantele's avatar
    [ADQL] Also append an HINT message in the ParseException message when a SQL · fe4c3e97
    gmantele authored
    reserved word is encountered instead of a column/table/schema name/alias.
    
    On the contrary to the previous commit, this time a list of SQL reserved words
    has been added into the ADQL grammar. In this way, the parser will ensure that
    no word of this list is used in an ADQL query. The raised error is then enriched
    of an HINT message stating that this word is part of SQL, is not supported
    by ADQL and must be written between double quotes if used as an identifier.
    
    The list of SQL reserved words comes from the ADQL-2.0 standard, after removal
    of all potentially used ADQL words, in order to avoid a conflict with the
    already existing tokens in the ADQL grammar.
    fe4c3e97