airbytehq / airbytehq/airbyte

Source Hubspot: Hubspot association labels are missing

Aberta
#30,292 10 comentários 21 reações 0 responsáveis Ver no GitHub
area/connectors autoteam community connectors/source/hubspot connectors/sources-api Icebox releaseStage/ga team/critical-connectors team/use type/bug
Linguagem predominante
Python
Estrelas
22.1k
Forks
5.4k
Merge médio
5h
PRs com merge (30d)
671

Descrição

### Connector Name

source-hubspot

### Connector Version

1.4.1

### What step the error happened?

During the sync

### Revelant information

I'm fetching the Hubspot deals using this connector which works quite well in general. What is lacking however, is the labels of the associations, e.g. for companies the "primary" company or other custom labels.

I fells to me, that the primary company is always listed twice in the array. And if there is a second (not primary) company associated with the deal, it is appened. See the following example

| id | companies |
|----|-----------------------|
| 1 | ["543", "543"] |
| 2 | ["123", "123"] |
| 3 | ["345", "345", "789"] |

This makes it impossible to filter for the primary company or other custom labels.

Having the raw associations data as an additional column would be great.

### Relevant log output

_No response_

### Contribute

- [x] Yes, I want to contribute

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.