You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sivabalan narayanan (Jira)" <ji...@apache.org> on 2022/02/09 23:05:00 UTC

[jira] [Commented] (HUDI-3391) presto and hive beeline fails to read MOR table w/ 2 or more array fields

    [ https://issues.apache.org/jira/browse/HUDI-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17489858#comment-17489858 ] 

sivabalan narayanan commented on HUDI-3391:
-------------------------------------------

I could not reproduce in latest master. even for beeline. But presto queries fail for rt table

 

[https://gist.github.com/nsivabalan/2bda3e9f3335cefd44c004936b446c3e]

 

CC [~codope] : would you mind taking a look 

 

> presto and hive beeline fails to read MOR table w/ 2 or more array fields
> -------------------------------------------------------------------------
>
>                 Key: HUDI-3391
>                 URL: https://issues.apache.org/jira/browse/HUDI-3391
>             Project: Apache Hudi
>          Issue Type: Task
>          Components: reader-core
>            Reporter: sivabalan narayanan
>            Assignee: sivabalan narayanan
>            Priority: Critical
>             Fix For: 0.11.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> We have an issue reported by user [here|[https://github.com/apache/hudi/issues/2657].] Looks like w/ 0.10.0 or later, spark datasource read works, but hive beeline does not work. Even spark.sql (hive table) querying works as well. 
> Another related ticket: [https://github.com/apache/hudi/issues/3834#issuecomment-997307677]
>  
> Steps that I tried:
> [https://gist.github.com/nsivabalan/fdb8794104181f93b9268380c7f7f079]
> From beeline, you will encounter below exception
> {code:java}
> Failed with exception java.io.IOException:org.apache.hudi.org.apache.avro.SchemaParseException: Can't redefine: array {code}
> All linked ticket states that upgrading parquet to 1.11.0 or greater should work. We need to try it out w/ latest master and go from there. 
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)