Action Import file option - "Do Nothing"

Hello,

Is anyone else interested in an option for the Import file action that would "Do Nothing" if the file does not exist? This way, we wouldn't have to check if the file exists and then create two derived tables and skip actions based on whether the table is empty. This would avoid duplicating data collection logic and could save us quite a lot of time (since we mainly use Parquet files to store our data).

Best regards,
Chris

Hello Chris,

I understand where you're coming from.

FYI - in the most recent version (5.8.2), we've added the "Skip only the next action" mode to the "Skip" action. So you can build a list of files, filter only the file you need to load, and then use the "Skip" action to skip the following import action if the list is empty. All can be done in one table.

Hi Dmitry,

Thanks for the update; it's a much better approach to put this into an 'all-purpose' action, as you did, rather than limiting it to a single category of actions.

Best regards,
Chris

1 Like

Hi Chris,

Yes, we try to keep the actions light on settings, by highly composable (chainable).