Rahul Challapalli created DRILL-4988: ----------------------------------------
Summary: IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA Key: DRILL-4988 URL: https://issues.apache.org/jira/browse/DRILL-4988 Project: Apache Drill Issue Type: Bug Reporter: Rahul Challapalli git.commit.id.abbrev=4ee1d4c The below query fails {code} select a.int_col, b.date_col from dfs.`/drill/testdata/parquet_date/metadata_cache/mixed/fewtypes_null_large` a inner join ( select * from dfs.`/drill/testdata/parquet_date/metadata_cache/mixed/fewtypes_null_large` where dir0 = '1.2' and date_col > '1996-03-07' ) b on a.date_col = cast(date_add(b.date_col, 5) as date) where a.int_col = 7 and a.dir0='1.9' group by a.int_col, b.date_col; Error: SYSTEM ERROR: IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA [#16496, UnorderedReceiverBatch] Fragment 1:0 [Error Id: 75ab86a9-1d08-488e-9dfe-231f0f278688 on qa-node191.qa.lab:31010] (state=,code=0) {code} DataSet : This data set is generated for testing DRILL-4203. The dataset contains multiple subfolders and each subfolder has a metadata cache generated from a different version of drill. I attached the error from the logs and the required dataset. -- This message was sent by Atlassian JIRA (v6.3.4#6332)