You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/02/16 13:31:35 UTC

[GitHub] [hive] okumin opened a new pull request #1984: HIVE-24240: Implement missing features in UDTFStatsRule

okumin opened a new pull request #1984:
URL: https://github.com/apache/hive/pull/1984


   https://issues.apache.org/jira/browse/HIVE-24240
   
   ### What changes were proposed in this pull request?
   Fix incorrect computations to estimate UDTF size.
   
   - Put 1 when numRows becomes zero because Hive expects it will be non-zero in regular cases
   - Use `StatsUtils .scaleColStatistics` to update col stats so as to update # of distinct values
   - Wrap the final stats with `applyRuntimeStats`
   
   This is a follow-up of https://github.com/apache/hive/pull/1531.
   
   ### Why are the changes needed?
   This PR would help Hive to compute more precise stats for UDTF.
   
   ### Does this PR introduce _any_ user-facing change?
   Compatible from the point of view of users.
   
   ### How was this patch tested?
   Revised one unit test.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] github-actions[bot] closed pull request #1984: HIVE-24240: Implement missing features in UDTFStatsRule

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #1984:
URL: https://github.com/apache/hive/pull/1984


   


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] okumin commented on pull request #1984: HIVE-24240: Implement missing features in UDTFStatsRule

Posted by GitBox <gi...@apache.org>.
okumin commented on pull request #1984:
URL: https://github.com/apache/hive/pull/1984#issuecomment-781886090


   @kgyrtkirk Could you please take a look when you have a chance?
   Thanks.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] github-actions[bot] commented on pull request #1984: HIVE-24240: Implement missing features in UDTFStatsRule

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #1984:
URL: https://github.com/apache/hive/pull/1984#issuecomment-855489263


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org