Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/13#discussion_r13901742
  
    --- 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 --
    
    Please remove debug code.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to