gpt4 book ai didi

Azure 数据流 - 动态分组依据

转载 作者:行者123 更新时间:2023-12-03 05:32:08 28 4
gpt4 key购买 nike

在 Azure 数据流中,在聚合转换中是否可以在分组依据中动态包含列?我在分组依据中可能需要 8 列,具体取决于它们的值,即如果值为 1,则包含在分组依据中。

简化为 2 列:

Column1     Column2
1 1

Group By Column1, Column2

Column1 Column2
1 0

Group By Column1

最佳答案

使用聚合分组依据字段中的表达式生成器链接来添加动态内容。您可以在那里使用参数、列和表达式。您还可以在聚合之前使用派生列定义自定义列,并在分组依据中使用这些列。

enter image description here

关于Azure 数据流 - 动态分组依据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64660977/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com