You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an epic to track work we plan to do around triggers in 0.14 and 0.15.
Add a "null action" e.g. action "NONE" to avoid moving the file. User can decide how and when they want to process the detected file (move/rename, delete)
Allow to determine when the action of MOVE or DELETE should be executed: 1) during trigger evaluation (as is currently), 2) post-execution i.e. in the same way as listeners were handled (running after Execution terminated). This might be an Enum property actionOn: POST_TRIGGER, POST_EXECUTION. Alternative (and preferred) way would be to only keep the post-execution behavior so that the file persists until the Execution ends. The downsides of this approach is that if processing would take longer, this could lead to the trigger being potentially evaluated multiple times (?)
Allow not to download the detected file to internal storage. Instead, provide a full path e.g. s3://mybucket/myfile.csv and let the user download and process the file as they wish. This is especially desirable when dealing with large files and when the task doesn't even need to download a file e.g. LoadFromGCS task may be used with GCS Trigger to detect a file and then ingest it to BigQuery directly from GCS without downloading it.
Trigger an execution when a file was modified. This would require the NONE action to avoid a never ending loop. In theory, triggers must be stateless so we cannot store metadata such as file size or last modified date in the backend. However, we can compare the last modified date (we store lastModifiedDate for all file detection triggers) of the file with the last trigger execution to evaluate whether a file has changed and the trigger needs to start a new execution.
The content you are editing has changed. Please copy your edits and refresh the page.
This is an epic to track work we plan to do around triggers in 0.14 and 0.15.
lastModifiedDate
for all file detection triggers) of the file with the last trigger execution to evaluate whether a file has changed and the trigger needs to start a new execution.Tasks
The text was updated successfully, but these errors were encountered: