hi:
I use spark extract data from orientdb to hive, my code is
val uidDF = spark.read.format("org.apache.spark.orientdb.graphs") .option("dburl", URL) .option("user", USER) .option("password", PASSWORD) .option("class", "uid") .option("vertextype", "uid") .load() uidDF.printSchema()
and returns
root |-- idx: string (nullable = true) |-- timestamp: long (nullable = true)
I want get @Rid, because propertise of edge "in" and "out" is @Rid
thx
hi:
I use spark extract data from orientdb to hive, my code is
val uidDF = spark.read.format("org.apache.spark.orientdb.graphs") .option("dburl", URL) .option("user", USER) .option("password", PASSWORD) .option("class", "uid") .option("vertextype", "uid") .load() uidDF.printSchema()and returns
root |-- idx: string (nullable = true) |-- timestamp: long (nullable = true)I want get @Rid, because propertise of edge "in" and "out" is @Rid
thx