Created
          July 28, 2020 13:17 
        
      - 
      
 - 
        
Save eyadsibai/408da72a41b8c1a002e4b57c65ac02c7 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
eyadsibai created this gist
Jul 28, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ WHERE _PARTITIONTIME >= TIMESTAMP(DATE_SUB(@run_date, INTERVAL 1 DAY)) AND _PARTITIONTIME < TIMESTAMP(DATE_SUB(@run_date, INTERVAL 0 DAY))