Skip to content

Commit

Permalink
Fix derivated_tag on unexisting property
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Feb 16, 2024
1 parent 9619eef commit 3ed7897
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datasources/transforms/derivated_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def initialize(settings)
end

def process_data(row)
row[:properties][@property] ||= {}
row[:properties][@property][@key] = @lambda_value.call(row[:properties])
row
end
Expand Down

0 comments on commit 3ed7897

Please sign in to comment.