Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.36k stars 2k forks source link

operationType field missing in changeFeed #32388

Open vavasthi opened 1 year ago

vavasthi commented 1 year ago

If I start a changeFeed with format cosmos.oltp.changefeed, the operationType field is always null.

    spark.readStream()
            .format("cosmos.oltp.changefeed")
            .schema(changeDocumentSchemaRead())

The schema contains the field and the database also contains the field but change feed has the value as null.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kushagraThapar, @TheovanKraay

kushagraThapar commented 1 year ago

@xinlian12 please take a look at this.

TheovanKraay commented 1 year ago

Lets revisit this for next semester.

kushagraThapar commented 10 months ago

@xinlian12 please take a look at this, thanks!