-
Notifications
You must be signed in to change notification settings - Fork 2
fix(migrate): fixed duckdb syntax issue #50
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
Conversation
Reviewer's Guide by SourceryThis pull request fixes a syntax issue with DuckDB by removing backticks around column names in table creation statements and SQL queries. This change ensures compatibility with DuckDB's SQL syntax. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request addresses a DuckDB SQL syntax issue by removing backticks from table and column names in migration-related SQL queries.
- Removed backticks in CREATE TABLE statements for sqle_migrations and sqle_rotations.
- Updated SQL query strings in isMigrated and startRotate functions to use unquoted identifiers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @cnlangzi - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider using constants for column names to avoid duplication and potential typos.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #50 +/- ##
=======================================
Coverage 75.71% 75.71%
=======================================
Files 46 46
Lines 2368 2368
=======================================
Hits 1793 1793
Misses 456 456
Partials 119 119
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Here's the code health analysis summary for commits Analysis Summary
|
Summary by Sourcery
Bug Fixes: