2

I have added "Azure Data Explorer Command" in ADF pipeline, but it is not accepting dynamic parameters inside command expression.

ex: Step 1: added Azure Data Explorer Command

enter image description here

Step 2: Added two parameters enter image description here

Step 3: Added dynamic expression in command window

enter image description here

Step 4: Added Kusto function with parameters

.append rfi_ret_qhour_agg <| RFIRetFactAggFunction(@pipeline().parameters.windowStart),@pipeline().parameters.windowEnd)

Not sure why but above expression with dynamic parameters not working.

Alexander Sloutsky
  • 2,827
  • 8
  • 13
sam
  • 377
  • 1
  • 3
  • 8

2 Answers2

1

Please try to wrap the parameters with curly brackets:

.append rfi_ret_qhour_agg <| RFIRetFactAggFunction(@{pipeline().parameters.windowStart}),@{pipeline().parameters.windowEnd})

1

I understand you need to call a ADX function and pass the parameters into it. I would achieve this by the following using @concat.

@concat('rfi_ret_qhour_agg <| RFIRetFactAggFunction(',pipeline().parameters.windowEnd,pipeline().parameters.windowStart,')')
Justin Mathew
  • 950
  • 8
  • 34