You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, this part of the error message, couldn't read row while fetching interleaved tables, seems to be a copy-paste error. Error line in GetIndexes() vs error line in GetInterleaveTables().
Steps to Reproduce the Problem
Create a PostgreSQL database with one table and one index (indexes don't really matter, but for the purposes of this error we'll include one)
Run a schema-only migration from PostgreSQL to a PostgreSQL-dialect Spanner database
Restart SMT
Run a data-only migration from PostgreSQL to the database created before
Specifications
Version: v3.1.1
Platform:
# Server running SMT
> uname -a
Linux <redacted> 6.1.0-11-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-4 (2023-08-08) x86_64 GNU/Linux
> go version
go version go1.21.0 linux/amd64
# Browser
Chrome Version 117.0.5938.92 (Official Build) (x86_64) on MacOS 13.5.2
The text was updated successfully, but these errors were encountered:
joshbautista
changed the title
Data-only Migration Fails on PostgreSQL-Dialect Target
Data-only migration fails on PostgreSQL-dialect target
Sep 26, 2023
Expected Behavior
Migration succeeds.
Actual Behavior
Migration throws an error:
SELECT DISTINCT
is not currently supported with PostgreSQL dialect databases:https://cloud.google.com/spanner/docs/reference/postgresql/query-syntax#select
Also, this part of the error message,
couldn't read row while fetching interleaved tables
, seems to be a copy-paste error.Error line in
GetIndexes()
vs error line inGetInterleaveTables()
.Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: