-
Notifications
You must be signed in to change notification settings - Fork 250
[DO NOT MERGE] feat: LDBC benchmark and tests #547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
[DO NOT MERGE] feat: LDBC benchmark and tests #547
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
if (Files.notExists(resourcesDir)) { | ||
Files.createDirectory(resourcesDir) | ||
} | ||
val connection = LDBCUrl.openConnection() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We’re doing this manually to avoid a dependency, I take it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rjurney For me, the perfect solution would be to grate the repository graphframes/graphframes-testing
, place all the LDBC data here, add downloading scripts and use it as a git submodule in main graphframes. What do you think about it?
.text(resourcesDir.resolve(properties.getProperty(s"graph.${caseName}.edge-file")).toString) | ||
.withColumn("split", split(col("value"), " ")) | ||
.select( | ||
col("split").getItem(0).cast(LongType).alias(GraphFrame.SRC), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing here, for CSV?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are right, I can read as a CSV with schema and a space as a separator.
val enabled = spark.conf.getOption("spark.sql.adaptive.enabled") | ||
try { | ||
// disable AQE | ||
spark.conf.set("spark.sql.adaptive.enabled", value = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why disable AQE? I’ve found some algorithms can be painfully slow without it. Avoid bugs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR at the moment is for testing / sharing / discussions. I was trying to disable the AQE after thread in mailing list
What changes were proposed in this pull request?
Why are the changes needed?