Daniel Becker created IMPALA-11778: -------------------------------------- Summary: Printing maps may produce invalid json Key: IMPALA-11778 URL: https://issues.apache.org/jira/browse/IMPALA-11778 Project: IMPALA Issue Type: Improvement Components: Backend Reporter: Daniel Becker Assignee: Daniel Becker
Impala allows non-string types, for example numbers, to be keys in maps. We print maps as json objects, but json objects only allow string keys. If the Impala map has for example an INT key, the printed json is invalid. Hive has the same issue. We could introduce a query option that, when set to true, would convert non-string keys to strings to produce valid json. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org