You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@atlas.apache.org by Viking K <cy...@hotmail.com> on 2019/05/23 14:12:53 UTC

Reserved characters in search/basic

Hi

I hit a confusing error while searching for hive columns in atlas.

If one of the filter expressions contains a "v." atlas throws  invalid expression.
Is "v." some kind of reserved keyword?

I am using the . to eliminate temporary columns stored in atlas.
Any ideas how I can implement a "." in the filter expressions?

[cid:41462372-30e1-4fe8-85d6-63e61936dadd]


I am using an older version of atlas:
        project.name:   apache-atlas
        project.description:    Metadata Management and Data Governance Platform over Hadoop
        build.user:     jenkins
        build.epoch:    1544041773072
        project.version:        0.8.0.2.6.5.92-1
        build.version:  0.8.0.2.6.5.92-1-r9049f50388aa59f765a39e23e766ba5d7466f006
        vc.revision:    9049f50388aa59f765a39e23e766ba5d7466f006
        vc.source.url:  scm:git:git://git.apache.org/atlas.git/atlas-webapp


Errors
2019-05-23 16:10:36,351 ERROR - [pool-2-thread-11 - 3b15d8e3-8643-47ca-9d78-8caeb00c9310:XXXX:POST/api/atlas/v2/search/basic] ~ graph rollback due to exception  (GraphTransactionIn
terceptor:71)
java.lang.IllegalArgumentException: Found reference to empty key at position [85]
        at atlas.shaded.titan.guava.common.base.Preconditions.checkArgument(Preconditions.java:119)
        at com.thinkaurelius.titan.graphdb.database.IndexSerializer.executeQuery(IndexSerializer.java:625)
        at com.thinkaurelius.titan.graphdb.query.graph.IndexQueryBuilder.execute(IndexQueryBuilder.java:183)
        at com.thinkaurelius.titan.graphdb.query.graph.IndexQueryBuilder.vertices(IndexQueryBuilder.java:202)
....

/Viking