Pivots using ETL Metadata Injection

眉间皱痕 提交于 2019-12-13 01:27:24

问题


It's quite simple to use row denormaliser to achieve pivots when we have few records which can be written manually in denorm step,but what when there's hundreds of thousands of records? I tried using etl metadata injection step, but I was unable to achieve my desired output.

Here is the link to my previous post where my source data has been defined.

and here is what I have tried

row denormaliser options

pivot_inject_etl_metadata.ktr


回答1:


Try something like this:

pivot_inject_etl_metadata.ktr:

Group by: sku_id

Add constants:

ETL Metadata Injection:



来源:https://stackoverflow.com/questions/35715048/pivots-using-etl-metadata-injection

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!