Google BigQuery updated linked service error: "Message=No current element is available" for empty result

Quyen Dang 21 Reputation points
2024-07-01T14:42:56.19+00:00

I started to receive failure with error "Message=No current element is available" for Copy activity with the new Google BigQuery linked service. The legacy one doesnt throw an error/failure when the Google SQL query gives an empty result. I feel like an empty result from a running query shouldn't give a failure on the activity at all and it feels like a bug.

Does this happen for anyone else too? Maybe there are some settings that I missed when setup the new Google BigQuery linked service?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,566 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 30,816 Reputation points Microsoft Employee
    2024-08-27T21:16:03.5066667+00:00

    Hello Monem Metwally,

    PG deployed the changes, and this should fix the issue.

    If you're still encountering the same issue when reading an empty table, it’s likely that you're using SHIR. You need to upgrade the SHIR to the next version and try again.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.