You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/13 10:05:04 UTC
[jira] [Commented] (TAJO-1352) Improve the join order algorithm to
consider missed cases of associative join operators
[ https://issues.apache.org/jira/browse/TAJO-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624339#comment-14624339 ]
ASF GitHub Bot commented on TAJO-1352:
--------------------------------------
Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/593#discussion_r34440152
--- Diff: tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/SchemaUtil.java ---
@@ -161,4 +161,52 @@ public static String toDisplayString(Schema schema) {
DDLBuilder.buildSchema(sb, schema);
return sb.toString();
}
+
+ public static int estimateSchemaSize(Schema schema) {
--- End diff --
It seems to need some comment because it is hard to image its return value from the function name.
Also, ```estimateRowSize``` rather than ```schema``` may be more intuitive.
> Improve the join order algorithm to consider missed cases of associative join operators
> ---------------------------------------------------------------------------------------
>
> Key: TAJO-1352
> URL: https://issues.apache.org/jira/browse/TAJO-1352
> Project: Tajo
> Issue Type: Improvement
> Components: planner/optimizer
> Reporter: Jihoon Son
> Assignee: Jihoon Son
> Attachments: JoinGraph.png
>
>
> TAJO-1277 fixes a bug related to the associativity of join operators, but there are still some missed cases that join operators are associative. This work should include the cases described in the following links:
> * http://stackoverflow.com/questions/20022196/are-left-outer-joins-associative
> * https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Joins
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)