finopsfoundation / focus_converters

Parent repository to hold all common documentation and code samples for all FOCUS Converter projects
MIT License
83 stars 44 forks source link

AWS - timestamp parse error #355

Open rolo168 opened 5 months ago

rolo168 commented 5 months ago

Describe the bug When running the conversion for an AWS CUR2.0 it results in an timestamp conversion error saying "ComputeError: expected duration or datetime, got str"

If I change the timestamps to linux timestamp (for example 1719231874), I get the error message "ComputeError: expected duration or datetime, got i64"

Full output:

Error.txt

To Reproduce Steps to reproduce the behavior:

  1. Run the following command: focus-converter convert --provider aws --data-path ./cur-export-short.csv --data-format csv --export-path ./ --export-format csv
  2. Have a look at the output of the command

This is the input file: cur-export-short.csv

Expected behavior An output file should be generated without any errors.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):