Reputation: 93
We were trying to copy and transform data from one cosmos collection to another using data flows. We are using query to select the data from the collection, all of a sudden the data factory show validation error:
Data flow expression uses functions/parameters/columns which are not present in current context
when the validate all
option is selected.
We did not make any modifications and nothing published this occurred. Also when we try to debug it shows the same error.
How should this be resolved?
Upvotes: 2
Views: 4520
Reputation: 1021
I don't know if you're still having this issue, but for the people coming here in the future the issue is resolved by importing the schema on the step before the filter/select.
Start Debug session
Select the Source > Projection > Import Projection
This will update the schema to allow for your query to view the column
Upvotes: 1
Reputation: 91
Yes i have faced this error before @Akhilesh.
Debug will not run if you have any invalid fields within the dataflow. There might be any expression field which is invalid and hence u r getting validation error.
Upvotes: 1