Kevin Millan
10/10/2022, 9:31 PMIncremental | Deduped + history table by migrating from redshift to postgres but, I encountered a couple of errors along the way. I'm using a datetime column as the cursor field :
1- I was first getting an error from airbyte saying that the table *_stg needed a REPLICA IDENTITY . I then added the field manually with ALTER TABLE analytics.revenue REPLICA IDENTITY FULL;
2- Now I'm getting the same error (log file attached) but with the *_scd table. But the issue seems to be that it is having problems created the _scd table in the first place.user
10/10/2022, 9:31 PMKevin Millan
10/14/2022, 3:37 PM_scd table using the query in the logs, then I had to manually set the tables in the RDS to set the table replication identity to full using alter table tablename replica identity full;Kevin Millan
10/14/2022, 3:38 PM_scd during the sync?Kevin Millan
10/14/2022, 3:52 PM0.39.41 could there be a fix to this issue in a new release?Harshith (Airbyte)
10/17/2022, 4:57 AMKevin Millan
10/17/2022, 9:08 PMHarshith (Airbyte)
10/18/2022, 2:54 AMKevin Millan
10/18/2022, 3:31 PMHarshith (Airbyte)
10/19/2022, 11:36 AMHarshith (Airbyte)
10/19/2022, 11:37 AM2022-10-10 20:27:45 [44msource[0m > java.util.NoSuchElementException: No value present
2022-10-10 20:27:45 [44msource[0m > at java.util.Optional.orElseThrow(Optional.java:377) ~[?:?]
2022-10-10 20:27:45 [44msource[0m > at io.airbyte.integrations.source.relationaldb.AbstractDbSource.getIncrementalStream(AbstractDbSource.java:284) ~[io.airbyte.airbyte-integrations.connectors-source-relational-db-0.39.37-alpha.jar:?]
2022-10-10 20:27:45 [44msource[0m > at io.airbyte.integrations.source.relationaldb.AbstractDbSource.createReadIterator(AbstractDbSource.java:236) ~[io.airbyte.airbyte-integrations.connectors-source-relational-db-0.39.37-alpha.jar:?]
2022-10-10 20:27:45 [44msource[0m > at io.airbyte.integrations.source.relationaldb.AbstractDbSource.getSelectedIterators(AbstractDbSource.java:201) ~[io.airbyte.airbyte-integrations.connectors-source-relational-db-0.39.37-alpha.jar:?]
2022-10-10 20:27:45 [44msource[0m > at io.airbyte.integrations.source.relationaldb.AbstractDbSource.getIncrementalIterators(AbstractDbSource.java:172) ~[io.airbyte.airbyte-integrations.connectors-source-relational-db-0.39.37-alpha.jar:?]
2022-10-10 20:27:45 [44msource[0m > at io.airbyte.integrations.source.relationaldb.AbstractDbSource.read(AbstractDbSource.java:129) ~[io.airbyte.airbyte-integrations.connectors-source-relational-db-0.39.37-alpha.jar:?]
2022-10-10 20:27:45 [44msource[0m > at io.airbyte.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.java:155) ~[io.airbyte.airbyte-integrations.bases-base-java-0.39.37-alpha.jar:?]
2022-10-10 20:27:45 [44msource[0m > at io.airbyte.integrations.base.IntegrationRunner.run(IntegrationRunner.java:107) ~[io.airbyte.airbyte-integrations.bases-base-java-0.39.37-alpha.jar:?]
2022-10-10 20:27:45 [44msource[0m > at io.airbyte.integrations.source.redshift.RedshiftSource.main(RedshiftSource.java:126) ~[io.airbyte.airbyte-integrations.connectors-source-redshift-0.39.37-alpha.jar:?]
2022-10-10 20:27:45 [46mreplication-orchestrator[0m > Unknown keyword existingJavaType - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
2022-10-10 20:27:45 [46mreplication-orchestrator[0m > Source has no more messages, closing connection.
My guess is something wrong with the data but yeah suggest you to create a github issueKevin Millan
10/19/2022, 6:16 PM