1

We have a simple U-SQL Migration Script that:

  1. Selects data from a staging table in our ADL database
  2. Truncates the staging table
  3. 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?

1 Answer 1

1

You will need to rebuild the script before run the second time if the input data changes. There's a limitation in the current local build process, we don't detected input data changes.

The script compilation results depend on input data. If the data changes, we need to recompile the script to generate the correct code.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.