[ https://issues.apache.org/jira/browse/HIVE-23031?focusedWorklogId=428741&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-428741 ]
ASF GitHub Bot logged work on HIVE-23031: ----------------------------------------- Author: ASF GitHub Bot Created on: 29/Apr/20 20:36 Start Date: 29/Apr/20 20:36 Worklog Time Spent: 10m Work Description: jcamachor commented on a change in pull request #988: URL: https://github.com/apache/hive/pull/988#discussion_r417595617 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/DataSketchesFunctions.java ########## @@ -128,14 +141,26 @@ private void buildCalciteFns() { OperandTypes.family(), unionFn); + unionSFD.setCalciteFunction(unionFn); sketchSFD.setCalciteFunction(sketchFn); + if (estimateSFD != null) { + SqlFunction estimateFn = new HiveSqlFunction(estimateSFD.name, + SqlKind.OTHER_FUNCTION, + ReturnTypes.explicit(SqlTypeName.DOUBLE), Review comment: Do we have a follow-up? Would you mind to create it so we can keep track? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 428741) Time Spent: 2.5h (was: 2h 20m) > Add option to enable transparent rewrite of count(distinct) into sketch > functions > --------------------------------------------------------------------------------- > > Key: HIVE-23031 > URL: https://issues.apache.org/jira/browse/HIVE-23031 > Project: Hive > Issue Type: Sub-task > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > Attachments: HIVE-23031.01.patch, HIVE-23031.02.patch, > HIVE-23031.03.patch, HIVE-23031.03.patch, HIVE-23031.03.patch, > HIVE-23031.04.patch, HIVE-23031.04.patch > > Time Spent: 2.5h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)