Repository navigation
Adds a class that can iterate over Croissant datasets and generate queries to persist them to ApertureDB. - #594
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for ingesting Croissant datasets into ApertureDB and refactors the ingestion logic to centralize processing via a new helper function.
- Introduces a new command (from_croissant) to ingest Croissant datasets.
- Refactors ingestion pipelines by extracting processing logic into _process_data.
- Applies minor fixes to JSON dumping across multiple files and updates comment formatting in CSV parsing.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| aperturedb/cli/ingest.py | Refactored ingestion pipeline; added from_croissant cmd |
| aperturedb/MLCroissant.py | Added module for handling Croissant dataset metadata |
| aperturedb/EntityUpdateDataCSV.py | Updated CSV parser comments formatting |
| aperturedb/Connector.py | Updated JSON dumping in query serialization |
| aperturedb/CommonLibrary.py | Updated JSON dumping in error logging |
This has been incorrectly reporting exit code for tee.
gsaluja9
marked this pull request as ready for review
June 17, 2025 21:14
also json.dump should not coerce string to be ASCII
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This can be invoked as follows:
For a dry run (all the generated queries in files in cwd):
Without the trailing --debug to actually run these queries on ApertureDB.
TODO: