[
https://issues.jboss.org/browse/TEIID-4331?page=com.atlassian.jira.plugin...
]
Van Halbert commented on TEIID-4331:
------------------------------------
{code}
public class MakePoint {
public static final double NULL_ORDINATE = Double.NaN;
public static Clob createPoint(double x, double y) {
return new ClobImpl("'POINT(" + String.valueOf(x) + " " +
String.valueOf(y) + ")'");
}
public static Clob createPoint(double x, double y, double z) {
return new ClobImpl("'POINT(" + String.valueOf(x) + " " +
String.valueOf(y) + " " + NULL_ORDINATE + ")'");
}
}
{code}
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
Reporter: Tom Johnston
Assignee: Steven Hawkins
Attachments: gis-1.0.0.jar
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)