[ https://issues.apache.org/jira/browse/HIVE-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677863#action_12677863 ]
Zheng Shao commented on HIVE-286: --------------------------------- Agree. We should not sacrifice the precision in default. The MySQL function closest to sprintf is http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_format Let's add that format function instead, and use it in the test cases to make sure it does not fail again. > testCliDriver_udf7 fails > ------------------------ > > Key: HIVE-286 > URL: https://issues.apache.org/jira/browse/HIVE-286 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Environment: Ubuntu, Java6, Hadoop 0.17, 0.18 and 0.19 > Reporter: Johan Oskarsson > Priority: Blocker > Fix For: 0.2.0 > > Attachments: hive-286.1.patch > > > The org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf7 test fails. > See this url for more information: > http://hudson.zones.apache.org/hudson/job/Hive-trunk-h0.19/lastBuild/testReport/org.apache.hadoop.hive.cli/TestCliDriver/testCliDriver_udf7/ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.