Skip to content

feat: Support integer types other than BIGINT #484

@edgarrmondragon

Description

@edgarrmondragon

Description

Use JSON schema hints to determine the appropriate integer column type.

It's not currently supported. It can be done by updating this line:

to_sql.register_type_handler("integer", BIGINT)

to use a function that checks for certain JSON schema metadata to decide what type of int column to return. I'll log an issue in the GH repo later, unless you beat me to it.

Links:

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions