Shubham Chaurasia created HIVE-22541: ----------------------------------------
Summary: Inconsistent decimal precision/scale of resultset schema in analyzer.genLogicalPlan() as compared to analyzer.analyze() Key: HIVE-22541 URL: https://issues.apache.org/jira/browse/HIVE-22541 Project: Hive Issue Type: Bug Components: Query Planning Affects Versions: 4.0.0 Reporter: Shubham Chaurasia Assignee: Shubham Chaurasia https://issues.apache.org/jira/browse/HIVE-21641 handles decimal scale/precision inconsistencies when we query using llap external client. [HIVE-21641 changes|https://issues.apache.org/jira/secure/attachment/12968006/HIVE-21641.4.patch] {{analyzer.genLogicalPlan(ast)}} to {{analyzer.analyze(ast, ctx)}} to handle this. However we should fix {{analyzer.genLogicalPlan(ast)}} to return correct decimal precision/scale. Please see [this|https://issues.apache.org/jira/browse/HIVE-21641?focusedCommentId=16981513&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16981513] and [this|https://issues.apache.org/jira/browse/HIVE-21641?focusedCommentId=16982053&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16982053] comment for more. cc [~jcamachorodriguez] [~kgyrtkirk] -- This message was sent by Atlassian Jira (v8.3.4#803005)