Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-4362 Accounts with leading zeros are having leading zeros dropped during download and processing
  3. COST-4223

AWS accounts with leading zeros are having leading zeros dropped during download and processing

XMLWordPrintable

      We have found that recently accounts with leading zeros have lost their leading zeros in the processing flow.

      It is potentially relateded to a change where the CSV files are being read by pandas in the download flow now without dtypes being specified and pandas is interpreting the account number as an integer and not a string.

      https://github.com/project-koku/koku/blob/main/koku/masu/external/downloader/aws/aws_report_downloader.py#L116

              rh-ee-lbacciot Lucas Bacciotti
              chambrid Chris Hambridge
              Pedro Lopez Perez Pedro Lopez Perez
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: