https://issues.apache.org/jira/browse/HIVE-11315