if you have a long query running against a or some table/s and before the query finishes the table is truncated you can get this error

one example is a query in a dwh running for a long time and overlaps with batch jobs where it truncates tables the query is running against