qualifier never matches correlation_name

Walter Landry wlandry at caltech.edu
Tue Jan 13 22:23:41 CET 2015


Hello Everyone,

In ADQL, the rules for qualifier, table_name, and correlatio_name are

  <qualifier> ::= <table_name> | <correlation_name> 
  <table_name> ::= [ <schema_name> <period> ] <identifier>
  <correlation_name> ::= <identifier>

It seems that table_name matches everything that correlation_name
matches.  If so, couldn't we simplify the grammar by making

  <qualifier> ::= <table_name>

This seems to be something that is inherited from SQL 92

  http://savage.net.au/SQL/sql-92.bnf.html#qualifier

so we probably can not fix it.  I just wanted to make sure I
understand the grammar.

Thanks,
Walter Landry


More information about the dal mailing list