Skip to content

Decimal math overflow instead of NULL in parseDateTime64BestEffortOrNull #43061

@Avogar

Description

@Avogar
:) select parseDateTime64BestEffortOrNull('9279104477', 9)

SELECT parseDateTime64BestEffortOrNull('9279104477', 9)

Query id: 3ff0cab4-456d-44b3-bb03-446c89accbcd


0 rows in set. Elapsed: 0.008 sec.

Received exception from server (version 22.11.1):
Code: 407. DB::Exception: Received from localhost:9000. DB::Exception: Decimal math overflow: While processing parseDateTime64BestEffortOrNull('9279104477', 9). (DECIMAL_OVERFLOW)

Metadata

Metadata

Assignees

Labels

unexpected behaviourResult is unexpected, but not entirely wrong at the same time.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions