You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by jinfengni <gi...@git.apache.org> on 2016/12/19 23:56:33 UTC

[GitHub] drill pull request #662: DRILL-5051: Fix incorrect result returned in nest q...

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

    https://github.com/apache/drill/pull/662#discussion_r93146424
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestBugFixes.java ---
    @@ -221,4 +221,14 @@ public void testDRILL4884() throws Exception {
                 .baselineRecords(baseline)
                 .go();
       }
    +
    +  @Test
    +  public void testDRILL5051() throws Exception {
    +    testBuilder()
    +        .sqlQuery("select count(1) as cnt from (select l_orderkey from (select id from cp.`tpch/lineitem.parquet` limit 2) limit 1 offset 1)")
    --- End diff --
    
    This query seems to hit SQL validation error " Column 'l_orderkey' not found in any table". 
    
    I'm going to change column "id" to "l_orderkey" in the inner subquery, in order to skip this validation error.



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---