Hello! I am running into an issue with exporting d...
# replication-troubleshooting
c
Hello! I am running into an issue with exporting data from redshift to an s3 bucket with root level flattenting. the __airbyte_ad_id and _airbyte__emitted_at are included in the __airbyte__data. Any thoughts on how we can omit these tables? cc: @brad
Do we need to do something to omit these tables when importing data from rds -> redshift
Follow up, when using custom transformations, can we use raw json data? Or do we need to the normalized tabular data
u
Hello Corbin, those fields are used by Airbyte internally. You can create a custom transformation to have a final table without those fields but today isn't possible to remove/disable them.
c
@Marcos Marx (Airbyte) The issue we are running into is that when we go to flatten the data into a csv file in S3 from redshift, the job fails b/c Airbyte tries to add those fields to the airbyte_data column that already has the airbyte identifier fields. We also can not specify a transformation in the redshift source connector
u
You're trying to flatten a data column has the airbyte internal columns? Sorry if I didn't understand the problem, do you mind explaining your use case?
c
sure, we moved data from rds -> redshift. (this adds the airbyte columns to our data), the when moving to an s3 bucket, airbyte seems to add add these columns again, so when we choose the flatten data option, airbyte shoots a duplicate column error
@Marcos Marx (Airbyte)
u
You're using Redshift staging with S3 option and this is causing the duplicate error? Or are you sending Redshift to S3?
c
Moving data out of redshift to an s3 bucket
using the root level flattening feature @Marcos Marx (Airbyte)
u
I see. I didn't find any bugs reported in Github about this and it is the first time I see someone doing it. Do you mind creating a Github issue? Definitly something we need to improve as people use this pattern more in the future.