Prasad Nagaraj Subramanya created DRILL-5742: ------------------------------------------------
Summary: CONVERT_FROM_JSON on a non-existing column in a file throws null pointer exception Key: DRILL-5742 URL: https://issues.apache.org/jira/browse/DRILL-5742 Project: Apache Drill Issue Type: Bug Affects Versions: 1.11.0 Reporter: Prasad Nagaraj Subramanya Query using CONVERT_FROM_JSON on a non-existing field. {code} SELECT CONVERT_FROM(columns[3], 'JSON') as col1 FROM dfs.`file1.tbl`; {code} The file above has only 3 columns. Throws the below exception {code} Error: SYSTEM ERROR: NullPointerException Fragment 0:0 {code} Expected behavior - The query should return null, which is the behavior if we scan a non-existing field. -- This message was sent by Atlassian JIRA (v6.4.14#64029)