Daniel Stieglitz created NIFI-13557:
---------------------------------------

             Summary: Record Inference code does not allow single digit Months
                 Key: NIFI-13557
                 URL: https://issues.apache.org/jira/browse/NIFI-13557
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Daniel Stieglitz
            Assignee: Daniel Stieglitz


When running tests using the ExcelReader and inferring the schema even though 
the date pattern 'M/d/yy' was specified, dates like '1/1/18' are not inferred 
to be DATE:M/d/yy but rather STRING. The source for this is
org.apache.nifi.util.text.RegexDateTimeMatcher whose regular expression for 
months requires two digits.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to