Skip to content

wrong result for compare expression of int columns  #2512

Closed

Description

@ruoyu0088
  1. open the example : https://perspective.finos.org/block/?example=editable
  2. add a new column with title of mask and expression of "Row ID" > 6
  3. add the mask column to the columns list

the values in mask column is not correct:

image

  1. change the expression to "Row ID" * 1.00001 > 6 and it works:

image

Activity

  1. timkpaine commented on Jan 26, 2024

    @timkpaine
    Member

    @ruoyu0088 you probably want float("Row ID") > 6 or "Row ID" > integer(6)

  2. texodus commented on Jan 29, 2024

    @texodus
    Member

    Duplicate #1614

  3. locked and limited conversation to collaborators on Jan 29, 2024
  4. converted this issue into a discussion #2514 on Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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