@@ -841,7 +841,7 @@ public void testGeoOutputTypes() throws Throwable {
841
841
regularStatement , false , "geoJson" , "OBJECT" , "java.lang.String" , Types .STRUCT );
842
842
843
843
testGeoOutputTypeSingle (
844
- regularStatement , true , "geoJson" , "GEOGRAPHY" , "java.lang.String" , Types .STRUCT );
844
+ regularStatement , true , "geoJson" , "GEOGRAPHY" , "java.lang.String" , Types .VARCHAR );
845
845
846
846
testGeoOutputTypeSingle (
847
847
regularStatement , false , "wkt" , "VARCHAR" , "java.lang.String" , Types .VARCHAR );
@@ -989,10 +989,10 @@ public void testGeometryOutputTypes() throws Throwable {
989
989
"insert into t_geo2 values ('POINT(0 0)'), ('LINESTRING(1 1, 2 2)')" );
990
990
991
991
testGeometryOutputTypeSingle (
992
- regularStatement , true , "geoJson" , "GEOMETRY" , "java.lang.String" , Types .STRUCT );
992
+ regularStatement , true , "geoJson" , "GEOMETRY" , "java.lang.String" , Types .VARCHAR );
993
993
994
994
testGeometryOutputTypeSingle (
995
- regularStatement , true , "wkt" , "GEOMETRY" , "java.lang.String" , Types .STRUCT );
995
+ regularStatement , true , "wkt" , "GEOMETRY" , "java.lang.String" , Types .VARCHAR );
996
996
997
997
} finally {
998
998
if (regularStatement != null ) {
0 commit comments