Skip to content

sampled scalar value verification failure for 0 value if float is defined #3400

@kysersozelee

Description

@kysersozelee

Expected Behavior

Regardless of whether it is 0 or 0.0, conversion for int and float types must be performed.

Current Behavior

It is defined as a float type, but if 0 is set other than 0.0, an assert fail occurs.

Steps to reproduce

If 0 is set in the BigQuery table that owns the float type, it may be recognized as an int when materializing using the feast sdk.

Specifications

  • Version: 0.27.1
  • Platform: regardless
  • Subsystem: regardless

Possible Solution

If the value is set to 0, the assertion is modified so that it is not related to int or float.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions