I have a Person
label with a created
property defined:
schema.propertyKey(“created”).Timestamp().single().create()
I get the error below when trying to use DseGraphFrame to filter for the Person label using the created
property in dse spark
:
scala> g.V().hasLabel(“Person”).has(“created”, P.gt("2018-10-07T14:46:26.790Z")).count().next()
org.apache.spark.sql.AnalysisException: cannot resolve '(
created
> 1538923586790L)' due to data type mismatch: differing types in '(created
> 1538923586790L)' (timestamp and bigint).;; 'Filter ((~label#270 = Person) && (created#280 > 1538923586790))…
Any idea why?