[ADQL] Erratum to ADQL-2.0 for NULL values

Gregory MANTELET gregory.mantelet at astro.unistra.fr
Tue Jan 31 15:13:55 CET 2023


Dear DAL members,

Here is a Proposed Erratum aiming to fix ADQL-2.0 about the usage of 
NULL values. Apart from the constraint `IS [NOT] NULL`, it was not 
possible to use the special value NULL anywhere.

This problem has been raised thanks to the development of the ADQL 
validator for the official IVOA grammar: 
https://github.com/ivoa/lyonetia/pull/16#issuecomment-1406523355 One of 
the examples that highlighted this issue is:

SELECT x FROM y WHERE Point(NULL, 2, 3)=x

Allowing NULL instead of a literal, expression or column name is anyway 
already supported in most of the existing ADQL parsers and TAP services 
(DACHS and CADC) and is completely supported by major DBMS.

Here is the link toward this Proposed Erratum:

    https://wiki.ivoa.net/twiki/bin/view/IVOA/ADQL20Err4


Don't hesitate to comment.

Cheers,
Grégory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ivoa.net/pipermail/dal/attachments/20230131/3bfe7646/attachment.htm>


More information about the dal mailing list