[teiid-issues] [JBoss JIRA] (TEIID-4331) Use of st_geomfromText wrapped around a UDF fails.

Steven Hawkins (JIRA) issues at jboss.org
Tue Jul 12 16:31:00 EDT 2016


    [ https://issues.jboss.org/browse/TEIID-4331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264449#comment-13264449 ] 

Steven Hawkins commented on TEIID-4331:
---------------------------------------

The ST_POINT function here is wrong.  It is single quoting the string when that is not needed.  What is happening though is that the WKTParser that we're using does not throw an exception when it fails to parse and instead returns a null that we then fail with an NPE (which should be in your full stacktrace).  So I'll use this issue to address the failure on invalid text.


> Use of st_geomfromText wrapped around a UDF fails.
> --------------------------------------------------
>
>                 Key: TEIID-4331
>                 URL: https://issues.jboss.org/browse/TEIID-4331
>             Project: Teiid
>          Issue Type: Bug
>    Affects Versions: 8.12.x
>            Reporter: Tom Johnston
>            Assignee: Steven Hawkins
>         Attachments: gis-1.0.0.jar
>
>




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the teiid-issues mailing list