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

bulk write sdk python bindings does not support status out param in setColumn

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.2
    • 1.1.5
    • None
    • 2018-08, 2018-09, 2018-10

    Description

      the setColumn method has an optional 3rd status parameter that is an output parameter. With the current python swig binding you can't access it. See this section for details to override the mapping to allow adding it to the return value:
      http://www.swig.org/Doc3.0/Python.html#Python_nn46

      This allows you to retrieve if the specified value was invalid and mapped to 0.
      https://github.com/mariadb-corporation/mariadb-columnstore-api/blob/master/test/summary.cpp has some good test examples in c++ that should be replicated.

      Also worth checking the rest of the api for output arguments as well.

      Attachments

        Activity

          People

            dthompson David Thompson (Inactive)
            dthompson David Thompson (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.