[ https://issues.apache.org/jira/browse/HIVE-21705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835309#comment-16835309 ]
Matthew Liem edited comment on HIVE-21705 at 5/9/19 5:54 PM: ------------------------------------------------------------- I can work on this but wanted to first check with what others are doing and have planned for the project. Mapreduce has a similar feature with "mapreduce.output.basename" and the proposed solution is to have a similar hive conf setting "hive.output.file.prefix" that will append hive output file names This would require we modify getFinalPath in the FileSinkOperator class and pass in a prefix from newly created HiveConf.ConfVars.OUTPUT_FILE_PREFIX was (Author: mliem): Idea is to modify getFinalPath in the FileSinkOperator class, pass in a prefix from newly created HiveConf.ConfVars.OUTPUT_FILE_PREFIX I can work on this but wanted to first check with what others are doing and have planned for the project. > Allow user to specify file prefix for hive output files > -------------------------------------------------------- > > Key: HIVE-21705 > URL: https://issues.apache.org/jira/browse/HIVE-21705 > Project: Hive > Issue Type: New Feature > Affects Versions: 2.3.4 > Reporter: Matthew Liem > Priority: Minor > > Allow users to specify prefix for hiveoutput files. e.g > set hive.output.file.prefix="" > This would happen in the tmpPath -> finalPath rename. -- This message was sent by Atlassian JIRA (v7.6.3#76005)