/[Apache-SVN]
ViewVC logotype

Revision 1751159


Jump to revision: Previous Next
Author: bpendleton
Date: Sun Jul 3 16:34:49 2016 UTC (7 years, 8 months ago)
Changed paths: 6
Log Message:
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.


Changed paths

Path Details
Directorydb/derby/code/trunk/java/engine/org/apache/derby/catalog/SystemProcedures.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/load/Import.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/load/ImportReadData.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java modified , text changed
Directorydb/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java modified , text changed
Directorydb/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_13.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26