Skip to content

string always ends up in LONG VARCHAR #85

@steppel

Description

@steppel

I define the datatypes to create a table. When using string(100) it will end up in LONG VARCHAR. I do have multiple VARCHAR columns and now it always ends in teradata [Error 3933] [SQLState HY000] The Maximum Possible Row Length in the Table is too Large.

datatypes = { 'example':sqlalchemy.types.String(100) -> LONG VARCHAR
...
}
final_table.to_sql('test',td._backend._conn,schema='test',index=False,dtype=datatypes,if_exists='replace')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions