[
https://issues.apache.org/jira/browse/NIFI-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592301#comment-15592301
]
Peter Wicks commented on NIFI-2918:
-----------------------------------
That was my plan all along :)
I've just put in the PR and it works that way.
> JDBC getColumnName may return empty string
> ------------------------------------------
>
> Key: NIFI-2918
> URL: https://issues.apache.org/jira/browse/NIFI-2918
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.1.0
> Reporter: Peter Wicks
> Assignee: Peter Wicks
>
> The SAP Hana JDBC Driver returns an empty string for getColumnName if the
> column name in the SELECT statement was aliased.
> Instead you have to call getColumnLabel on the ResultSetMetaData.
> SAP as a company feels this is per the JDBC spec, so they are not going to
> change it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)