[ https://issues.apache.org/jira/browse/HIVE-25242?focusedWorklogId=614414&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-614414 ]
ASF GitHub Bot logged work on HIVE-25242: ----------------------------------------- Author: ASF GitHub Bot Created on: 24/Jun/21 09:37 Start Date: 24/Jun/21 09:37 Worklog Time Spent: 10m Work Description: abstractdog merged pull request #2390: URL: https://github.com/apache/hive/pull/2390 -- 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: 614414) Time Spent: 50m (was: 40m) > Query performs extremely slow with hive.vectorized.adaptor.usage.mode = > chosen > ------------------------------------------------------------------------------- > > Key: HIVE-25242 > URL: https://issues.apache.org/jira/browse/HIVE-25242 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 4.0.0 > Reporter: Attila Magyar > Assignee: Attila Magyar > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > Time Spent: 50m > Remaining Estimate: 0h > > If hive.vectorized.adaptor.usage.mode is set to chosen only certain UDFS are > vectorized through the vectorized adaptor. > Queries like this one, performs very slowly because the concat is not chosen > to be vectorized. > {code:java} > select count(*) from tbl where to_date(concat(year, '-', month, '-', day)) > between to_date('2018-12-01') and to_date('2021-03-01'); {code} > The patch whitelists the concat udf so that it uses the vectorized adaptor in > chosen mode. -- This message was sent by Atlassian Jira (v8.3.4#803005)