Skip to content

ArrayType and MapType improvment #3

Description

@minven

Can we change ArrayType and MapType logics

    elif _is_map_type(column_type):
        return _map_type(column_type)
    elif _is_array_type(column_type):
        return _array_type(column_type)

in such way that we are keeping code consistency

    if column_type in INTEGER:
        return IntegerType()
    elif column_type in FLOAT:
        return FloatType()
    elif column_type in DOUBLE:
        return DoubleType()
    elif column_type in TIMESTAMP:
        return TimestampType()
    elif column_type in BIG_INTEGER:
        return LongType()
    elif column_type in SMALL_INTEGER:
        return ShortType()
    elif column_type in STRING:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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