[
https://issues.apache.org/jira/browse/TINKERPOP-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147002#comment-18147002
]
ASF GitHub Bot commented on TINKERPOP-2558:
-------------------------------------------
GumpacG commented on code in PR #3809:
URL: https://github.com/apache/tinkerpop/pull/3809#discussion_r4622674438
##########
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/language/translator/GremlinTranslatorTest.java:
##########
@@ -1577,6 +1665,250 @@ public static Collection<Object[]> data() {
"g.inject(new PrimitivePDT(\"Uint32\", \"42\"))",
"g.inject(new PrimitivePDT(\"Uint32\", \"42\"))",
"g.inject(PrimitivePDT('Uint32', '42'))"},
+ // a geometry literal passes through in gremlin-lang with
its keyword and arguments as written and
+ // its arguments separated by ", ", while the JVM
languages read the value back from its WKT and
+ // the non-JVM translators reject it
+ {"g.inject(Geometry(\"POINT(1 2)\"))",
+ null,
+ "g.inject(geometry0)",
Review Comment:
The anonymized translator now names a geometry by its kind, such as point0.
> GEO Spatial APIs
> ----------------
>
> Key: TINKERPOP-2558
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2558
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.5.0
> Reporter: Jitesh
> Priority: Major
>
> Provide support for Geo based APIs (predicates, objects, etc)
>
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)