Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-979

Dividing float value by zero should throw "Divide by zero Exception"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None

    Description

      See the title. Currently Tajo returns "Infinity".

      This is a result of Tajo.

      default> select 10.0/0;
      ?divide
      -------------------------------
      Infinity
      (1 rows, 0.003 sec, 0 B selected)
      default> select 10/0;
      ERROR: / by zero
      

      This is a result of Postgresql.

      babokim=# select 10.0/0.0;
      ERROR:  division by zero
      babokim=# select 10.0/0;
      ERROR:  division by zero
      

      Attachments

        Activity

          People

            hjkim Hyoungjun Kim
            hjkim Hyoungjun Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: