airbytehq / airbytehq/airbyte

[source-mysql] incorrect type mapping of tinyint cause data loss

Aperta
#76,180 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/connectors autoteam community connectors/source/mysql needs-triage team/extensibility type/bug
Lingua principale
Python
Stelle
22.1k
Fork
5.3k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### Connector Name

source-mysql

### Connector Version

3.51.5

### What step the error happened?

During the sync

### Relevant information

According to https://docs.airbyte.com/integrations/sources/mysql type mapping of tinyint(1) is boolean.

This is wrong. Signed tinyint(1) can take values from -128 to +127 . It causes data loss in the destinations. It must be integer like other tinyint types.

### Relevant log output

```shell

```

### Contribute

- [ ] Yes, I want to contribute

---
**Internal Tracking:** https://github.com/airbytehq/oncall/issues/11929

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.