-
Notifications
You must be signed in to change notification settings - Fork 215
Mongodb -> Postgres :: unsupported type mejson #314
Comments
@remotevision thanks for the details in the issue report. it looks like you're also using 2 JS transformer functions. Can you provide the pipeline.js and the JS transformer functions being used? |
absolutely. Here you go. pipeline.js
venue-remove-fields.js (stuff at the bottom is for troubleshooting)
venue-rename-fields.js
|
ok, I think I see the problem, not sure I'll have time to get anything pushed up this weekend but will get to it for sure on Monday. |
@remotevision I just published v0.2.2 to see if it addresses your issue, please grab a binary from https://github.com/compose/transporter/releases/tag/v0.2.2. |
postgres adaptor tests updated with new column for complex table to test the case where field is an array of map[string]interface{} fixes #314
Awesome, I'll try it out tonight. Thanks for the quick response! |
postgres adaptor tests updated with new column for complex table to test the case where field is an array of map[string]interface{} fixes #314
postgres adaptor tests updated with new column for complex table to test the case where field is an array of map[string]interface{} fixes #314
postgres adaptor tests updated with new column for complex table to test the case where field is an array of map[string]interface{} fixes #314
@jipperinbham thanks for the quick turnaround! just wanted to let you know this worked and everything is good to go. |
@remotevision awesome! glad things are working as expected for you now. just a heads up, we just put out v0.3.0 which was a major overhaul to running transporter, you may want to take a look at the new native transformers ( |
great to see these added to v0.3.x. I'm having an issue getting my same pipeline setup with the v0.3 version however. digging in more before opening an issue. |
Directions
I am using
transporter
to migrate MongoDB data to Postgres. One issue I've run into is when I have a JSON array stored in Mongo. For this particular piece of data, I would like to store it as JSON in Postgres as well but get the following error.Example of the value it errors on:
System info:
Transporter version
v0.2.1
OS
Mac OSX (Sierra)
DB version(s)
Mongodb v2.6.3
Postgres v9.5.5
Proposal:
Add support for JSON in the Postgres adapter.
The text was updated successfully, but these errors were encountered: