[
https://issues.apache.org/jira/browse/TAJO-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14043012#comment-14043012
]
ASF GitHub Bot commented on TAJO-774:
-------------------------------------
Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/13#discussion_r14168059
--- Diff:
tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java
---
@@ -1134,4 +1134,16 @@ private static InsertNode getInsertNode(LogicalPlan
plan) {
assertEquals(NodeType.INSERT, root.getChild().getType());
return root.getChild();
}
+
+ public static String readQuery(String fileName) throws IOException {
+ return FileUtil.readTextFileFromResource("queries/TestLogicalPlanner/"
+ fileName);
+ }
+
+ @Test
+ public final void testWindow1() throws PlanningException, IOException {
+ Expr expr = sqlAnalyzer.parse(readQuery("window1.sql"));
+ LogicalPlan plan = planner.createPlan(session, expr);
+ assertNotNull(plan);
+ System.out.println(plan.toString());
--- End diff --
fixed.
> Implement logical plan part and physical executor for window function.
> ----------------------------------------------------------------------
>
> Key: TAJO-774
> URL: https://issues.apache.org/jira/browse/TAJO-774
> Project: Tajo
> Issue Type: Sub-task
> Components: planner/optimizer
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Fix For: 0.9.0
>
>
> See the title. The main objective of this issue is to implement the logical
> planning part for window function support.
--
This message was sent by Atlassian JIRA
(v6.2#6252)