You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2015/05/11 00:11:00 UTC
[jira] [Created] (DRILL-3017) NPE when cleaning up some
RecordReader implementations
Venki Korukanti created DRILL-3017:
--------------------------------------
Summary: NPE when cleaning up some RecordReader implementations
Key: DRILL-3017
URL: https://issues.apache.org/jira/browse/DRILL-3017
Project: Apache Drill
Issue Type: Bug
Components: Execution - Relational Operators
Affects Versions: 0.9.0
Reporter: Venki Korukanti
Assignee: Venki Korukanti
Run the following unittest:
{code}
@Test
public void testParquetReaderCleanupNPE() throws Exception {
test("SELECT * FROM cp.`parquet2/decimal28_38.parquet`");
}
{code}
Following is the output:
{code}
Exception (no rows returned): org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR:
Fragment 0:0
[Error Id: 49db6650-8f62-4c5c-b9dc-3f5d6a4413a0 on localhost:31010]. Returned in 407ms.
org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR:
Fragment 0:0
{code}
Ideally in this case we should get the following query error:
{code}
Exception (no rows returned): org.apache.drill.common.exceptions.UserRemoteException: UNSUPPORTED_OPERATION ERROR: Decimal data type is disabled.
As of this release decimal data type is a beta level feature and should not be used in production
Use option 'planner.enable_decimal_data_type' to enable decimal data type
Fragment 0:0
[Error Id: d91a70ac-93c9-4be4-a542-4f3c7615b677 on localhost:31010]. Returned in 392ms.
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)