Skip to content

EDR report does not handle NaN values #1788

@orenniapete

Description

@orenniapete

Describe the bug
The EDR report breaks when test data contains NaN values

To Reproduce
Steps to reproduce the behavior:

  1. Generate a test to fail when a column value contains NaN values:
Image
  1. Create the EDR report
  2. View the html report, it should not break the embedded json:
Image

Expected behavior
NaN values should be in quotes to prevent the json data from becoming invalid

Environment (please complete the following information):

  • Elementary CLI (edr) version:0.16.1
  • Elementary dbt package version: 0.16.1
  • dbt version you're using: 1.6.6
  • Data warehouse: Snowflake

Would you be willing to contribute a fix for this issue?
I am not a coder, just a user of the library/report

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions