<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ExcelReader Controller Failing on valid date with proper Date Format setting in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414580#M255463</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/126673"&gt;@BobKing&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for being part of our community and reaching us.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not think the issue is the 0 at the beginning directly.&amp;nbsp;&lt;BR /&gt;The format specified is&amp;nbsp;&lt;FONT face="courier new,courier"&gt;MM/dd/yyyy&lt;/FONT&gt; so the processor expects the 0, in fact, the working dates do have the 0 added when it get's converted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm suspecting, is that Excel have different formats for the cells.&amp;nbsp;&lt;BR /&gt;If the same file have some dates with the 0 and without it, it could be a mismatch on the format.&amp;nbsp;&lt;BR /&gt;Check and compare the file, does all the cells have the same date format? Or some are saved as string or text?&amp;nbsp;&lt;BR /&gt;Do one test, replace one of the failed cells with one of the working cells and then modified to reflect the proper date.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2026 18:18:45 GMT</pubDate>
    <dc:creator>vafs</dc:creator>
    <dc:date>2026-09-18T18:18:45Z</dc:date>
    <item>
      <title>ExcelReader Controller Failing on valid date with proper Date Format setting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414565#M255459</link>
      <description>&lt;P&gt;I am getting an error when using the ExcelReader to convert an Excel sheet to JSON. Everything works except for some dates. If I remove the Date Format setting on the controller, no issue, but get the date in milliseconds from 1/1/1970, which I do not want. The ExcelReader is failing on the date 05/01/2017. This is a valid MM/dd/yyyy date. The error I get is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR&lt;BR /&gt;015de330-01a0-1000-0000-00001cb4e04e&lt;BR /&gt;All Nodes&lt;BR /&gt;ConvertRecord[id=015de330-01a0-1000-0000-00001cb4e04e] Failed to process FlowFile[filename=Test_File.xlsx]; will route to failure: org.apache.nifi.processor.exception.ProcessException: Could not parse incoming data&lt;BR /&gt;- Caused by: org.apache.nifi.serialization.MalformedRecordException: Read next Record from Excel XLSX failed on row 59 in sheet Data&lt;BR /&gt;- Caused by: org.apache.nifi.serialization.record.field.FieldConversionException: Conversion failed for [05/01/2017] named [column_9] to [java.time.LocalDate] [java.time.format.DateTimeParseException] Text '05/01/2017' could not be parsed at index 0&lt;/P&gt;&lt;P&gt;It did not fail on other dates like 6/30/2026. Is it possible that NiFi ExcelReader cannot support a leading 0 on months? This could be a big issue for us as a leading 0 on single digit months is standard.&lt;/P&gt;&lt;P&gt;I would be grateful for any insights.&lt;/P&gt;&lt;P&gt;I am using NiFi 2.0 with Cloudera Data Flow &lt;SPAN&gt;2.6.0.4.12.0.1-9&lt;/SPAN&gt;. I attached my ExcelReader and JsonRecordSetWritter settings.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.cloudera.com/t5/image/serverpage/image-id/47035i777776691A64F6CE/image-size/large?v=v2&amp;amp;px=999" border="0" alt="ExcelReader Settings.png" title="ExcelReader Settings.png" /&gt;&lt;IMG src="http://community.cloudera.com/t5/image/serverpage/image-id/47036i20C6D7AD00556723/image-size/large?v=v2&amp;amp;px=999" border="0" alt="JsonRecordSetWriter Settings.png" title="JsonRecordSetWriter Settings.png" /&gt;</description>
      <pubDate>Thu, 17 Sep 2026 13:41:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414565#M255459</guid>
      <dc:creator>BobKing</dc:creator>
      <dc:date>2026-09-17T13:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: ExcelReader Controller Failing on valid date with proper Date Format setting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414580#M255463</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/126673"&gt;@BobKing&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for being part of our community and reaching us.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not think the issue is the 0 at the beginning directly.&amp;nbsp;&lt;BR /&gt;The format specified is&amp;nbsp;&lt;FONT face="courier new,courier"&gt;MM/dd/yyyy&lt;/FONT&gt; so the processor expects the 0, in fact, the working dates do have the 0 added when it get's converted.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm suspecting, is that Excel have different formats for the cells.&amp;nbsp;&lt;BR /&gt;If the same file have some dates with the 0 and without it, it could be a mismatch on the format.&amp;nbsp;&lt;BR /&gt;Check and compare the file, does all the cells have the same date format? Or some are saved as string or text?&amp;nbsp;&lt;BR /&gt;Do one test, replace one of the failed cells with one of the working cells and then modified to reflect the proper date.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2026 18:18:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414580#M255463</guid>
      <dc:creator>vafs</dc:creator>
      <dc:date>2026-09-18T18:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: ExcelReader Controller Failing on valid date with proper Date Format setting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414597#M255468</link>
      <description>&lt;P&gt;I did verify that the Excel cell is a formatted date. All cells that have a date value are formatted as dates (*m/dd/yyyy) in Excel. This is a weird issue. I have one date formatted cell with 6/30/2026 and another date formatted cell with 05/01/2017.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I leave the Date Format blank, the 6/30/2026 is translated to an integer representing milliseconds from 1/1/1970. The 05/17/2017 is fine. If I add the Date Format, it accepts the 6/30/2026 but the 05/01/2017 causes the error.&lt;/P&gt;&lt;P&gt;I cannot change the formatting of the Excel because these Excel templates are not changeable due to legal contracts. It will take months to go through the legal process to get the Excel templates changed in my industry.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2026 11:13:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414597#M255468</guid>
      <dc:creator>BobKing</dc:creator>
      <dc:date>2026-09-21T11:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: ExcelReader Controller Failing on valid date with proper Date Format setting</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414598#M255469</link>
      <description>&lt;P&gt;I removed the Date Format from the ExcelReader controller and kept the Data Format in the JsonRecordSetWriter and all dates cam out as expected. It appears by leaving the Date Format empty in the ExcelReader but putting MM/dd/yyyy in the JsonRecordSetWriter will work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2026 11:52:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExcelReader-Controller-Failing-on-valid-date-with-proper/m-p/414598#M255469</guid>
      <dc:creator>BobKing</dc:creator>
      <dc:date>2026-09-21T11:52:27Z</dc:date>
    </item>
  </channel>
</rss>

