fix typos

This commit is contained in:
Pablo Martin 2024-06-14 14:28:26 +02:00
parent 589656d1bf
commit 97f1c6216b

View file

@ -5,7 +5,7 @@ models:
record holds a currency pair for a specific day. record holds a currency pair for a specific day.
Reverse rates are explicit. This means that, for any given day and any Reverse rates are explicit. This means that, for any given day and any
given currency pair. you will find two records with opposite from/to given currency pair, you will find two records with opposite from/to
positions. So, for 2024-01-01, you will find both a EUR->USD record and a positions. So, for 2024-01-01, you will find both a EUR->USD record and a
USD->EUR record with the opposite rate (1/rate). USD->EUR record with the opposite rate (1/rate).
columns: columns:
@ -28,8 +28,8 @@ models:
- not_null - not_null
- name: rate - name: rate
description: >- description: >-
The exchange rate, represnted as the units of the target currency that The exchange rate, represented as the units of the target currency
one unit of source currency gets you. So, from_currency=USD to that one unit of source currency gets you. So, from_currency=USD to
to_currency=PLN with rate=4.2 should be read as '1 US Dollar buys me to_currency=PLN with rate=4.2 should be read as '1 US Dollar buys me
4.2 Polish Zlotys'. 4.2 Polish Zlotys'.
@ -39,6 +39,7 @@ models:
The rate can be smaller than one, but can't be negative. The rate can be smaller than one, but can't be negative.
data_type: numeric data_type: numeric
tests: tests:
- not_negative_or_zero
- not_null - not_null
- name: rate_date_utc - name: rate_date_utc
description: The date in which the rate record is relevant. description: The date in which the rate record is relevant.