Nulls or default values

Hi

Will Qserv be storing nulls or defined default values for attribute values that have no measurement (eg non available or calculation produces NaN).

For our datasets it makes sense to try and replicate the same structure so that users get familiar with building queries and interpreting results. For our other data holdings we’ve typically avoided nulls and used default values.

Apologies if this is documented someplace, I tried a couple of searches. HSC/postgres seems to store NaN values in places but I assume that’s not possible in Qserv (mySQL)?

Thanks
Mike

There is a proposal at https://ldm-153.lsst.io/v/DM-25926/LDM-153.pdf#14, but how we handle this has not yet been decided. In general, we would like to avoid sentinel values.

1 Like

Many thanks.