You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Vlad Rozov (JIRA)" <ji...@apache.org> on 2017/09/13 00:13:00 UTC

[jira] [Created] (DRILL-5784) SYSTEM ERROR: IndexOutOfBoundsException: index: 512, length: 4 (expected: range(0, 512))

Vlad Rozov created DRILL-5784:
---------------------------------

             Summary: SYSTEM ERROR: IndexOutOfBoundsException: index: 512, length: 4 (expected: range(0, 512))
                 Key: DRILL-5784
                 URL: https://issues.apache.org/jira/browse/DRILL-5784
             Project: Apache Drill
          Issue Type: Bug
         Environment: planner.slice_target > 100000
planner.enable_nljoin_for_scalar_only = false
            Reporter: Vlad Rozov
            Assignee: Vlad Rozov


The following query causes IndexOutOfBoundsException:
{code}
SELECT 
  `t1`.`one` `one` 
FROM 
  (
    SELECT 
      1 `one` 
    FROM 
      dfs.`<path to drill>/drill/exec/java-exec/src/test/resources/join/j1`
      INNER JOIN (
        SELECT 
          314 `c_integer` 
        FROM 
          dfs.`<path to drill>/drill/exec/java-exec/src/test/resources/join/j1`
      ) `t0` ON (
        `<path to drill>/drill/exec/java-exec/src/test/resources/join/j1`.c_integer IS NOT DISTINCT 
        FROM 
          `t0`.`c_integer`
      ) 
    GROUP BY 
      `one`
  ) `t1` 
  INNER JOIN (
    SELECT 
      count(1) `measure` 
    FROM 
      dfs.`<path to drill>/drill/exec/java-exec/src/test/resources/join/j1`
  ) `t5` ON TRUE
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)