Skip to content
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

IBM DB2 migration #868

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

IBM DB2 migration #868

wants to merge 4 commits into from

Conversation

Josipmrden
Copy link
Contributor

Description

Migration module from IBM DB2 to Memgraph has been added

Pull request type

Please check what kind of PR this is:

  • Fix or improvement of an existing page
  • New documentation page, release related

Related PRs and issues

PR this doc page is related to:
memgraph/mage#481

Closes:
(paste the link to the issue it closes)

Checklist:

  • Check all content with Grammarly
  • Perform a self-review of my code
  • Make corresponding changes to the rest of the documentation (consult with the DX team)
  • The build passes locally
  • My changes generate no new warnings or errors
  • Add a corresponding label
  • If release-related, add a product and version label
  • If release-related, add release note on product PR

Copy link

vercel bot commented Jun 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 10:23am

With the `migrate.db2()` procedure you can access IBM DB2 and migrate your data
to Memgraph. The result table is converted into a stream, and the returned rows can
be used to create graph structures. The value of the `config` parameter must be
at least an empty map. If `config_path` is passed, every key-value pair from
Copy link
Contributor

Choose a reason for hiding this comment

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

s/at least an empty map/a map, either empty or populated with configuration key/value pairs

host:'localhost',
database:'demo_db'} )
YIELD row
RETURN count(row);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why count(row) here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

modified the examples to be without counts and with arbitrary cypher functionalities.


{<h4> Usage: </h4>}

To get all data from database in form of map, use the following query:
Copy link
Contributor

Choose a reason for hiding this comment

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

s/get/inspect

@kgolubic kgolubic changed the base branch from main to memgraph-2-18 June 26, 2024 13:22
kgolubic
kgolubic previously approved these changes Jun 26, 2024
Copy link
Contributor

@kgolubic kgolubic left a comment

Choose a reason for hiding this comment

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

Once Hal's comments are addressed, this PR is good to go.

@kgolubic kgolubic added the future release For one of the next versions label Jun 26, 2024
@Josipmrden
Copy link
Contributor Author

@kgolubic please wait until the MAGE PR gets merged (no milestone for now so not critical).

@kgolubic kgolubic removed the future release For one of the next versions label Jul 3, 2024
Base automatically changed from memgraph-2-18 to main July 3, 2024 17:11
@kgolubic kgolubic dismissed their stale review July 3, 2024 17:11

The base branch was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer status: ready PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants