decimal.sql 289 B

12345678910111213
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. /* yt can not */
  4. pragma warning("disable", "4510");
  5. $opt_type = Struct<x:Decimal(15,10)?>;
  6. $keys = AsTuple(AsAtom("x"));
  7. $pred = ($row) -> (($row.x < Decimal("-inf",15,10)) ?? false);
  8. select YQL::RangeComputeFor($opt_type, $pred, $keys);