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

Enhance postgres parser test #105

Merged
merged 5 commits into from
Nov 28, 2024
Merged

Conversation

FunamaYukina
Copy link
Member

@FunamaYukina FunamaYukina commented Nov 28, 2024

Summary

In PR #93, tests for schemarb's parse process were added. In this PR, I've added tests for PostgreSQL.

Related Issue

Changes

c551919 : add test for Postgresql parser

b9e95ed: fix parsing process (ex. type)

Testing

Other Information

@FunamaYukina FunamaYukina self-assigned this Nov 28, 2024
@@ -5,7 +5,52 @@ exports[`parse > should parse postgresql to JSON correctly 1`] = `
"relationships": {},
"tables": {
"users": {
"columns": {},
Copy link
Member Author

@FunamaYukina FunamaYukina Nov 28, 2024

Choose a reason for hiding this comment

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

There was a mistake in resolving the conflict in PR #90, so I fixed it🙏.

@FunamaYukina FunamaYukina marked this pull request as ready for review November 28, 2024 07:08
@FunamaYukina FunamaYukina requested a review from a team as a code owner November 28, 2024 07:08
@FunamaYukina FunamaYukina requested review from hoshinotsuyoshi, junkisai, MH4GF and sasamuku and removed request for a team November 28, 2024 07:08
Copy link
Member

@MH4GF MH4GF left a comment

Choose a reason for hiding this comment

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

Thanks!!

Co-authored-by: Hirotaka Miyagi <[email protected]>
@FunamaYukina
Copy link
Member Author

Thanks for reviewing this PR!

@FunamaYukina FunamaYukina added this pull request to the merge queue Nov 28, 2024
Merged via the queue into main with commit 882f063 Nov 28, 2024
7 checks passed
@FunamaYukina FunamaYukina deleted the enhance-postgres-parser-test branch November 28, 2024 08:27
typeof node.String === 'object' &&
node.String !== null &&
'str' in node.String &&
node.String.str !== 'pg_catalog'
Copy link
Member

Choose a reason for hiding this comment

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

📝 system catalog

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