Skip to content

Commit

Permalink
Update supported-data-types.md (#17179)
Browse files Browse the repository at this point in the history
Boolean data type was added to the official docs.
  • Loading branch information
ddoyediran committed Sep 29, 2022
1 parent e6c2cb7 commit 33bad16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/understanding-airbyte/supported-data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This table summarizes the available types. See the [Specific Types](#specific-ty

| Airbyte type | JSON Schema | Examples |
| -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| Boolean | `{"type": "boolean"}` | `true` or `false` |
| String | `{"type": "string"}` | `"foo bar"` |
| Date | `{"type": "string", "format": "date"}` | `"2021-01-23"` |
| Datetime with timezone | `{"type": "string", "format": "date-time", "airbyte_type": "timestamp_with_timezone"}` | `"2022-11-22T01:23:45+05:00"` |
Expand Down Expand Up @@ -127,6 +128,8 @@ And emitted this record:
```

### Specific types
#### Boolean
Airbyte boolean type represents one of the two values `true` or `false` and they are are lower case. Note that values that evaluates to true or false such as data type String `"true"` or `"false"` or Integer like `1` or `0` are not accepted by the Schema.

#### Dates and timestamps
Airbyte has three temporal types: `date`, `timestamp_with_timezone`, and `timestamp_without_timezone`. These are represented as strings with specific `format` (either `date` or `date-time`).
Expand Down

0 comments on commit 33bad16

Please sign in to comment.