V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zcguo
V2EX  ›  问与答

hive 中的窗口函数对资源的消耗是不是很大,有没有书讲这种 hive sql 优化的

  •  
  •   zcguo · Jun 3, 2019 · 2428 views
    This topic created in 2524 days ago, the information mentioned may be changed or developed.

    上星期工作中,使用了 row_number()的窗口函数,开窗中 parititon by 了三个字段,速度异常的慢,后来我用了一个比较绕的方法使用 group by 实现了功能,速度快了很多,所以想问一下,是不是窗口函数对资源消耗很大,以及有没有书讲了这种 hive sql 的优化问题

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2518 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    ♥ Do have faith in what you're doing.