简体   繁体   English

Stream/Task 是否可以用作仓库解决方案中的 ETL

[英]Stream/Task can be used as ETL in warehouse solution or not

I want to replicate the the ETL solution is snowflake.我想复制 ETL 解决方案是雪花。 I have achieved that using streams and tasks.我已经使用流和任务实现了这一点。 I am using stored procedure on the stream table where there are merge queries that replicate the logic in any other ETL tool like Informatica and tasks to automate the flow.我在 stream 表上使用存储过程,其中存在复制任何其他 ETL 工具(如 Informatica)中的逻辑的合并查询和自动化流程的任务。 Is this approach feasible for delta changes?这种方法对于增量更改是否可行?

IMO, an ETL architecture consisting Snowflake tools (Snowpipe, Streams, Tasks, Stored Procedures) is a perfectly fine solution for many/most data pipeline use cases. IMO 是一种由雪花工具(雪管、流、任务、存储过程)组成的 ETL 架构,是许多/大多数数据管道用例的完美解决方案。 I've now seen both small and large organizations with multiple in-house ETL tools use this architecture within Snowflake, quite frankly because it works and it's all they need for their use case.我现在已经看到拥有多个内部 ETL 工具的小型和大型组织都在 Snowflake 中使用这种架构,坦率地说,因为它可以工作,而且这是他们用例所需要的全部。

I'm sure there are some use cases where moving forward with your favorite ETL tool make sense, but if you're comfortable with this architecture and it meets your need, there is no reason to not use it.我确信在某些用例中使用您最喜欢的 ETL 工具是有意义的,但如果您对这种架构感到满意并且它满足您的需求,那么没有理由不使用它。

A good diagram of the data pipeline architecture can be found at this link:可以在此链接中找到数据管道架构的良好图表:

https://docs.snowflake.com/en/user-guide/data-pipelines-intro.html https://docs.snowflake.com/en/user-guide/data-pipelines-intro.html

If you need more information on how to use streams, this link is the place to start:如果您需要有关如何使用流的更多信息,请从以下链接开始:

https://docs.snowflake.com/en/user-guide/streams.html https://docs.snowflake.com/en/user-guide/streams.html

If you need more information on your MERGE command, the docs are here:如果您需要有关 MERGE 命令的更多信息,请参阅文档:

https://docs.snowflake.com/en/sql-reference/sql/merge.html https://docs.snowflake.com/en/sql-reference/sql/merge.html

And there is a nice blog post on MERGE here:这里有一篇关于 MERGE 的不错的博文:

https://dwgeek.com/snowflake-merge-statement-syntax-usage-and-examples.html/ https://dwgeek.com/snowflake-merge-statement-syntax-usage-and-examples.html/

I hope this helps...Rich我希望这会有所帮助...丰富

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM