Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.36.0
    • None

    Description

      Add support for SAFE_NEGATE in BigQuery.
      SAFE_NEGATE: Equivalent to the unary minus operator , but returns NULL if overflow occurs.

      Example #1: SELECT SAFE_NEGATE(3) would return -3.
      Example #2: SELECT SAFE_NEGATE(-9223372036854775808) would return NULL because of overflow.

      Attachments

        Issue Links

          Activity

            People

              tanclary Tanner Clary
              tanclary Tanner Clary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: