dynamobi/dynamobi — Issue #279: [LDB-42] generating bcp files for flatfile with no header and nulls in the row being scanned could produce more meaningful error.
Author: dynamobi-build
Created: 2011-12-30 02:26:28+00:00
State: closed
Labels: Flatfile, LDB

[reporter="elin", created="Mon, 6 Mar 2006 14:41:53 -0500 (GMT-05:00)"]
If the options for creating a foreign data wrapper for a flatfile as set to num_rows_scan is 1 and with_header is no, and the 1st row of the flatfile contains nulls, importing the foreign schema will cause an error similar to:

Error: Duplicate definition for column "3" within foreign table "FF_SCHEMA"."bench100"; earlier definition was near null (state=,code=0)