[ https://issues.apache.org/jira/browse/HIVE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713393#action_12713393 ]
Zheng Shao commented on HIVE-518: --------------------------------- One additional comment: Can you use random(460476415) instead of random(1)? random(1) is likely to appear in user's query as well, which may make the query sampling non-uniform. This is a really simple change now, but might save a lot of time debugging in the future. > test mode in hive > ----------------- > > Key: HIVE-518 > URL: https://issues.apache.org/jira/browse/HIVE-518 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.3.1 > Reporter: Namit Jain > Assignee: Namit Jain > Fix For: 0.4.0 > > Attachments: hive.518.1.patch, hive.518.2.patch > > > It would be good to have a test mode in hive - this will help in checking the > validity of a hive drop on a production cluster. > The following would be good to have: > Testmode --> In testmode, all input tables are sampled (if not already > sampled) and all output tables are prefixed by a user supplied name. > This way, multiple hive drops can be compared quickly for correctness -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.