Skip to content

Commit

Permalink
use custom schema for edge
Browse files Browse the repository at this point in the history
  • Loading branch information
acezen committed May 21, 2024
1 parent 1846a4c commit 2a0eb11
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ object LdbcSample2GraphAr {
writer.PutVertexData("Person", person_df)

// read edges with type "Person"->"Knows"->"Person" from given path as a DataFrame
// FIXME(@acezen): the schema should be inferred from the data
// FIXME(@acezen): the schema should be inferred from the data, but graphar spark
// library does not support timestamp type yet
val schema = StructType(
Array(
StructField("src", IntegerType, true),
Expand Down

0 comments on commit 2a0eb11

Please sign in to comment.