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

Perform NULL check in underlying C API to avoid Python None check

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • None
    • N/A
    • N/A
    • None

    Description

      A user has reported that he does not like having to use the following pattern a lot with the Python bulk load API:

      if val is None:
      bulk.setNull()
      else:
      bulk.setColumn()
      

      He suggested that it might be worthwhile to make it so that the user only has to execute bulk.setColumn() with the Python API, and any required NULL/None checks get moved to the underlying C API.

      Attachments

        Activity

          People

            toddstoffel Todd Stoffel (Inactive)
            GeoffMontee Geoff Montee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.