drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adeneche <...@git.apache.org>
Subject [GitHub] drill issue #581: DRILL-4864: Add ANSI format for date/time functions
Date Wed, 19 Oct 2016 00:23:52 GMT
Github user adeneche commented on the issue:

    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.

View raw message