Provide path for SQL target developers to "max out" varchar declarations in columnarly compressed datasets #370
Labels
Accepting Pull Requests
kind/Feature
New feature or request
migrated from gitlab
stale
urgency/Low
valuestream/SDK
Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/373
Originally created by @aaronsteers on 2022-05-04 23:09:50
~~"urgency::low"
Now that https://gitlab.com/meltano/sdk/-/issues/371+ is resolved and merged, I want to open a quick stub issue to track the work to add a recommendation for those target developers who prefer a length-unlimited or length-maxed varchar declaration.
varchar(10)
andvarchar(max)
.alter column
and/or havealter column
disallowed.Rough implementation
One path to implement:
to_sql_type(jsonschema_type: dict) -> sqlalchemy.types.TypeEngine
, calling the base class and then converting anyvarchar
instances withvarchar(max)
.prefer_varchar_max
or similar.The above could be a simple docs update or an addition to code samples, or it could be an built-in option or implementation flag within the SDK's python code.
The text was updated successfully, but these errors were encountered: