Azure Data Factory COSMOS DB Analytical Store Queries

Ramesh V 20 Reputation points
2024-02-04T23:18:18.59+00:00

Hi, I'm trying to follow this article and filter records for deletes ex: c.__usr_opType='UPDATE' and this query gives some syntax errors. Need help with few samples. I tried this filter in the source query settings. Here is the error message: cannot resolve 'c.__usr_opType' given input columns: [c.__sys_invOffsetLSID, c.__sys_invOffsetRecordIdx, c.__sys_invType, c.__sys_isSystemRelocated, c.__sys_isTombstone, c.__sys_recordIndex, c.__sys_sequenceNumber, c._etag, c._rid, c._ts, 'Project [*] +- 'Filter (('c.__usr_opType = UPDATE) OR (__sys_isTombstone#8975L = cast(1 as bigint))) https://learn.microsoft.com/en-us/azure/cosmos-db/get-started-change-data-capture Thanks & Regards, Ramesh

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

1 answer

Sort by: Most helpful
  1. SSingh-MSFT 16,461 Reputation points Moderator
    2024-02-05T09:49:47.7766667+00:00

    Hi Ramesh V,

    Welcome to Microsoft Q&A forum.

    As I understand, you are getting error in Azure Cosmos Mongo DB cluster queries as cannot resolve column.

    Could you please more details of the steps you are taking for the above execution?

    Are you performing this using Azure portal?

    What sample data and query is being used?

    What are the configuration and network settings of thie DB?

    Share any more relevant information using screenshots.

    Thanks

    0 comments No comments

Your answer

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