Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-3657

unix_timestamp() drops microseconds

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • 1.2.5
    • Icebox
    • N/A
    • None

    Description

      create table test (ts datetime(3)) ENGINE = Columnstore;
      insert into test (ts) VALUES ('2019-12-06 14:53:04.350');
      select unix_timestamp(ts), extract(MICROSECOND FROM ts) from test;
      

      Expected result: 1575643984.350,350000
      Actual result: 1575643984.000,350000

      Attachments

        Activity

          People

            Unassigned Unassigned
            patricksafarov Patrick Safarov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.