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

Altered Table Column Mismatch #174

Open
MrFaircloth opened this issue Apr 9, 2024 · 0 comments
Open

Altered Table Column Mismatch #174

MrFaircloth opened this issue Apr 9, 2024 · 0 comments

Comments

@MrFaircloth
Copy link

Hello! New to meltano and am running into an odd issue.

On meltano run tap-sftp target-snowflake, running into an issue where a column is inferred as a different data type.
Seems to flip between VARCHAR and FLOAT

[2024-04-07, 00:02:22 UTC] name=target_snowflake level=INFO message=Table TAP_SFTP."DESTINATION_TABLE" exists
[2024-04-07, 00:02:22 UTC] name=target_snowflake level=INFO message=Versioning column: ALTER TABLE TAP_SFTP."DESTINATION_TABLE" RENAME COLUMN "COLUM_NAME" TO "COLUMN_NAME_20240407_0002"
[2024-04-07, 00:02:22 UTC] name=target_snowflake level=INFO message=Adding column: ALTER TABLE TAP_SFTP."DESTINATION_TABLE" ADD COLUMN "COLUM_NAME" float

Results in

Number of columns in file (66) does not match that of the corresponding table (67), use file format option error_on_column_count_mismatch=false to ignore this error

Is there a way to specify column types and prevent the column versioning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant