db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6893) Create new SYSCS_IMPORT_DATA_BULK procedure
Date Fri, 08 Jul 2016 04:00:14 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367185#comment-15367185

ASF subversion and git services commented on DERBY-6893:

Commit 1751852 from [~bryanpendleton] in branch 'code/trunk'
[ https://svn.apache.org/r1751852 ]

DERBY-4555: Expand SYSCS_IMPORT_TABLE to accept CSV file with headers
DERBY-6893: Create new SYSCS_IMPORT_DATA_BULK procedure

This change was contributed by Danoja Dias (danojadias at gmail dot com)

This change modifies the method Import.importTable so that it has
a varargs interface, which makes it easier to call it in a variety
of ways from different system procedures.

Additionally, the change adds a new system procedure, named
SYSCS_UTIL.SYSCS_IMPORT_DATA_BULK, which is a variant of the
existing SYSCS_IMPORT_DATA system procedure, but has an additional
argument at the end that specifies the number of initial lines of
data in the input file to be skipped.

The anticipated use for this system procedure is to process input
data files which have been generated by a CSV-data-generating tool
which includes column header data at the start of the input file.

> Create new SYSCS_IMPORT_DATA_BULK procedure
> -------------------------------------------
>                 Key: DERBY-6893
>                 URL: https://issues.apache.org/jira/browse/DERBY-6893
>             Project: Derby
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Bryan Pendleton
>            Assignee: Danoja Dias
>            Priority: Minor
>         Attachments: Derby-6893.diff, UpdatedDerby6893.diff
> As a sub-task of DERBY-4555, we propose to create a new system
> procedure SYSCS_IMPORT_DATA_BULK, which supports all the
> functionality of SYSCS_IMPORT_DATA, but additionally supports detecting and skipping
multi-line column headers

This message was sent by Atlassian JIRA

View raw message