[ 
https://issues.apache.org/jira/browse/NIFI-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15487253#comment-15487253
 ] 

ASF subversion and git services commented on NIFI-2262:
-------------------------------------------------------

Commit d32577376021c94a8d713d6f55b22a6aff60b57d in nifi's branch 
refs/heads/master from [~mattyb149]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=d325773 ]

NIFI-2262: Added Avro-normalization of table/column names in SQL processors

This closes #994.


> SQL processors fail if column name contains characters illegal for Avro
> -----------------------------------------------------------------------
>
>                 Key: NIFI-2262
>                 URL: https://issues.apache.org/jira/browse/NIFI-2262
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>             Fix For: 1.1.0
>
>
> For SQL processors that output Avro (ExecuteSQL, QueryDatabaseTable, etc.), 
> if the SQL result set contains columns whose names contain Avro-illegal 
> characters (such as a period), then an error occurs:
> org.apache.avro.SchemaParseException: Illegal character in: user.gender
> These processors should either normalize the names for Avro automatically or 
> have a property indicating whether names should be normalized.
> A workaround for ExecuteSQL in many cases is to alias the columns in the SQL. 
> This approach doesn't currently work in QueryDatabaseTable for incremental 
> fetch (i.e. maximum-value columns)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to