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

Date truncate function throws UnsupportedOperation exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None
    • None

    Description

      Date truncate function uses the toString() on the varchar holder which throws UnsupportedOperationException. Since value holders are potential scalar replacements, we shouldn't invoke any methods on the holder itself. Instead use static String helper functions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mehant Mehant Baid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: