From 1db22f28ab4f9cfe9c4dc7bfac520996dc7eb498 Mon Sep 17 00:00:00 2001 From: Damilare Oyediran <43407276+ddoyediran@users.noreply.github.com> Date: Thu, 29 Sep 2022 20:35:13 +0200 Subject: [PATCH] Update supported-data-types.md (#17179) Boolean data type was added to the official docs. --- docs/understanding-airbyte/supported-data-types.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/understanding-airbyte/supported-data-types.md b/docs/understanding-airbyte/supported-data-types.md index b64b10566c823..1d5b76f673c0c 100644 --- a/docs/understanding-airbyte/supported-data-types.md +++ b/docs/understanding-airbyte/supported-data-types.md @@ -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"` | @@ -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`).