Skip to content

Conversation

@Josipmrden
Copy link
Contributor

@Josipmrden Josipmrden commented Mar 7, 2025

Description

Add migration module from Neo4j.
Usage:

CALL migrate.neo4j("(:Label)", {host: "localhost", port: 7687}) YIELD row RETURN row.labels, row.properties;

CALL migrate.neo4j("[:TYPE]", {host: "localhost", port: 7687}) YIELD row RETURN row.from_labels, row.to_labels, row.from_properties, row.to_properties, row.edge_properties;

WITH "MATCH (n) RETURN count(n) as cnt" as query
CALL migrate.neo4j(query, {host: "localhost", port: 7687}) YIELD row RETURN row.cnt;

@Josipmrden Josipmrden added Docs needed Docs needed feature feature Effort - Low Effort - Low labels Mar 7, 2025
@Josipmrden Josipmrden self-assigned this Mar 7, 2025
@Josipmrden Josipmrden changed the title Add migration from neo4j Add migration from Neo4j Mar 7, 2025
@Josipmrden Josipmrden requested a review from gitbuda March 7, 2025 15:27
@gitbuda gitbuda added this to the mage-v3.1.1 milestone Mar 19, 2025
@Josipmrden Josipmrden requested a review from imilinovic March 21, 2025 10:59
@Josipmrden Josipmrden removed this from the mage-v3.1.1 milestone Mar 21, 2025
Josipmrden and others added 3 commits March 24, 2025 13:48
@Josipmrden Josipmrden marked this pull request as ready for review March 24, 2025 12:49
@Josipmrden
Copy link
Contributor Author

Josipmrden commented Mar 24, 2025

Pull request type

  • Bugfix
  • Algorithm/Module
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Related issues

Delete if this PR doesn't resolve any issues. Link the issue if it does.

######################################

Reviewer checklist (the reviewer checks this part)

Module/Algorithm

  • Core algorithm/module implementation
  • Query module implementation
  • Tests provided (unit / e2e)
  • Code documentation
  • README short description

Documentation checklist

  • Add the documentation label tag
  • Add the bug / feature label tag
  • Add the milestone for which this feature is intended
    • If not known, set for a later milestone
  • Write a release note, including added/changed clauses
    • Added migration module from Neo4j. Users can now seamlessly insert data by using one single Cypher query to migrate their data from Neo4j. Query is performed with the CALL migrate.neo4j() procedure #557
  • Link the documentation PR here
  • Tag someone from docs team in the comments @katarinasupe

Copy link
Contributor

@imilinovic imilinovic left a comment

Choose a reason for hiding this comment

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

Two small comments

@sonarqubecloud
Copy link

@Josipmrden Josipmrden added this pull request to the merge queue Mar 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 25, 2025
@Josipmrden Josipmrden added this pull request to the merge queue Mar 25, 2025
Merged via the queue into main with commit 55c98ff Mar 25, 2025
10 checks passed
@Josipmrden Josipmrden deleted the migrate-from-neo4j branch March 25, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Docs needed Docs needed Effort - Low Effort - Low feature feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants