[英]How to create a generic data flow in Azure Synapse
I am trying to build a generic data flow using parameters to specifiy the columns names.我正在尝试使用参数来指定列名称来构建通用数据流。
I can use byName within "Filter", "Join" and "Derived Columns", but get the following error when using byName in "Window":-我可以在“Filter”、“Join”和“Derived Columns”中使用 byName,但是在“Window”中使用 byName 时会出现以下错误:-
For example byName('xxxx') works fine in the previous steps but fails in "Window".例如 byName('xxxx') 在前面的步骤中工作正常,但在“窗口”中失败。
How can I work around this?我该如何解决这个问题?
Instead of using byName() directly in the over clause, use a Derived Column prior to your Window transformation and set the name of the column using byName() there.不要直接在 over 子句中使用 byName(),而是在 Window 转换之前使用派生列,并在那里使用 byName() 设置列的名称。 Call the new column something like columnForMyOverClause.将新列称为 columnForMyOverClause。 Then pick columnForMyOverClause in the Window transformation.然后在 Window 转换中选择 columnForMyOverClause。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.