[ https://issues.apache.org/jira/browse/HIVE-27264?focusedWorklogId=858244&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-858244 ]
ASF GitHub Bot logged work on HIVE-27264: ----------------------------------------- Author: ASF GitHub Bot Created on: 20/Apr/23 12:54 Start Date: 20/Apr/23 12:54 Worklog Time Spent: 10m Work Description: sonarcloud[bot] commented on PR #4237: URL: https://github.com/apache/hive/pull/4237#issuecomment-1516277670 Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=4237) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4237&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4237&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=4237&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=CODE_SMELL) [1 Code Smell](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=4237&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4237&metric=coverage&view=list) No Coverage information [](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=4237&metric=duplicated_lines_density&view=list) No Duplication information Issue Time Tracking ------------------- Worklog Id: (was: 858244) Time Spent: 2h 40m (was: 2.5h) > Literals in conjunction of two IN expression are considered not equals if > type precision is different > ----------------------------------------------------------------------------------------------------- > > Key: HIVE-27264 > URL: https://issues.apache.org/jira/browse/HIVE-27264 > Project: Hive > Issue Type: Bug > Components: CBO > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > Labels: pull-request-available > Time Spent: 2h 40m > Remaining Estimate: 0h > > {code} > create table r_table ( > string_col varchar(30) > ); > create table l_table ( > string_col varchar(14) > ); > insert into r_table VALUES ('AAA111'); > insert into l_table VALUES ('AAA111'); > SELECT l_table.string_col from l_table, r_table > WHERE r_table.string_col = l_table.string_col AND l_table.string_col IN > ('AAA111', 'BBB222') AND r_table.string_col IN ('AAA111', 'BBB222'); > {code} > Should give one row > {code} > AAA111 > {code} > but it returns empty rs > Workaround > {code} > set hive.optimize.point.lookup=false; > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)