Matt Burgess created NIFI-5563:
----------------------------------

             Summary: SQL processors may generate Avro-incompatible column names
                 Key: NIFI-5563
                 URL: https://issues.apache.org/jira/browse/NIFI-5563
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Matt Burgess


Although the "Convert Names for Avro" property in such processors as ExecuteQL 
replaces non-Avro characters with underscores, it doesn't validate/alter the 
names to ensure they are Avro compatible. For example, SELECT 1 may give a 
column name of 1, but Avro names have to start with one of [A-Za-z_]. We need 
to check for that and prefix an underscore if the name doesn't start with one 
of those characters. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to