Skip to content

Fix automatic index creation on ParalleLoader - #610

Merged
gsaluja9 merged 3 commits into
developfrom
fix_index_creation_paralleloader
Sep 3, 2025
Merged

gsaluja9 merged 3 commits into
developfrom
fix_index_creation_paralleloader

Conversation

@luisremis

@luisremis luisremis commented Sep 2, 2025 •

Copy link
Copy Markdown
Contributor

This PR is blocking: https://github.com/aperture-data/athena/pull/1726
After merging this PR, a new python sdk release is needed to unblock it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 fixes the automatic index creation functionality in the ParallelLoader by simplifying and correcting the index creation logic. The fix addresses issues in the query_setup method where the original implementation had flawed logic for iterating through schema types and properties.

  • Simplifies the nested loop structure for index creation by separating entity and connection index creation into distinct sections
  • Removes incorrect schema validation logic that was preventing proper index creation
  • Eliminates redundant logging for existing indexes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread aperturedb/ParallelLoader.py Resolved
Comment thread aperturedb/ParallelLoader.py Resolved

@gsaluja9 gsaluja9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm.

@gsaluja9
gsaluja9 merged commit f19a6de into develop Sep 3, 2025
@gsaluja9
gsaluja9 deleted the fix_index_creation_paralleloader branch September 3, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants