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.
---