Keshav Gupta
11/22/2022, 9:12 AMNicolas Xu
11/22/2022, 9:35 AM{
"type": "LOG",
"log": {
"level": "ERROR",
"message": "{\"warnings\":[],\"errors\":[{\"traceIdentifier\":null,\"type\":\"unknown\",\"code\":\"not-found\",\"instance\":null,\"title\":\"The path has not been found\",\"detail\":\"The path GET /2022-10/statistics/report does not exist.\",\"source\":null}]}"
}
}
https://developers.criteo.com/marketing-solutions/docs/campaign-statistics#creating-a-report-request
When we tried a different endpoint that is configured as a GET we don't have such error and everything works well, would you have any idea how to modify so that it sends a POST request to the endpoint ?
Thank you !Frank Kody
11/22/2022, 10:34 AM{
"streamName" : "anonymous_table",
"stats" : {
"recordsEmitted" : 81394,
"bytesEmitted" : 16462411,
"recordsCommitted" : 81394
}
Nicolas Rodriguez
11/22/2022, 11:43 AMIgor
11/22/2022, 1:02 PMBob De Schutter
11/22/2022, 1:13 PMreplication_method
config entry) and the sources don't throw any errors when I save them. However, I started seeing connection sync failures with the following error: (full log attached)
java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLException: Index 0 out of bounds for length 0
at io.airbyte.commons.util.CompositeIterator.computeNext(CompositeIterator.java:67)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:146)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:141)
at io.airbyte.commons.util.DefaultAutoCloseableIterator.computeNext(DefaultAutoCloseableIterator.java:38)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:146)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:141)
at io.airbyte.commons.util.DefaultAutoCloseableIterator.computeNext(DefaultAutoCloseableIterator.java:38)
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:146)
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:141)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:132)
at io.airbyte.integrations.base.IntegrationRunner.lambda$produceMessages$0(IntegrationRunner.java:220)
at io.airbyte.integrations.base.IntegrationRunner.watchForOrphanThreads(IntegrationRunner.java:270)
at io.airbyte.integrations.base.IntegrationRunner.produceMessages(IntegrationRunner.java:219)
at io.airbyte.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.java:141)
at io.airbyte.integrations.base.IntegrationRunner.run(IntegrationRunner.java:100)
at io.airbyte.integrations.source.mysql.MySqlSource.main(MySqlSource.java:309)
Caused by: java.lang.RuntimeException: java.sql.SQLException: Index 0 out of bounds for length 0
at io.airbyte.db.jdbc.StreamingJdbcDatabase.lambda$unsafeQuery$0(StreamingJdbcDatabase.java:75)
at java.base/java.util.stream.AbstractPipeline.close(AbstractPipeline.java:323)
at io.airbyte.commons.concurrency.VoidCallable.call(VoidCallable.java:15)
at io.airbyte.commons.util.DefaultAutoCloseableIterator.close(DefaultAutoCloseableIterator.java:49)
at io.airbyte.commons.util.LazyAutoCloseableIterator.close(LazyAutoCloseableIterator.java:52)
at io.airbyte.commons.concurrency.VoidCallable.call(VoidCallable.java:15)
at io.airbyte.commons.util.DefaultAutoCloseableIterator.close(DefaultAutoCloseableIterator.java:49)
at io.airbyte.commons.concurrency.VoidCallable.call(VoidCallable.java:15)
at io.airbyte.commons.util.DefaultAutoCloseableIterator.close(DefaultAutoCloseableIterator.java:49)
at io.airbyte.commons.util.CompositeIterator.computeNext(CompositeIterator.java:65)
... 15 more
Caused by: java.sql.SQLException: Index 0 out of bounds for length 0
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2042)
at com.zaxxer.hikari.pool.ProxyConnection.setAutoCommit(ProxyConnection.java:401)
at com.zaxxer.hikari.pool.HikariProxyConnection.setAutoCommit(HikariProxyConnection.java)
at io.airbyte.db.jdbc.StreamingJdbcDatabase.lambda$unsafeQuery$0(StreamingJdbcDatabase.java:72)
... 24 more
Caused by: com.mysql.cj.exceptions.CJException: Index 0 out of bounds for length 0
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:124)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:699)
at com.mysql.cj.jdbc.ConnectionImpl.setAutoCommit(ConnectionImpl.java:2033)
... 27 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at com.mysql.cj.protocol.a.NativePacketPayload.readInteger(NativePacketPayload.java:398)
at com.mysql.cj.protocol.a.NativePacketPayload.readString(NativePacketPayload.java:605)
at com.mysql.cj.protocol.a.NativeServerSessionStateController$NativeServerSessionStateChanges.init(NativeServerSessionStateController.java:112)
at com.mysql.cj.protocol.a.result.OkPacket.parse(OkPacket.java:66)
at com.mysql.cj.protocol.a.NativeProtocol.readServerStatusForResultSets(NativeProtocol.java:1755)
at com.mysql.cj.protocol.a.TextResultsetReader.read(TextResultsetReader.java:116)
at com.mysql.cj.protocol.a.TextResultsetReader.read(TextResultsetReader.java:48)
at com.mysql.cj.protocol.a.NativeProtocol.read(NativeProtocol.java:1664)
at com.mysql.cj.protocol.a.NativeProtocol.readAllResults(NativeProtocol.java:1718)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryPacket(NativeProtocol.java:1064)
at com.mysql.cj.protocol.a.NativeProtocol.sendQueryString(NativeProtocol.java:997)
at com.mysql.cj.NativeSession.execSQL(NativeSession.java:663)
... 28 more
Any idea what could cause this?Rahul Borse
11/22/2022, 1:49 PMВалерий Аржанов
11/22/2022, 1:59 PMMirela Andreea Grigoras
11/22/2022, 2:29 PMSalesforce
and BigQuery
. We have run it multiples times, with same start date and Full refresh | Overwrite
as sync mode and we have noticed that the number of emitted records
has been decreasing. Is this an expected behaviour? If so, could you please explain why this happens? Thanks!Pablo Garcia
11/22/2022, 3:19 PM2022-11-22 12:13:20 [1;31mERROR[m i.a.w.i.DefaultAirbyteStreamFactory(internalLog):95 - 'avro.schema'
Traceback (most recent call last):
File "/airbyte/integration_code/main.py", line 13, in <module>
launch(source, sys.argv[1:])
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 131, in launch
for message in source_entrypoint.run(parsed_args):
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 116, in run
catalog = self.source.discover(self.logger, config)
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/abstract_source.py", line 72, in discover
streams = [stream.as_airbyte_stream() for stream in self.streams(config=config)]
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/abstract_source.py", line 72, in <listcomp>
streams = [stream.as_airbyte_stream() for stream in self.streams(config=config)]
File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/streams/core.py", line 113, in as_airbyte_stream
stream = AirbyteStream(name=self.name, json_schema=dict(self.get_json_schema()), supported_sync_modes=[SyncMode.full_refresh])
File "/airbyte/integration_code/source_s3/source_files_abstract/stream.py", line 184, in get_json_schema
for column, typ in self._get_schema_map().items()
File "/airbyte/integration_code/source_s3/source_files_abstract/stream.py", line 169, in _get_schema_map
return_schema = self._get_master_schema()
File "/airbyte/integration_code/source_s3/source_files_abstract/stream.py", line 234, in _get_master_schema
this_schema = file_reader.get_inferred_schema(f, file_info)
File "/airbyte/integration_code/source_s3/source_files_abstract/formats/avro_parser.py", line 79, in get_inferred_schema
avro_schema = self._get_avro_schema(file)
File "/airbyte/integration_code/source_s3/source_files_abstract/formats/avro_parser.py", line 65, in _get_avro_schema
avro_reader = fastavro.reader(file)
File "fastavro/_read.pyx", line 1134, in fastavro._read.reader.__init__
File "fastavro/_read.pyx", line 1095, in fastavro._read.file_reader.__init__
KeyError: 'avro.schema'
I get the same error when I try to load the gzipped file with fastavro, so my guess is that Airbyte is not detecting the compression format.
Is Avro gzipped supported for S3 source? I could not see how to specify the compression format either.
Any help is appreciated, thank you!Sapin Dahal
11/22/2022, 4:27 PMInternal Server Error: Get Spec job failed.
Am I missing something here? Appreciate your help.JJ Nilbodee
11/22/2022, 5:16 PMapiVersion: <http://secrets-store.csi.x-k8s.io/v1|secrets-store.csi.x-k8s.io/v1>
kind: SecretProviderClass
metadata:
name: airbyte-logs-secrets
spec:
provider: gcp
parameters:
secrets: |
- resourceName: "projects/<id>/secrets/data_airbyte-logs-secrets/versions/latest"
path: "secrets.json"
And in values.yaml
I specify the logs section as follow:
gcs:
bucket: "<bucket-name>/logs"
# If you are mounting an existing secret to extraVolumes on scheduler, server and worker
# deployments, then set credentials to the path of the mounted JSON file
credentials: "secrets.json"
# If credentialsJson is set then credentials auto resolves (to /secrets/gcs-log-creds/gcp.json)
credentialsJson: ""
And also mount the volume to worker and server as follow:
extraVolumes:
- name: airbyte-logs-secrets
csi:
driver: <http://secrets-store.csi.k8s.io|secrets-store.csi.k8s.io>
readOnly: true
volumeAttributes:
secretProviderClass: airbyte-logs-secrets
However, I’m getting this erroryulia norenko
11/22/2022, 5:50 PMAbhijeet Singh
11/22/2022, 6:04 PMGrember Yohan
11/22/2022, 6:05 PMIncremental | Deduped history
mode, but the state is never persisted to the DB, even once the connector is in success 😕
The impact is that data syncs always ingest the whole history as if I was in Full Refresh
mode.
Is someone facing the same issue? How do you think I could fix this?
Thanks in advance for your help! 😃🙏
Airbyte version: 0.40.22
Stripe source connector version: 0.1.40
Stripe source connector lookback window: 1 day
Stripe source connector Data request time increment: 1 day
Rahul Borse
11/22/2022, 7:33 PMYosuf Hariq
11/22/2022, 8:19 PMRahul Borse
11/22/2022, 8:49 PMGustavo Maia
11/22/2022, 9:01 PM./gradlew :airbyte-integrations:connectors:source-custom:build
I get an error: > Task :airbyte-commons:compileJava FAILED
What should I do?
I am using java 11.0.17Eric Hartono
11/22/2022, 9:59 PMAlberto Colon
11/23/2022, 3:54 AMSubbu
11/23/2022, 5:12 AMIgor
11/23/2022, 6:03 AMRahul Borse
11/23/2022, 6:39 AMTakunda Mudhokwani
11/23/2022, 8:38 AMRishabh D
11/23/2022, 8:58 AMKrzysztof
11/23/2022, 9:16 AMRahul Borse
11/23/2022, 9:56 AMKrzysztof
11/23/2022, 10:01 AMRahul Borse
11/23/2022, 10:12 AM