Skip to content

Commit

Permalink
GCP Return credits field as json in bigquery. (#5100)
Browse files Browse the repository at this point in the history
  • Loading branch information
myersCody committed May 13, 2024
1 parent 764a911 commit 30b2eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koku/masu/external/downloader/gcp/gcp_report_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def build_query_select_statement(self):
"""Helper to build query select statement."""
columns_list = self.gcp_big_query_columns.copy()
columns_list = [
f"TO_JSON_STRING({col})" if col in ("labels", "system_labels", "project.labels") else col
f"TO_JSON_STRING({col})" if col in ("labels", "system_labels", "project.labels", "credits") else col
for col in columns_list
]
# Swap out resource columns with NULLs when we are processing
Expand Down

0 comments on commit 30b2eb2

Please sign in to comment.