Shawn Weeks created HIVE-21461: ---------------------------------- Summary: Query Cache Contains Incorrect Result For Virtual Columns Key: HIVE-21461 URL: https://issues.apache.org/jira/browse/HIVE-21461 Project: Hive Issue Type: Bug Affects Versions: 3.1.0 Reporter: Shawn Weeks
Hive query cache will contain incorrect results if query containing virtual columns input__file__name or block__offset__inside__file are run prior to compactions and then run immediately after. Not sure if these should be treated like non-deterministic functions or if it's possible for Hive to know that the underlying data has been rearranged due to compaction. {code:java} select count(*), input__file__name from test_hive_streaming group by input__file__name; {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)