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

If source type is incompatible with duckdb types, convert type to VARCHAR #56

Open
elefeint opened this issue Oct 10, 2024 · 0 comments
Assignees

Comments

@elefeint
Copy link
Contributor

When the incoming Postgres type is NUMERIC(65, 30), the table fails to be created with

INTERNAL: Could not create table <"db_replica"."banana_board_public"."packout_entry">Parser Error: Width must be between 1 and 38!

If a too-wide type is detected, autoconvert it to VARCHAR to avoid losing data but still allow the table creation / sync to proceed.

@elefeint elefeint self-assigned this Oct 10, 2024
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