[ https://issues.apache.org/jira/browse/DRILL-5962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253780#comment-16253780 ]
ASF GitHub Bot commented on DRILL-5962: --------------------------------------- Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/1036#discussion_r151184679 --- Diff: contrib/gis/src/test/java/org/apache/drill/exec/expr/fn/impl/gis/TestGeometryFunctions.java --- @@ -49,6 +50,28 @@ public void testGeometryPointCreation() throws Exception { } @Test + public void testJSONFromPointCreation() throws Exception { + testBuilder() + .sqlQuery("select ST_AsJSON(ST_Point(-121.895, 37.339)) " + + "from cp.`/sample-data/CA-cities.csv` limit 1") + .ordered().baselineColumns("EXPR$0") --- End diff -- Please put `baselineColumns("EXPR$0")` to the new line. > Add function STAsJSON to extend GIS support > ------------------------------------------- > > Key: DRILL-5962 > URL: https://issues.apache.org/jira/browse/DRILL-5962 > Project: Apache Drill > Issue Type: Bug > Components: Functions - Drill > Reporter: Chris Sandison > Assignee: Chris Sandison > Priority: Minor > Original Estimate: 3h > Remaining Estimate: 3h > > Add function as wrapper to ESRI's `asJson` -- This message was sent by Atlassian JIRA (v6.4.14#64029)