Skip to content

Infer array type when first value is null #408

Closed
@andreamatte-smartpricing

Description

I'm trying to follow the solution from #72 (comment).
There are 3 columns of type timestamptz. 2 of them work fine, but one of them gets infered as type string instead of date.
This happens because the first row has value null in that column.
How should I proceed? Is there any way to force the type inferred by sql.array(...)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions