Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module defines the scalars we use specific to the BigQuery schema.
An idiosyncracy of BigQuery is that numbers serialized via JSON uses string literals instead of number literals, because BigQuery handles wider-bit numbers than JSON/JavaScript does.
Therefore, the BigQuery Backend uses bespoke parsers for numeric scalar input, which accept string literals as well as number literals, such that we preserve symmetry with with output formats.
Documentation
bqBigDecimal :: MonadParse m => Parser origin 'Both m BigDecimal Source #