locked
Python code reading parition data in ADFV2 RRS feed

  • Question

  • Hi  ,

    I am trying to write python code for reading parition data  in ADFV2

    Any sample code is available ? Requesting you please share the link.

    Thanks

    Swarup K 

    Tuesday, November 27, 2018 1:26 PM

Answers

  • Thanks ,

    I am did  custom logic and now  its working.

    Thanks

    Swarup

    • Marked as answer by Swarup K Monday, December 10, 2018 12:38 PM
    Monday, December 10, 2018 12:38 PM

All replies

  • Hi,

    Sorry I can not find the sample code of Python for you. But in Azure Data Factory version 1, you could read or write partitioned data by using the SliceStart, SliceEnd, WindowStart, and WindowEnd system variables. In the current version of Data Factory, you can achieve this behavior by using a pipeline parameter and a trigger's start time or scheduled time as a value of the parameter. 

    See how to create pipeline in Python: https://docs.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-python#create-a-pipeline

    See how to read/write partitioned data: https://docs.microsoft.com/en-us/azure/data-factory/how-to-read-write-partitioned-data

    Regards,

    Yutong

    Tuesday, November 27, 2018 11:33 PM
  • Thanks Yutong.

    I already gone thorough this link expecting some insight for python.

    Thanks 

    Swarup K 

    Wednesday, November 28, 2018 8:07 AM
  • Hi  ,

    I am trying to write python code for reading parition data  in ADFV2

    Any sample code is available ? Requesting you please share the link.

    I can able to see the same  in json code in below link

     https://docs.microsoft.com/en-us/azure/data-factory/how-to-read-write-partitioned-data 

    I am looking some insight in python.

    Thanks

    Swarup K 
    Monday, December 3, 2018 3:53 PM
  • Thanks ,

    I am did  custom logic and now  its working.

    Thanks

    Swarup

    • Marked as answer by Swarup K Monday, December 10, 2018 12:38 PM
    Monday, December 10, 2018 12:38 PM