Skip to content

[ClickHouse Compatibility] Support receive of high-precision datetime values from server #1379

Description

@MaceWindu

Hi,

I have another compatibility request similar to #1185.

With last month release of ClickHouse updated mysql protocol implementation and now sends datetime values using DateTime column type instead of string. This results in error in provider for values with precision 7+ (CH supports precision up to 9).

It is probably protocol violation, but it looks like easy fix, so it would be nice to have it.

Server sends values like 2021-02-28 17:14:55.1231234 and it fails here due to logic expecting 6 digits in fractional second part

Also filled issue on CH side

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions