Rahul Challapalli created DRILL-5600: ----------------------------------------
Summary: Using convert_to function on top of a map gives random errors Key: DRILL-5600 URL: https://issues.apache.org/jira/browse/DRILL-5600 Project: Apache Drill Issue Type: Bug Affects Versions: 1.11.0 Reporter: Rahul Challapalli git.commit.id.abbrev=3858bee git.commit.user.email=boazben-zvi@BBenZvi-E754-MBP13.local Error 1 : {code} select convert_to(s1.rms.rptd, 'utf8') from (select uid_rnd1, uid_rnd2, d.type type, d.uid uid, flatten(d.map.rm) rms from dfs.`/drill/testdata/nested_large_rand` d) s1; Error: SYSTEM ERROR: IllegalStateException: next() returned NONE without first returning OK_NEW_SCHEMA [#989, UnorderedReceiverBatch] Fragment 0:0 [Error Id: e12cb7c4-8ddf-45ba-8f51-34834a3d04c2 on qa-node190.qa.lab:31010] (state=,code=0) {code} Error 2 : {code} select convert_to(s1.rms.rptd, 'utf8') from (select uid_rnd1, uid_rnd2, d.type type, d.uid uid, flatten(d.map.rm) rms from dfs.`/drill/testdata/nested_large_rand` d) s1; Error: SYSTEM ERROR: SchemaChangeException: Failure while trying to materialize incoming schema. Errors: Error in expression at index 0. Error: Missing function implementation: [convert_toutf8(MAP-REPEATED)]. Full expression: null.. Fragment 1:0 [Error Id: 8e7ea6f4-b6f0-495a-9403-0ceda78a9572 on qa-node190.qa.lab:31010] (state=,code=0) {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)