asheeshgarg commented on issue #6003:
URL: https://github.com/apache/iceberg/issues/6003#issuecomment-1282450809
@nastra will give it a try. ANother hting for the data which I am able to
read getting following error in deserailization
scala> while(itr.hasNext()){
| val columnarBatch = itr.next();
| import org.apache.arrow.vector.VectorSchemaRoot
| val schemaRoot = columnarBatch.createVectorSchemaRootFromVectors
| val instrument_status =
schemaRoot.getVector("test").asInstanceOf[VarCharVector]
| print(instrument_status)
| }
java.lang.ClassCastException: class
org.apache.iceberg.shaded.org.apache.arrow.vector.VarCharVector cannot be cast
to class org.apache.arrow.vector.VarCharVector
(org.apache.iceberg.shaded.org.apache.arrow.vector.VarCharVector and
org.apache.arrow.vector.VarCharVector are in unnamed module of loader 'app')
Any idea why I can't cast to arrow datatype
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]