[ https://issues.apache.org/jira/browse/SPARK-13418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15156534#comment-15156534 ]
Cheng Lian commented on SPARK-13418: ------------------------------------ Summary of offline discussion with [~rxin]: Moving {{.sql}} to {{LogicalPlan}} can be subtle. For example, {{Subquery.sql}} needs to match against {{MetastoreRelation}} for SQL generation, but {{MetastoreRelation}} is in the {{hive}} package. On the other hand, we are planning to merge {{SQLContext}} and {{HiveContext}}. These problems will be gone after the merge. So let's leave it as is for now. > SQL generation for uncorrelated scalar subqueries > ------------------------------------------------- > > Key: SPARK-13418 > URL: https://issues.apache.org/jira/browse/SPARK-13418 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > > This is pretty difficult right now because SQLBuilder is in the hive package, > whereas the sql function for ScalarSubquery is defined in catalyst package. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org