Hive 我可以更改配置单元的默认行分隔符吗?

Hive 我可以更改配置单元的默认行分隔符吗?,hive,delimiter,Hive,Delimiter,我可以更改配置单元的默认字段分隔符,但找不到更改默认行分隔符的方法,我有许多文件的数据行分隔符是'\u0002',如果我通过重写next()函数重写配置单元的InputFormat: @Override public boolean next(LongWritable key, Text value) throws IOException { while (reader.next(key, text)) {

我可以更改配置单元的默认字段分隔符,但找不到更改默认行分隔符的方法,我有许多文件的数据行分隔符是
'\u0002'
,如果我通过重写
next()
函数重写配置单元的InputFormat:

@Override
        public boolean next(LongWritable key, Text value) throws IOException {
            while (reader.next(key, text)) {                
                String strReplace = text.toString().toLowerCase()
                        .replaceAll("\u0002", "\n");
                Text txtReplace = new Text();
                txtReplace.set(strReplace);
                value.set(txtReplace.getBytes(), 0, txtReplace.getLength());
                return true;
            }
            return false;
        }

但它不起作用,所以如果有其他方法

有关设置配置单元分隔符的信息可在此处找到: