Skip to content

resolveExpression should distinguish string, integer and float #800

@tonyyang-svail

Description

@tonyyang-svail

As the intermediate representation defines the attribute as map[string]interface{}, the sql package should resolve the following SQLFlow statement

SELECT ...
TRAIN ... 
WITH
    model.objective="multi:softprob",
    train.num_boost_round = 30,
    model.eta = 3.1,
    model.num_class = 3

as string, int, float, int respectively. However, our expression resolver return all these attribute as type string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions