Skip to content

bug: Decimal implemented, but didn't work #262

Description

@vasyaabr

Bug Report

Current behavior:

Trying to create Decimal param:

(new DecimalType($this->fromBalance))->digits(20)->scale(8)->toTypedValue()

While sending request with decimal param got error:

13:54:29 YDB Table ExecuteDataQuery (YDB_400010 BAD_REQUEST): ydb/core/kqp/session_actor/kqp_session_actor.cpp:1600: ydb/core/kqp/query_data/kqp_query_data.cpp:259: Parameter $fromBalance type mismatch, expected: { Kind: Data Data { Scheme: 4865 DecimalParams { Precision: 20 Scale: 8 } } }, actual: Type (Data), schemeType: String, schemeTypeId: 4097

Expected behavior:

Query works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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