Hi Airbyte Community. I have recently started wor...
# replication-troubleshooting
m
Hi Airbyte Community. I have recently started working on Airbyte (replacing Singer API). Issue i am facing is that while trying to sync data from mongo db to AWS s3 location, few columns are being missed in tables. For instance, Consider a table users with columns user_id, name, location,phone_num While the sync is performed, column 'location' is missed, while it is present in mongo db. In Airbyte UI also column location is not being shown. I tried to figure out this issue via Octavia CLI, but could not find any way that columns can be defined. Just wanted to mention that this column has ~70% nan values. But going with the fact that even for 30% data the column should not be missed. P.S. I am re-posting this issue just to get support, as earlier posted it on a Friday evening.
đź‘€ 1
n
Hi, Manjul. Double posting questions goes against our code of conduct, please familiarize yourself with it: https://docs.airbyte.com/project-overview/slack-code-of-conduct/ The thread you started on Friday has been assigned to another team member, I will ask them to prioritize it!
m
Hi Nataly Sincere apologies. I was not aware of such a rule. I posted the query on a Friday evening and i was told that the airbyte open community is mostly off on weekends so felt the need to repost. Such a mishap won't ever happen again.
s
Hey @Manjul Tripathi, what version connectors are you using for mongodb and s3? Are there any logs you can share?
m
Hi Saj Thanks for taking this up. Current version of connectors that i am using is 0.1.19(please refer to 1st ss) Sharing logs file along with
cc: @Sachin Tripathi @Vaidehi Khalpada
s
@Saj Dider (Airbyte) @Nataly Merezhuk (Airbyte) We are currently considering Airbyte as a replacement for singer-io because of its user-friendly UI and code reduction features. However, we are facing an issue where Airbyte is unable to detect certain columns in our source (Atlas hosted on AWS), which is a significant concern for us. As we have a deadline to finalize an alternative before the end of this week(9th-10th march 2023), we would greatly appreciate any assistance from your team to address this issue. We believe that Airbyte has the potential to be an excellent solution for our needs, and we are looking forward to your support in making this happen.
@Saj Dider (Airbyte) do you have some time to suggest on some of the steps to be followed here so that we can try that out and explore
s
Hey @Sachin Tripathi the MongoDB connector is still in alpha so there might be bugs or missing features that are causing problems here. It looks like you are running an incremental sync and there are a few missing columns from a few different tables. Is that correct? Does a full refresh sync work with this particular connection? Do you happen to know the datatypes of the missing columns which aren’t replicated to the destination? Perhaps there is something in common to them. Furthermore if you are using an incremental sync, make sure to set a cursor, otherwise it may lead to problems. And using the latest version of Airbyte is recommended as there were some issues with v40.32. Let me know if this helps!
s
@Saj Dider (Airbyte) t looks like you are running an incremental sync and there are a few missing columns from a few different tables. Is that correct? -- This is correct Does a full refresh sync work with this particular connection? -- Full refresh has the same missing columns Do you happen to know the datatypes of the missing columns which aren’t replicated to the destination -- most of them are int dtypes but then some are string type as well The only common thing which I can think of is most of them are newly created fields in mongoDB source, but I have refreshed the schema multiple times and that have added other newly added fields and tables I will upgrade the airbyte and verify if the issue persists
m
Hi @Saj Dider (Airbyte) We updated Airbyte to version 0.41.0 (previously it was 0.40.26) and redefined source and destination Yet, columns are missing wrt mongo db. Missing columns are not being shown in UI itself. Please shed some light as to how to resolve this!
Hi @Saj Dider (Airbyte) Just a gentle reminder for the above issue. Please ,when possible, do suggest probable steps to resolve above.
Hi @Saj Dider (Airbyte) One more thing that i wanted to ask is that when trying to access, tables schema changes through UI(refer ss-1) the process always breaks down
s
Hey @Manjul Tripathi, unfortunately this seems to be a limitation with the MongoDB connector at this time. The way the connector works is it polls some of the elements in the collection to create the schema. With large collections however, the connector might not identify all of the properties and thus I believe lead to the missing columns issue you are experiencing. I’m not sure if this will work but perhaps splitting up the collection into smaller collections/connections might potentially lead to a good sync but I am unsure. Sorry I couldn’t be of more help.
v
Hi @Saj Dider (Airbyte), using CLI to set up connection also results in same/more number of missing columns from MongoDB (similar to Airbyte UI) cc: @Manjul Tripathi @Sachin Tripathi
Hi @Saj Dider (Airbyte) @Natalie (Airbyte) When we used UI to setup connection from MongoDB to S3, there were a lot of missing columns. So we used Octavia CLI for the same but again there were a lot of missing columns. Please help us with the same. PS: The data type of missing columns are string and int.