@sgiehl opened this Pull Request on April 5th 2022 Member

Description:

When exporting datasets in the GDPR tool we try to format all columns that are exported.
This is done by checking for matching dimensions. In some cases this causes problems, as the dimensions actually don't have a format method that can format the raw column value (as they define a sql segment that should be applied).

This currently happens e.g. when exporting a dataset that contains some media actions, as the Hour dimension is used for server_time column.

This PR drops using dimensions for formatting if they define a special sql segment.
In addition it catches possible exceptions thrown while formatting and using the unformatted raw value instead. Possible exceptions will be logged so we still might notice possible problems.

Review

This Pull Request was closed on April 12th 2022
Powered by GitHub Issue Mirror