Skip to content

update URLs to download data from dgraph-benchmarks repo #9404

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

mangalaman93
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 9, 2025 19:43
@mangalaman93 mangalaman93 requested a review from a team as a code owner May 9, 2025 19:43
@github-actions github-actions bot added area/testing Testing related issues go Pull requests that update Go code labels May 9, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the URLs used for downloading data from the dgraph-benchmarks repository. It replaces GitHub blob URLs with raw and media URLs for schema and RDF files and updates the base URL used for LDBC files.

  • Updated datafiles map with new raw/media URL patterns
  • Changed the baseUrl for LDBC files to the media.githubusercontent.com endpoint
  • Simplified the assignment in the downloadLDBCFiles function
Comments suppressed due to low confidence (2)

t/t.go:884

  • The updated URLs in the datafiles map use different hostnames (raw.githubusercontent.com for some files and media.githubusercontent.com for others). Please ensure the differences are intentional (e.g., based on file type) and document the reasoning if necessary.
"1million-noindex.schema": "https://raw.githubusercontent.com/hypermodeinc/dgraph-benchmarks/refs/heads/main/data/1million-noindex.schema",

t/t.go:891

  • Since the new baseUrl no longer uses the GitHub blob interface, verify that appending the query parameter suffix ('?raw=true') in subsequent URL constructions is still required, or adjust if not needed.
var baseUrl = "https://media.githubusercontent.com/media/hypermodeinc/dgraph-benchmarks/refs/heads/main/ldbc/sf0.3/ldbc_rdf_0.3/"

@mangalaman93 mangalaman93 enabled auto-merge (squash) May 9, 2025 20:23
@mangalaman93 mangalaman93 merged commit eb5a229 into main May 9, 2025
13 checks passed
@mangalaman93 mangalaman93 deleted the aman/raw branch May 9, 2025 20:37
Copy link

trunk-io bot commented May 9, 2025

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Testing related issues go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

2 participants