Return-Path: X-Original-To: apmail-tajo-dev-archive@minotaur.apache.org Delivered-To: apmail-tajo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C826510695 for ; Tue, 7 Jan 2014 09:30:19 +0000 (UTC) Received: (qmail 15674 invoked by uid 500); 7 Jan 2014 09:30:16 -0000 Delivered-To: apmail-tajo-dev-archive@tajo.apache.org Received: (qmail 15633 invoked by uid 500); 7 Jan 2014 09:30:15 -0000 Mailing-List: contact dev-help@tajo.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tajo.incubator.apache.org Delivered-To: mailing list dev@tajo.incubator.apache.org Received: (qmail 15624 invoked by uid 99); 7 Jan 2014 09:30:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 09:30:15 +0000 X-ASF-Spam-Status: No, hits=-2000.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Jan 2014 09:30:12 +0000 Received: (qmail 14128 invoked by uid 99); 7 Jan 2014 09:29:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 09:29:51 +0000 Date: Tue, 7 Jan 2014 09:29:51 +0000 (UTC) From: "Jihoon Son (JIRA)" To: dev@tajo.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TAJO-481) Logical plan refactoring MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAJO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864035#comment-13864035 ] Jihoon Son commented on TAJO-481: --------------------------------- Welcome to any suggestions to improve the logical plan, including the naming. > Logical plan refactoring > ------------------------ > > Key: TAJO-481 > URL: https://issues.apache.org/jira/browse/TAJO-481 > Project: Tajo > Issue Type: Improvement > Components: distributed query plan, planner/optimizer > Affects Versions: 0.8-incubating > Reporter: Jihoon Son > Assignee: Jihoon Son > > The current logical plan has some problems such as requiring a complex logic to make a master plan, hard to be extended to support multiple outputs, and inefficient de/serialization. > In this issue, we improve the logical plan to handle these problems. We should reflect the followings. > * Change the logical plan from tree to DAG to easily support multiple outputs > * Enable to connect logical nodes and data channels > ** This makes GlobalPlanner simpler, since it removes complex codes for scan node creation. > ** Data channel has two types of materialized data channel and stream data channel (for the future). The materialized data channel should contain the store information for sender and the scan information for receiver. > * Refactor the de/serialization of logical plan > * Add a compare tool and hash tool for logical nodes > ** During the query planning, logical nodes are compared and hashed in various ways. To support various comparison and hashing, we need a new class such as LogicalNodeComparator and LogicalNodeHashCoder -- This message was sent by Atlassian JIRA (v6.1.5#6160)