You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by ab...@163.com on 2020/08/20 04:09:45 UTC

Orc文件问题请教

使用flink sql写到orc文件,以后,flink能读取出来,但是spark和hive均不能读取出来,impala能读取。

发自我的iPhone

Re: Orc文件问题请教

Posted by ab...@163.com.
已经找到原因了,hive on spark情况下,hive读取不了orc

发自我的iPhone

> 在 2020年8月20日,14:50,Jingsong Li <ji...@gmail.com> 写道:
> 
> 你可以贴下异常栈,
> 估计是ORC版本问题,如果你用file system的orc writer,那是比较新的版本。
> 建议你用下Hive的表来写,这样你可以选版本。
> 
> Best,
> Jingsong
> 
>> On Thu, Aug 20, 2020 at 12:10 PM <ab...@163.com> wrote:
>> 
>> 使用flink sql写到orc文件,以后,flink能读取出来,但是spark和hive均不能读取出来,impala能读取。
>> 
>> 发自我的iPhone
> 
> 
> 
> -- 
> Best, Jingsong Lee

Re: Orc文件问题请教

Posted by Jingsong Li <ji...@gmail.com>.
你可以贴下异常栈,
估计是ORC版本问题,如果你用file system的orc writer,那是比较新的版本。
建议你用下Hive的表来写,这样你可以选版本。

Best,
Jingsong

On Thu, Aug 20, 2020 at 12:10 PM <ab...@163.com> wrote:

> 使用flink sql写到orc文件,以后,flink能读取出来,但是spark和hive均不能读取出来,impala能读取。
>
> 发自我的iPhone



-- 
Best, Jingsong Lee