Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-742

TO_NUMBER functions fail with "UnsupportedOperationException" error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Functions - Drill
    • None

    Description

      Below are some examples of to_number functions that failed to execute:

      select to_number('987,966', '999999') from voter where voter_id=10;
      select to_number('98.966', '99.999') from voter where voter_id=10;
      select to_number('$2,900.00', 'L9G999D99') from voter where voter_id=10;
      select to_number('00123456789', '00999999999') from voter where voter_id=10;
      select to_number('$2,900.00', 'L9G999D99') from voter where voter_id=10;

      Attachments

        Activity

          People

            knguyen Krystal
            knguyen Krystal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: