elementary icon indicating copy to clipboard operation
elementary copied to clipboard

EDR report does not handle NaN values

Open orenniapete opened this issue 11 months ago • 0 comments

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

orenniapete avatar Jan 22 '25 21:01 orenniapete