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

ColumnStoreDateTime(dateTime, format) can not be initialized on Debian 9

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 1.1.6, 1.2.0
    • 1.1.7, 1.2.0
    • None
    • None
    • Debian 9
    • 2018-17, 2018-18, 2018-19

    Description

      Attached example works on CentOS 7 and Windows 10 but fails with an exception on Debian 9.
      (Other operating systems not tested)

      Exception: Error caught: A valid date/time could not be extracted from the following string with the supplied format: 6 Dec 2001 12:33:45

      Linux compiled with: g++ datetime-convert.cpp -o datetime-convert -std=c++11 `pkg-config libmcsapi --cflags --libs`

      Windows compiled with: cl datetime-convert.cpp "C:\Program Files\MariaDB\ColumnStore Bulk Write SDK\lib\mcsapi.lib" /I "C:\Program Files\MariaDB\ColumnStore Bulk Write SDK\include"

      target table: test.dt
      CREATE TABLE dt (dt DATETIME) engine=columnstore

      mcsapi's current test cases don't cover this type of ColumnStoreDateTime initialization.

      Attachments

        1. dataconvert-datetime.exe
          483 kB
          Jens Röwekamp
        2. datetime-convert.cpp
          1 kB
          Jens Röwekamp

        Issue Links

          Activity

            People

              jens.rowekamp Jens Röwekamp (Inactive)
              jens.rowekamp Jens Röwekamp (Inactive)
              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.