TIMFANGZI opened a new issue, #9305:
URL: https://github.com/apache/hudi/issues/9305

   
   **Describe the problem you faced**
   
   **Background:** I'm using pyspark to run my job on AWS EMR, and after 
upgrading, the Hudi version becomes 0.13.0
   
   **Problem**: I used to read MOR table on S3 by the following code: 
`spark.read.format('org.apache.hudi').option("hoodie.datasource.query.type", 
"read_optimized")`
   
   However, it failed after upgrading, and get the error: 
   
   **org.apache.spark.sql.vectorized.ColumnarBatch cannot be cast to 
org.apache.spark.sql.catalyst.InternalRow**, 
   
   and how I fixed this problem is to delete 
**option("hoodie.datasource.query.type", "read_optimized")**. Although this 
problem is resolved in my side, I still want to know the root cause, do you 
have any ideas?
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1. Read MOR table using option("hoodie.datasource.query.type", 
"read_optimized")
   
   
   **Environment Description**
   
   * Hudi version : 0.13.0
   
   * Spark version : 3.4
   
   * Hive version :
   
   * Hadoop version :
   
   * Storage (HDFS/S3/GCS..) : S3
   
   * Running on Docker? (yes/no) :
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```Add the stacktrace of the error.```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to