We have a simple U-SQL Migration Script that:
- Selects data from a staging table in our ADL database
- Truncates the staging table
- Inserts contents to a persisted table in ADL
When we run this script after running our loading script for our staging table, the script runs successfully and the data is inserted. If I run this same migration script for a second time, however, I get the following error:
"diagnosticCode":195887168,"severity":"Error","component":"RUNTIME","source":"System","errorId":"E_RUNTIME_SYSTEM_INTERNALISSUE","message":"An internal error has been reported [Assertion failed: 'partitionDimension < vertexIndices.size()' at ScopeEngine::GetPartitionIndex(1020),]"
Finally, if I again run the loading script followed by the migration script, all is well again. Can anyone provide more information about what may be wrong?