-
Notifications
You must be signed in to change notification settings - Fork 126
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
Make data type mappings for fast-sync and singer configurable #389
Comments
hey @EamonKeane thanks for the feedback and sorry for the late response. Regarding the You're right, the custom column type mapping would be useful but it needs to be consistent across fast-sync and singer. Unfortunately making it configurable in the yaml is not trivial. That's because only fastsync has direct source-to-target datatype mappings. Singer requires two different mappings, a source-to-JSON and a JSON-to-target mappings.. and for each connector type. At the moment I don't know how we could make it configurable in YAML and what format would be the best and easy to use. Please share if you have any idea. Regarding the missing |
Thanks for the reply @koszti . I hadn't seen that issue on tap-mysql. Good point on the multiple places it needs to be changed, sounds tricky. This might just be a one-off issue with a mysql deficiency, in which case as long as the column types remain consistent across fast-sync and singer (no versioned columns after first incremental load), it might not be worth the effort for yaml input. I guess in theory a fast-sync flag just for mysql-tinyint could be added and two versions of pipelinewise-tap-mysql maintained if it impacted enough folks. Or else a note could just be added in the docs somewhere along the lines of:
|
Thanks for the great tool, you're saving people a king's ransom vs fivetran pricing.
While I'm unfortunately not in a position to contribute, I would like to just put this feature suggestion out there. It would be useful to have a yaml input of data type mappings which is flexible and consistent across fast-sync and singer.
In my use case with mysql to snowflake for example tinyint(1) wasn't always boolean, so needed to be patched in both fast-sync and singer. Mediumint wasn't present in the list either.
The text was updated successfully, but these errors were encountered: