mirror of
https://github.com/google/nomulus.git
synced 2025-06-27 14:54:51 +02:00
Filter synthetic OneTimes from billing SQL
Fix [] this filter was in the incorrect place. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144875580
This commit is contained in:
parent
a28e0b3ff7
commit
0c2b1d1b32
1 changed files with 5 additions and 4 deletions
|
@ -92,6 +92,10 @@ FROM (
|
|||
-- Filter out prober data.
|
||||
tld IN
|
||||
(SELECT tld FROM [%DEST_DATASET%.RegistryData] WHERE type = 'REAL')
|
||||
-- TODO(b/27562876): Filter out synthetic OneTime events until we
|
||||
-- verify that expanded OneTime events via MapReduce are correct and
|
||||
-- complete.
|
||||
AND syntheticCreationTime IS NULL
|
||||
), (
|
||||
-- Extract synthetic recurring events from view of Recurring data.
|
||||
--
|
||||
|
@ -149,10 +153,7 @@ LEFT JOIN EACH (
|
|||
[%SOURCE_DATASET%.Cancellation]
|
||||
WHERE
|
||||
-- Filter out Registry 1.0 data - TODO(b/20828509): remove this.
|
||||
__key__.namespace = ''
|
||||
-- TODO(b/27562876): Filter out synthetic OneTime events until we verify
|
||||
-- that expanded OneTime events via MapReduce are correct and complete.
|
||||
AND syntheticCreationTime IS NULL)
|
||||
__key__.namespace = '')
|
||||
WHERE
|
||||
-- Filter out prober data.
|
||||
tld IN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue