[ https://issues.apache.org/jira/browse/HIVE-21791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16848949#comment-16848949 ]
Miklos Gergely commented on HIVE-21791: --------------------------------------- The surrogate_key() function should be used only in table creation for acid or insert-only tables, as described in it's documentation: https://docs.hortonworks.com/HDPDocuments/HDP3/HDP-3.1.0/using-hiveql/content/hive_surrogate_keys.html > Fix Surrogate Key issue for insert with select with limit operations > -------------------------------------------------------------------- > > Key: HIVE-21791 > URL: https://issues.apache.org/jira/browse/HIVE-21791 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 3.1.1 > Reporter: Miklos Gergely > Assignee: Miklos Gergely > Priority: Major > Attachments: HIVE-21791.01.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)