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

fix: Query modification and Refresh Client Issue #1003

Merged
merged 4 commits into from
Feb 4, 2025

Conversation

taherkl
Copy link
Contributor

@taherkl taherkl commented Feb 4, 2025

  1. Updated the query to get constraint details. Issue fixed when the same constraint names are used across different databases.
  2. Additional error handling when SchemaToSpannerDDL fails.
  3. Added RefreshSpannerClient call for VerifyCheckConstraintExpression API call

* fix: bug fixes
1. added refresh client on prepare migration click
2. error handling at load of schema

---------

Co-authored-by: Vivek Yadav <vivek.yadav@ollion.com>
@taherkl taherkl requested a review from a team as a code owner February 4, 2025 16:11
@taherkl taherkl requested review from asthamohta and shreyakhajanchi and removed request for a team February 4, 2025 16:11
@taherkl taherkl changed the title BugFix - Query modification and Refresh Client Issue fix: Query modification and Refresh Client Issue Feb 4, 2025
taherkl and others added 3 commits February 4, 2025 21:53
* Align the query

* Update infoschema.go
@asthamohta asthamohta merged commit cd65e73 into GoogleCloudPlatform:master Feb 4, 2025
4 checks passed
pratickchokhani pushed a commit to pratickchokhani/spanner-migration-tool that referenced this pull request Feb 6, 2025
…#1003)

* Fix: bug fixes related to refresh client and error handling (GoogleCloudPlatform#85)

* fix: bug fixes
1. added refresh client on prepare migration click
2. error handling at load of schema

---------

Co-authored-by: Vivek Yadav <vivek.yadav@ollion.com>

* query change

* fix incorrect query

* Align the query (GoogleCloudPlatform#87)

* Align the query

* Update infoschema.go

---------

Co-authored-by: Vivek Yadav <105432992+VivekY1098@users.noreply.github.com>
Co-authored-by: Vivek Yadav <vivek.yadav@ollion.com>
Co-authored-by: taherkl <taher.lakdawala@ollion.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants