Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.9.0
-
None
Description
Run the following unittest:
@Test public void testParquetReaderCleanupNPE() throws Exception { test("SELECT * FROM cp.`parquet2/decimal28_38.parquet`"); }
Following is the output:
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
Ideally in this case we should get the following query error:
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.