Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems in the "Quickstart > Set up a Connection" section of the documentation #4602

Closed
akmanidisd opened this issue Jul 7, 2021 · 0 comments · Fixed by #4615
Closed

Problems in the "Quickstart > Set up a Connection" section of the documentation #4602

akmanidisd opened this issue Jul 7, 2021 · 0 comments · Fixed by #4615
Labels
area/documentation Improvements or additions to documentation connectors/sources-api team/documentation type/enhancement New feature or request

Comments

@akmanidisd
Copy link

The "Quickstart > Set up a Connection" has to be corrected.

Set up a Connection

Source "Exchange Rates Api" has problems:

  1. The default currency can't be changed for the free account. We have to accept the default base currency. In Europe it is EUR.
  2. The source name has to be exchange_rates instead of exchange_rate.

Check the data of your first sync

cat /tmp/airbyte_local/json_data/_airbyte_raw_exchange_rate.jsonl

# changed 
# _airbyte_raw_exchange_rate.jsonl -> _airbyte_raw_exchange_rates.jsonl
 
cat /tmp/airbyte_local/json_data/_airbyte_raw_exchange_rates.jsonl

and

cat /tmp/airbyte_local/test_json/_airbyte_raw_exchange_rate.jsonl | jq -c '.data | {date: .date, EUR: .EUR }'

# changes: 
# 1) test_json -> json_data
# 2) _airbyte_raw_exchange_rate.jsonl -> _airbyte_raw_exchange_rates.jsonl
# 3) .data -> ._airbyte_data
# 4) {date: .date, EUR: .EUR } ->  {date: .date, base: .base, GBP: .rates.GBP}

cat /tmp/airbyte_local/json_data/_airbyte_raw_exchange_rates.jsonl | jq -c '._airbyte_data | {date: .date, base: .base, GBP: .rates.GBP}'

Link to the relevant docs that should be updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation connectors/sources-api team/documentation type/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants