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
Occasionally I get one of these, when running the v2 upload on the new release branch (basically on master):
04:38:00 Encountered an error while running operation: Database Error
100112 (22000): Remote file 'http://.../stages/5ef57c80-83d2-4383-94ed-7c3738a0a04b/manifest.json.gz' was not found. There are several potential causes. The file might not exist. The required credentials may be missing or invalid. If you are running a copy command, please make sure files are not deleted when they are being loaded or files are not being loaded into two different tables concurrently with auto purge option.
This is a snowflake error, and I suspect it's to do with collisions in the stage. Either because the purge of the file is too aggressive (we're removing anything which matches pattern='.*.json.gz' or because we need to wait for snowflake to load the file properly before removing.
Given I think each dbt cloud run is running in an isolated environment, I think it's most likely that the issue is happening in the stage rather than locally. Suggested mitigating measures:
More specific remove command.
Get rid of remove and use the PURGE option on the stage to try and get snowflake to remove files itself automatically post-load.
Use a run specific stage (or location within the stage), probably using the command_invocation_id.
Gut feel on my part is that the last option alone might be the most elegant solution, because that totally isolates each run.
The text was updated successfully, but these errors were encountered:
I'm still getting this error on the current pre-release. Issue is the at #112 solves the file upload but not the file read. The stage reference in the FROM clause also needs to be qualified. Will make a PR
Occasionally I get one of these, when running the v2 upload on the new release branch (basically on master):
This is a snowflake error, and I suspect it's to do with collisions in the stage. Either because the purge of the file is too aggressive (we're removing anything which matches
pattern='.*.json.gz'
or because we need to wait for snowflake to load the file properly before removing.Given I think each dbt cloud run is running in an isolated environment, I think it's most likely that the issue is happening in the stage rather than locally. Suggested mitigating measures:
remove
command.remove
and use thePURGE
option on the stage to try and get snowflake to remove files itself automatically post-load.command_invocation_id
.Gut feel on my part is that the last option alone might be the most elegant solution, because that totally isolates each run.
The text was updated successfully, but these errors were encountered: