Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 28, 2024
1 parent 79212a8 commit 598a218
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,17 +303,18 @@ If a column has multiple jsonschema types, the following order is using to order

### Using the Singer catalog to narrow down the Postgres data types

You can use [Singer catalog's schema](https://github.com/singer-io/getting-started/blob/master/docs/DISCOVERY_MODE.md#schemas) to override the data types coming from the tap. The easiest way to do this is to use Meltano and its [schema setting](https://docs.meltano.com/concepts/plugins/#schema-extra) for the tap:
You can use [Singer catalog's schema](https://github.com/singer-io/getting-started/blob/master/docs/DISCOVERY_MODE.md#schemas) to override the data types coming from the tap. The easiest way to do this is to use Meltano and its [`schema` setting](https://docs.meltano.com/concepts/plugins/#schema-extra) for the tap:

```yaml
# meltano.yml
plugins:
extractors:
- name: tap-my-tap
schema:
my_column:
type: integer
maximum: 1000 # This will be mapped to 'smallint'
some_stream_id:
my_column:
type: integer
maximum: 1000 # This will be mapped to 'smallint'
```

## Content Encoding Support
Expand Down

0 comments on commit 598a218

Please sign in to comment.