<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:/var/app/InputFileSchema.xsd">
    <changeset id="snowflake_neo4j_test:1" author="npatel" run-on-change="true">
        <precondition>
            <sqlquery>
                <![CDATA[
                    SELECT DISTINCT vendor_id
                    FROM orchard_app_reporting_v2.art_relations_prod_art_relations.vendor
                    WHERE owner IN ('MS-DEF',
                                    'MS-NY',
                                    'MS-UK')

                ]]>
            </sqlquery>
        </precondition>
        <cypherquery>
            <![CDATA[
                MATCH (v:Vendor {vendorId: event.VENDOR_ID})
                set v.touchedByBackfill = datetime(), v.updatedBy = "snowflake_neo4j_test"
                RETURN v.id
            ]]>
        </cypherquery>
    </changeset>
</changelog>
