Skip to content

pushdown tidb truncate to tiflash #9846

@guo-shaoge

Description

@guo-shaoge

Enhancement

For now tiflash truncate use ClickHouse code, the first argument cannot be Decimal(check

//{tipb::ScalarFuncSig::TruncateDecimal, "cast"},
), and the second argument can only be constant(check
if (!scale_column.isColumnConst())
). (which is ok for floor/ceil because they only support one argument, but not ok for truncate, because it support two arguments).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions