Skip to content

Row length error when column name length > max value length #12

@fightbite

Description

@fightbite

I'm getting the following error when uploading the below sample:

Error:
Error on piom GET ROW: 60, Text: Column length error, row not returned.
Error at record number 1

Sample
calendar_date
'2019-01-01'
'2019-01-02'
'2019-01-03'

I believe that this due to the length of the column header being longer than the max length of any of the values in the column, even though it is skipping this record it still errors.

The workaround I have currently is to change line 27 of api_load\api.py
from
size = df[col].map(len).max()
to
size = df[col].map(len).max()+20

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