V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
liprais
V2EX  ›  问与答

Apache Spark SQL 的 physical planner 还没有实现?

  •  
  •   liprais · 2016-01-20 00:06:30 +08:00 · 1240 次点击
    这是一个创建于 3034 天前的主题,其中的信息可能已经有所发展或是发生改变。
    看源码找 catalyst 的 cost model 的时候看到了:
    /**
    * Abstract class for transforming [[plans.logical.LogicalPlan LogicalPlan]]s into physical plans.
    * Child classes are responsible for specifying a list of [[Strategy]] objects that each of which
    * can return a list of possible physical plan options. If a given strategy is unable to plan all
    * of the remaining operators in the tree, it can call [[planLater]], which returns a placeholder
    * object that will be filled in using other available strategies.
    *
    * TODO: RIGHT NOW ONLY ONE PLAN IS RETURNED EVER...
    * PLAN SPACE EXPLORATION WILL BE IMPLEMENTED LATER.
    *
    * @tparam PhysicalPlan The type of physical plan produced by this [[QueryPlanner]]
    */
    这跟论文里写的不一样啊?还是我看错地方了?
    论文在此: http://dl.acm.org/citation.cfm?id=2742797
    源代码在此: https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/planning/QueryPlanner.scala
    简直233
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5792 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:31 · PVG 14:31 · LAX 23:31 · JFK 02:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.