You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by adeneche <gi...@git.apache.org> on 2016/10/19 00:23:52 UTC

[GitHub] drill issue #581: DRILL-4864: Add ANSI format for date/time functions

Github user adeneche commented on the issue:

    https://github.com/apache/drill/pull/581
  
    There seem to be an issue with milliseconds. Consider the following:
    ```TO_DATE('2013-01-01 12:13:14.001', 'YYYY-MM-DD HH:MI:SS:MS')```
    This works fine in Postgresql but fails in Drill with the following error:
    ```Invalid format: "2013-01-01 12:13:14.001" is malformed at ".001"```
    
    The issue seems to be that MS is being converted to S but it should be SSS instead


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---