admin管理员组文章数量:1400037
I have a pipeline variable CurrentObjects that I need to pass to a notebook parameter as a string.
I am currently using: @join(variables('CurrentObjects'), ', ')
This returns: "object1, object2"
I need to return "'object1', 'object2'"
I tried using concat(''')..., but it gave error: String start single quote has no closing quote
I have a pipeline variable CurrentObjects that I need to pass to a notebook parameter as a string.
I am currently using: @join(variables('CurrentObjects'), ', ')
This returns: "object1, object2"
I need to return "'object1', 'object2'"
I tried using concat(''')..., but it gave error: String start single quote has no closing quote
Share Improve this question asked Mar 24 at 18:36 WardakyWardaky 11 bronze badge 1- Can you provide the value of Currentobjects variable and the exact error image? – Rakesh Govindula Commented Mar 24 at 19:04
1 Answer
Reset to default 0Array variable
the expression
@concat(concat('''',replace(join(variables('CurrentObjects'), ''''),'''',''',''')),'''')
Output
I Hope this helps.
本文标签: azureADF expression array conversion to single quoted and comma separated stringStack Overflow
版权声明:本文标题:azure - ADF expression: array conversion to single quoted and comma separated string - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744233820a2596464.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论