yingting
08/22/2025, 4:20 PMio.airbyte.cdk.integrations.source.relationaldb.state.FailedRecordIteratorException: java.lang.RuntimeException: java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: feature not supported on beam relationskapa.ai
08/22/2025, 4:20 PMyingting
08/22/2025, 4:21 PMio.airbyte.cdk.integrations.source.relationaldb.state.FailedRecordIteratorException: java.lang.RuntimeException: java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR:kapa.ai
08/22/2025, 4:21 PMkapa.ai
08/22/2025, 4:22 PMio.airbyte.cdk.integrations.source.relationaldb.state.FailedRecordIteratorException: java.lang.RuntimeException: java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: is mentioned in Airbyte logs and stack traces, but the exact source code file and line in the Postgres source connector where this exception is thrown is not explicitly referenced in the documents. However, from the stack traces, we can infer that the exception is thrown within the Airbyte CDK (Connector Development Kit) in the relational database source state handling logic, specifically in the SourceStateIterator class. For example, in a similar context for the MSSQL connector, the stack trace shows: at io.airbyte.cdk.integrations.source.relationaldb.state.SourceStateIterator.computeNext(SourceStateIterator.kt:35) and at io.airbyte.cdk.integrations.source.relationaldb.state.FailedRecordIteratorException: java.lang.RuntimeException: java.time.format.DateTimeParseException: ... This suggests that the error is wrapped and thrown by the SourceStateIterator in the Airbyte CDK, which is used by the Postgres source connector as well. The actual PSQLException is raised by the underlying PostgreSQL JDBC driver, and then wrapped by Airbyte's exception handling logic in the CDK layer, not directly in the Postgres source connector code itself, but in the shared CDK code used by all relational database sources. The knowledge sources do not provide a direct link to the exact file or line in the Postgres source connector, but based on the stack traces, you would want to look at the SourceStateIterator class in the Airbyte CDK, which is used by the Postgres source connector to handle stateful incremental syncs and error wrapping. If you need the exact file, you can search for SourceStateIterator and FailedRecordIteratorException in the Airbyte GitHub repository. But to reiterate, the knowledge sources do not contain a direct reference or link to the specific source code location for this error in the Postgres source connector.yingting
08/22/2025, 4:24 PMkapa.ai
08/22/2025, 4:24 PMkapa.ai
08/22/2025, 4:24 PMio.airbyte.cdk.integrations.source.relationaldb.state.FailedRecordIteratorException: java.lang.RuntimeException: java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: The documents reference stack traces involving SourceStateIterator and FailedRecordIteratorException, but they do not include direct links or exact file/line references in the source code. Therefore, I cannot provide the precise GitHub location based solely on the information available in the knowledge sources.