title: Netezza insert fail for DATE type value
body: <p><strong>Issue description:</strong></p>
  
  <pre><code>query = insert into tbl_test ("id", "date_col") values (?, ?)
  cursor.executemany(query, [(1,'1955-05-20'), (1,'1955-05-20'),])
  </code></pre>
  
  <p><strong>Erro message:</strong></p>
  
  <blockquote>
    <p>internal error: Error executing query Operation canceled for query "
    INSERT INTO "TBL_TEST" ("id", "date_col") VALUES (?, ?)"'</p>
  </blockquote>
  
  <p><strong>nzlog:</strong>
  Load started at:06-May-14 22:24:39 EDT</p>
  
  <pre><code>  Database:         demo
    Tablename:        TBL_TEST
    Datafile:         /dev/null
    Host:             netezza
  </code></pre>
  
  <p>Load Options</p>
  
  <pre><code>Field delimiter:       '\t'               NULL value:            NULL
    File Buffer Size (MB): 8                  Load Replay Region (MB): 0
    Encoding:              INTERNAL           Max errors:            1
    Skip records:          0                  Max rows:              0
    FillRecord:            No                 Truncate String:       No
    Escape Char:           '\'                Accept Control Chars:  Yes
    Allow CR in string:    Yes                Ignore Zero:           No
    Quoted data:           NO                 Require Quotes:        No
  
    BoolStyle:             1_0                Decimal Delimiter:     '.'
  
    Disable NFC:           No
    Date Style:            YMD                Date Delim:            '-'
    Time Style:            24HOUR             Time Delim:            ':'
    Time extra zeros:      Yes
  </code></pre>
  
  <p>Found bad records</p>
  
  <h2><strong>bad #: input row #(byte offset to last char examined) [field #, declaration] diagnostic, "text consumed"[last char examined]</strong></h2>
  
  <pre><code>1: 1(2) [2, DATE] contents of field, ""[{]
  </code></pre>
  
  <p>Statistics</p>
  
  <pre><code>  number of records read:      1
    number of bad records:       1
    -------------------------------------------------
    number of records loaded:    0
  </code></pre>
  
  <p>=============================================================================</p>
  
  <p><strong>nzbad:</strong></p>
  
  <pre><code> 1   {d '1955-05-20'}
  </code></pre>
  
  <p><strong>Table "TBL_TEST"</strong></p>
  
  <pre><code> Attribute |  Type   | Modifier |   Default Value
  -----------+---------+----------+--------------------
   id        | INTEGER | NOT NULL | -1
   date_col  | DATE    |          | '2013-01-01'::DATE
  Distributed on hash: "id"
  </code></pre>
  
  <p>Reproduce the issue via nzload command per @Varun Bajaj suggestion:</p>
  
  <pre><code>nzload -u &lt;userName&gt; -pw &lt;password&gt; -db &lt;database&gt; -t &lt;tableName&gt; -delim , -df test.csv -host &lt;hostIP&gt; -bf testbf.log -lf testlf.log
  </code></pre>
  
  <p><strong>test.csv</strong></p>
  
  <pre><code>'1','1955-05-20'
  '2','1955-05-21'
  </code></pre>
  
  <p><strong>testlf.log</strong></p>
  
  <pre><code>Load started at:07-May-14 05:13:35 EDT
  
    Database:         demo
    Tablename:        TBL_TEST
    Datafile:         /home/nz/test.csv
    Host:             netezza
  
  Load Options
  
    Field delimiter:       ','                NULL value:            NULL
    File Buffer Size (MB): 8                  Load Replay Region (MB): 0
    Encoding:              INTERNAL           Max errors:            1
    Skip records:          0                  Max rows:              0
    FillRecord:            No                 Truncate String:       No
    Escape Char:           None               Accept Control Chars:  No
    Allow CR in string:    No                 Ignore Zero:           No
    Quoted data:           NO                 Require Quotes:        No
  
    BoolStyle:             1_0                Decimal Delimiter:     '.'
  
    Disable NFC:           No
    Date Style:            YMD                Date Delim:            '-'
    Time Style:            24HOUR             Time Delim:            ':'
    Time extra zeros:      No
  
  Found bad records
  
  bad #: input row #(byte offset to last char examined) [field #, declaration] diagnostic, "text consumed"[last char examined]
  ----------------------------------------------------------------------------------------------------------------------------
  1: 1(2) [2, DATE] contents of field, ""[']
  
  Statistics
  
    number of records read:      1
    number of bad records:       1
    -------------------------------------------------
    number of records loaded:    0
  
    Parsing Time (sec): 1.0
    Elapsed Time (sec): 1.0
  
  -----------------------------------------------------------------------------
  Load completed at: 07-May-14 05:13:36 EDT
  =============================================================================
  </code></pre>
  
  <p><strong>testbf.log</strong></p>
  
  <pre><code>'1','1955-05-20'
  </code></pre>