rdsr opened a new issue #195: `SparkOrcReader#read()` can potentially be 
optimized
URL: https://github.com/apache/incubator-iceberg/issues/195
 
 
   In  `SparkOrcReader#read` we build a DAG of converters everytime we  call 
the `read` method.  This  DAG converts an ORC row to Spark InternalRow. This 
seems like an expensive operation as it traverse the whole row structure. It 
seems that building of the converters can be taken out of the read method, and 
done only once. Ideally all it should require is the structure of the row 
(schema) to figure how how it will convert an ORC row to InternalRow.
   
   @edgarRd do you think this makes sense? I have a rough idea in my mind on 
how to implement it.  But let me know if you think this could not be possible.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to