[teiid-issues] [JBoss JIRA] (TEIID-5176) Postgresql ODBC driver converts {fn CONCAT()} calls to a "textcat()" function

Steven Hawkins (JIRA) issues at jboss.org
Mon Dec 11 11:30:00 EST 2017


     [ https://issues.jboss.org/browse/TEIID-5176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-5176.
-----------------------------------
    Resolution: Done


Updated the script reader to modify function names as well.  This isolates the change to only the pg transport.

>  Postgresql ODBC driver converts {fn CONCAT()} calls to a "textcat()" function
> ------------------------------------------------------------------------------
>
>                 Key: TEIID-5176
>                 URL: https://issues.jboss.org/browse/TEIID-5176
>             Project: Teiid
>          Issue Type: Quality Risk
>          Components: ODBC
>            Reporter: Debbie Steigner
>            Assignee: Steven Hawkins
>             Fix For: 10.1, 10.0.2
>
>
> Customer is using tableau which converts to a SQL statement that includes nested concat function calls like [1].  The Postgresql ODBC driver appears to interpret those {fn CONCAT()} calls and converts to a "textcat()" function, which then results in a parsing error from Teiid since we don't support a textcat() function.
> [1] {fn CONCAT({fn CONCAT("TripSourceHotelBooking"."HotelCity", ', ')}, "TripSourceHotelBooking"."HotelCountry")} AS "Calculation_984036526439337984",



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the teiid-issues mailing list