Skip to content

Commit

Permalink
fix(preprocessing): Don't propagate date parsing errors to concatenat…
Browse files Browse the repository at this point in the history
…ed fields (#3567)
  • Loading branch information
theosanderson authored Feb 4, 2025
1 parent d1d1452 commit 2162e1f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -619,15 +619,11 @@ def concatenate(
{"date": input_data[order[i]]}, output_field, input_fields
)
formatted_input_data.append("" if processed.datum is None else processed.datum)
errors += processed.errors
warnings += processed.warnings
elif type[i] == "timestamp":
processed = ProcessingFunctions.parse_timestamp(
{"timestamp": input_data[order[i]]}, output_field, input_fields
)
formatted_input_data.append("" if processed.datum is None else processed.datum)
errors += processed.errors
warnings += processed.warnings
elif order[i] in input_data:
formatted_input_data.append(
"" if input_data[order[i]] is None else input_data[order[i]]
Expand Down

0 comments on commit 2162e1f

Please sign in to comment.