Vitalii Diravka created DRILL-8195:
--------------------------------------
Summary: Enable Mongo ExtendedTypeName for JSON EVF
Key: DRILL-8195
URL: https://issues.apache.org/jira/browse/DRILL-8195
Project: Apache Drill
Issue Type: Improvement
Components: Storage - JSON
Affects Versions: 1.20.0
Reporter: Vitalii Diravka
Assignee: Vitalii Diravka
Fix For: 2.0.0
Add new format ifor mongo-styled dates intorduced in DRILL-8143 to EVF based
JSON reader
The following test cases failed:
_TestExtendedTypes, TestFrameworkTest, TestCsvWithoutHeadersWithSchema,
TestNestedDateTimeTimestamp, TestJsonRecordReader_
{code:java}
java.lang.Exception: org.apache.drill.common.exceptions.UserRemoteException:
DATA_READ ERROR: Type of JSON token is not compatible with its columnJSON token
type: date
JSON token: 2019-09-30T20:47:43.10+05
Column: date
Column type: TIMESTAMP
Format plugin: json
Format plugin: JSONFormatPlugin
Plugin config name: json
File name: classpath:/jsoninput/input2.json
Line: 32
Position: 42
Near token: 2019-09-30T20:47:43.10+05
Fragment: 0:0 {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)