How to use in partition conditions dynamic content for SAP CDC?

Oleksandr Bondariev 0 Reputation points
2023-02-16T16:58:10.9666667+00:00

I have data flow with SAP cdc source . And I try to create partitions using dynamic content.
User's image

Unfortunately, I didn't see anything in the documentation. So I tried lots of options that seem suitable to me but unsuccessfully.
For example this one:

 '{"FieldName":"ERDAT","Sign":"I","Option":"BT","Low":"20201025","High":"20201125"}'

Any help or pointers appreciated.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,295 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,426 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Juan Diego Echavarria Ramirez 0 Reputation points
    2023-05-23T22:53:34.4+00:00

    Hello,

    I dealed with the same problem.

    After going through all the comments, nothing worked for me.

    I wanted to use some parameters:

    FieldName and FilterValue.

    The problem is reduced to string formatting.

    This worked for me:

    The operation that I did is: FieldName = FilterValue

    '[[{"FieldName": "' + $FieldName + '","Sign":"I","Option":"EQ","Low": "' + $FilterValue + '"}]]'

    Hope this works for you all too.

    Greetings from Colombia! :)


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.