[
https://issues.apache.org/jira/browse/DRILL-5784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vlad Rozov reassigned DRILL-5784:
---------------------------------
Assignee: (was: Vlad Rozov)
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)