Add support for year as a primary key#3059
Add support for year as a primary key#3059VardhanThigle merged 5 commits intoGoogleCloudPlatform:mainfrom
year as a primary key#3059Conversation
Summary of ChangesHello @gpalanisamyYopp, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request enhances the 'sourcedb-to-spanner' migration tool by adding comprehensive support for the MySQL 'YEAR' data type. It establishes the necessary mapping for 'YEAR' to a numeric type during schema discovery and migration to Spanner, complemented by new test cases to ensure accurate data type conversion and integrity. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
v2/sourcedb-to-spanner/src/test/resources/DataTypesIT/mysql-data-types.sql
Show resolved
Hide resolved
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3059 +/- ##
============================================
+ Coverage 50.42% 55.67% +5.24%
+ Complexity 5022 1614 -3408
============================================
Files 969 468 -501
Lines 59548 26352 -33196
Branches 6493 2772 -3721
============================================
- Hits 30030 14672 -15358
+ Misses 27397 10789 -16608
+ Partials 2121 891 -1230
🚀 New features to boost your workflow:
|
|
Please fix spotless. I will re-trigger the workflows after that's done. |
…gpalanisamyYopp/DataflowTemplates into source-to-spanner-mysql-year-pk
|
Thanks for fixing spotless.Looks good to me. Waiting for ITs to pass before merge. |
|
Test Failure for too many Dataflow requests. Rerunning the tests.... |
year as a primary key
301cd41
into
GoogleCloudPlatform:main
* add YEAR mapping * orrect expectedData for YEAR column * fix spotless error
* add YEAR mapping * orrect expectedData for YEAR column * fix spotless error
* add YEAR mapping * orrect expectedData for YEAR column * fix spotless error
* add YEAR mapping * orrect expectedData for YEAR column * fix spotless error
No description provided.