Skip to content

Confusing error message while creating a stream with datetime32(3) 'timezone' for datetime32 has wrong type: UInt64, expected String literal. #816

Description

@jovezhong

Proton 1.5.15

create stream a(b datetime32(6));
Code: 43. DB::Exception: Received from localhost:8463. DB::Exception: Parameter #0 'timezone' for datetime32 has wrong type: UInt64, expected String literal. (ILLEGAL_TYPE_OF_ARGUMENT)

create stream a(b datetime32(3));
Code: 43. DB::Exception: Received from localhost:8463. DB::Exception: Parameter #0 'timezone' for datetime32 has wrong type: UInt64, expected String literal. (ILLEGAL_TYPE_OF_ARGUMENT)

create stream b(b datetime(6))
//OK

create stream c(b datetime64(6))
//OK

This text is confusing
'timezone' for datetime32 has wrong type: UInt64, expected String literal

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions