Skip to main content

Data warehouse exports: Data refresh timing

When Funnel sends new or updated data to your data warehouse export.

If your Export uses the option "Only share periods with updated data" disabled which for most cases is a legacy option, this article does not apply because everything will re-export every time.

​

This article only describes the behaviour of Exports to our Data Warehouse destinations.

​

Overview

The Export will by default automatically look for all types of changes in the data and in Funnel that might affect it and re-export only when necessary. This is designed to be as efficient as possible to avoid unnecessarily sending the same data multiple times.

​

The schedule of the Export decides when we will look for new data and maybe trigger a re-export. If any of the criteria below are met then a job run will start, otherwise it will be marked as a success and we will write that no changes were found.

​

The Export will only react to changes of data within the selected Date range of the Export. If you have a moving window such as "Last 2 years" and you add data further than that you will not automatically receive it in your Data Warehouse.

​

To set your own range, go to the Date Range section of the Export and select Custom. In Export data from, choose Fixed for a start date or Last for a moving window, for example the last 2 years. Then choose when the range ends in Ending on.

​

Changes that will trigger a new re-export of a period

​

  1. Adding or editing a Data Source (where we typically collect 2 years of historical data)

    ​

    1. If the Export contains a field that could contain data from that Data Source and has downloaded data within the date range of the Export.

      ​

    2. If the Export is not actively excluding data from that Data Source or Data Source type with a filter.

    ​

  2. A Data Source has downloaded updated data for the interval. The same conditions as in step 1 apply.

  3. Changes in dimension/metric rules within Funnel for a field used in the Export

  4. The same part failed its last job run

  5. Manually updating configuration in the Export that affects the data sent

  6. Manually updated exchange rates in Funnel

  7. Changing workspace locale and including a non-ISO date dimension in the Export

  8. Manually clicking "Force run all parts" for an Export

    ​

    To do this, open the Export, click More actions (next to Edit) and select Force run all parts.

  9. On a regular cadence if enabling the Periodically update all parts

    ​

    To enable it for one Export, go to the Schedule section of the Export and select the Periodically update all parts checkbox. Then choose when it runs: Day of week to run (for example, Sunday) or Run every 7 days.

    ​

    To update several Exports at once, go to the list of Exports for a destination (for example, Google BigQuery) and select the Exports. Click Actions and select Update periodic full refresh settings. The Full periodic refresh enabled column in the list shows whether the setting is on for each Export.

​

There are also other conditions such as that we re-export the current period (day or month) at least once a day and all other data within the Export interval once a month.

​

When a change is detected we will process the data and compare it against another layer of cache and if it has not been changed it will also not be re-uploaded (unless you are sharing the data to a new location or manually clicked "Force run all parts").

​

All this logic means that you can trust that the files/tables that have been updated in your warehouse have all the updated rows. You therefore don't have to waste money and compute on processing identical files. We also write what files were updated in a Summary file or table which can be used to only trigger parts of your pipe, see the best practices around that here, in the section on which files or tables have changed since the last run.

​

Why your warehouse can lag behind Data Explorer

A data warehouse export only includes data that Funnel has already downloaded when the export runs. Data Explorer shows new data as soon as a data source finishes its download.

​

If a data source finishes its download after the export runs, you see the new data in Data Explorer right away, but it doesn't reach your warehouse until the next export run. Depending on your schedule, your warehouse can look up to a day behind Data Explorer. This is expected.

​

For example, your export runs at 06:00 and a data source finishes its daily download at 07:30. Data Explorer shows the new data from 07:30, but your warehouse gets it with the next day's 06:00 export run.

​

To reduce the lag:

​

  • Schedule the export later. Set the export to run a few hours after your data sources usually finish their download.

  • Add a second daily export run. A second run later in the day shortens the time before new data reaches your warehouse.

​

​

Options to export latest seen names and other attributes

Funnel now ensures that the latest seen names, such as Campaign names, Ad group names, and other similar attributes, are automatically applied to historical data.

​

This makes it easier to analyze data across time and ensures consistent naming conventions in Funnel and downstream destinations.

​

However, this also increases the volatility of historic data, which can lead to higher ingestion costs for your data warehouse exports.

​

To give you control over this:

​

  • By default, Funnel does not export updated attributes for all historical data when they change. This minimizes unnecessary reprocessing and ingestion cost.

  • Updated names will be included whenever a re-export of a period is triggered, based on the criteria described earlier in this article.

  • If you need to update names on demand, the easiest manual step is to click Force run all parts.

  • If you want to keep warehouse data closely aligned with Funnel automatically, you can enable Periodically update all parts.

Did this answer your question?