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-6892) Create new SYSCS_IMPORT_TABLE_BULK procedure
Date Sun, 03 Jul 2016 16:35:11 GMT

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

ASF subversion and git services commented on DERBY-6892:

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

DERBY-4555: Expand SYSCS_IMPORT_TABLE to accept CSV file with headers
DERBY-6892: Create new SYSCS_IMPORT_TABLE_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_TABLE_BULK, which is a variant of the
existing SYSCS_IMPORT_TABLE 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_TABLE_BULK procedure
> --------------------------------------------
>                 Key: DERBY-6892
>                 URL: https://issues.apache.org/jira/browse/DERBY-6892
>             Project: Derby
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Bryan Pendleton
>            Assignee: Danoja Dias
>            Priority: Minor
>         Attachments: Derby-6892-whitespaceCleanup.diff, Derby-6892.diff, Updated-Derby-6892.diff,
> As a sub-task of DERBY-4555, we propose to create a new
> system procedure, SYSCS_IMPORT_TABLE_BULK, which supports
> all the functionality of SYSCS_IMPORT_TABLE, but additionally supports skipping multi-line
column headers in the input file.

This message was sent by Atlassian JIRA

View raw message