简体   繁体   English

如何在 Azure Synapse 中创建通用数据流

[英]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.

相关问题 如何在 Azure 数据工厂 (Synapse Studio) 中使用管道表达式(不是数据流表达式)创建键值 map - How to create a key-value map with pipeline expression (not data flow expression) in Azure Data Factory (Synapse Studio) 如何过滤 Azure 突触过滤器转换映射数据流中的列表 - How can I filter on a list in Azure Synapse filter transformation mapping data flow 如何将 API 数据加载到 Azure Synapse 中? - How to load API data into Azure Synapse? 如何连接到 Azure Synapse? - How to connect to Azure Synapse? 当 Azure Synapse 的数据流不支持我的数据源时该怎么办? - What to do when my Data source is not supported by Azure Synapse's Data Flow? 如何使用 Rest API 在 azure 突触分析项目中创建管道? - How to create Pipeline in azure synapse analytics project Using Rest API? Azure Synapse - 增量数据加载 - Azure Synapse - Incremental Data Load 如何在外部源和天蓝色突触分析之间传输数据 - How to data transfer between external source and azure synapse analytics 如何在 Azure 数据仓库(突触)中授予架构级别权限? - How to give Schema Level permission in Azure Data Warehouse (Synapse)? 如何查看Azure Synapse中物化视图数据存储和维护成本? - How to check materialized view data storage and maintenance cost in Azure Synapse?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM