Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6744

CONNECT: special char for NULLs

    XMLWordPrintable

Details

    Description

      As far as I understand, there is no way to tell CONNECT that a special character in a file represents NULL.

      Please, take a look at this example. It's an open dataset from Italian government, and the same format is used for several other datasets:
      http://www.dati.salute.gov.it/imgs/C_17_dataset_7_download_itemDownload0_upFile.CSV

      The column DATAFINEVALIDITA is a DDMMYYYY date, and '-' represents a NULL value.

      If I may suggest, a new column option would be a great solution:

      col_name DATE null_value = '-',

      Attachments

        Activity

          People

            bertrandop Olivier Bertrand
            f_razzoli Federico Razzoli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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