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

Casting errors when using Redshift as a data source #1549

Open
2 tasks
ChrisKonishi opened this issue Dec 6, 2023 · 0 comments
Open
2 tasks

Casting errors when using Redshift as a data source #1549

ChrisKonishi opened this issue Dec 6, 2023 · 0 comments

Comments

@ChrisKonishi
Copy link

  • pgloader --version
pgloader version "3.6.7~devel"
compiled with SBCL 2.1.11.debian
  • did you test a fresh compile from the source tree?

No


I've been trying to migrate from Redshift to Postgres with a simple command

load database
    from uri
    into uri
including only table names matching 'table' in schema 'schema'
with
    data only
;

(The table is already created)

But I get the following error message:

Database error 42846: cannot cast type boolean to character varying

followed by a query. I won't show the query, but it is something like this

SELECT boolean_column::text ...

which causes the error

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

No branches or pull requests

1 participant