-
Notifications
You must be signed in to change notification settings - Fork 172
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
Add example values to data types docs #516
Conversation
✅ Deploy Preview for dlt-hub-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| text | `"hello world"` | | ||
| double | `45.678` | | ||
| bool | `True` | | ||
| timestamp | `2023-07-26T14:45:00Z` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
datetimes may be given via python datetime
- pendulum.now() or datetime.now()
- as ISO strings which get recognized with default schema settings
| binary | b'\x00\x01\x02\x03' | | ||
| complex | (4+3j) | | ||
| decimal | Decimal('4.56') | | ||
| wei | - | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example: 2**56
note: wei
represents an integer in range of 1 to 2^256-1. dlt
will try to fit the wei type into the numeric type at the destination of largest precision. currently only Postgres and parquet files are able to represent wei
fully
* Update schema.md * Fixed an example for complex * Change the example for complex type * Update examples for timestamp and wei * Add quotes to wei repr
No description provided.