79580448

Date: 2025-04-18 05:09:16
Score: 1
Natty:
Report link

I am trying to pass list of columns into the dataflow and do a column match but it's throwing the error - Column functions are not allowed in constant expressions

for this I tried to work around first of all there are few things which you need to cross check few things. byName() is a column function, and $columnList is a parameter (constant expression) — and ADF doesn’t allow mixing these in a direct boolean expression inside the column pattern rules or derived column mappings. Below is the error you are getting when I tried to do the same way you did.

enter image description here

First cross check your dataset connection is successful. Make sure you checked first row as header.

enter image description here

Then in the derived column use the below expression.

enter image description here

You can check the output.

enter image description here

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shraddha Pore