ga4-export-fixer 0.2.6-dev.0 → 0.2.6-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/preOperations.js +2 -1
package/package.json
CHANGED
package/preOperations.js
CHANGED
|
@@ -223,7 +223,8 @@ const setPreOperations = (config) => {
|
|
|
223
223
|
// In test mode, most BigQuery variables are skipped to keep dry-run estimation accurate.
|
|
224
224
|
// Fresh checkpoint variables are the exception: fresh tables persist alongside daily and
|
|
225
225
|
// intraday tables, so the checkpoints are needed even in test mode to avoid duplicate data.
|
|
226
|
-
const freshNeedsCheckpoint = config.
|
|
226
|
+
const freshNeedsCheckpoint = config.sourceTableType === 'GA4_EXPORT' &&
|
|
227
|
+
config.includedExportTypes.fresh &&
|
|
227
228
|
(config.includedExportTypes.daily || config.includedExportTypes.intraday);
|
|
228
229
|
if (config.test && !freshNeedsCheckpoint) {
|
|
229
230
|
return '';
|