You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2014/08/28 03:43:58 UTC

[jira] [Created] (DRILL-1354) Date truncate function throws UnsupportedOperation exception

Mehant Baid created DRILL-1354:
----------------------------------

             Summary: Date truncate function throws UnsupportedOperation exception
                 Key: DRILL-1354
                 URL: https://issues.apache.org/jira/browse/DRILL-1354
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Mehant Baid


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)