Kevin Wilfong created HIVE-3750:
-----------------------------------

             Summary: JDBCStatsPublisher fails when ID length exceeds length of 
ID column
                 Key: HIVE-3750
                 URL: https://issues.apache.org/jira/browse/HIVE-3750
             Project: Hive
          Issue Type: Bug
          Components: Statistics
    Affects Versions: 0.11
            Reporter: Kevin Wilfong
            Assignee: Kevin Wilfong


When the length of the ID field passed to JDBCStatsPublisher exceeds the length 
of the column in the table (currently 255 characters) stats collection fails.  
This causes the entire query to fail when hive.stats.reliable is set to true.

One way to prevent this would be to calculate a deterministic, very low 
collision hash of the ID prefix used for aggregation and use that when the 
length of the ID is too long.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to