You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "beyond-up (via GitHub)" <gi...@apache.org> on 2024/10/17 03:40:33 UTC

[I] Spark:read iceberg table data error [iceberg]

beyond-up opened a new issue, #11336:
URL: https://github.com/apache/iceberg/issues/11336

   ### Apache Iceberg version
   
   1.5.2
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   use iceberg-spark-runtime-3.3_2.12-1.5.2.jar java.lang.NullPointerException
       at org.apache.spark.sql.catalyst.expressions.codegen.UnsafeWriter.write
   
   ### Willingness to contribute
   
   - [ ] I can contribute a fix for this bug independently
   - [ ] I would be willing to contribute a fix for this bug with guidance from the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this time


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11336:
URL: https://github.com/apache/iceberg/issues/11336#issuecomment-2816917231

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when 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.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #11336:
URL: https://github.com/apache/iceberg/issues/11336#issuecomment-2419271110

   Which exact Spark version are you using? A similar issue was reported in https://issues.apache.org/jira/browse/SPARK-39061 and was already fixed in Spark 3.3.1


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11336:
URL: https://github.com/apache/iceberg/issues/11336#issuecomment-2848872915

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "beyond-up (via GitHub)" <gi...@apache.org>.
beyond-up commented on issue #11336:
URL: https://github.com/apache/iceberg/issues/11336#issuecomment-2425438404

   > @beyond-up so far the NPE seems to be coming from Spark itself, not from Iceberg. Do you have a small reproducible example?
   
   This problem will be reproduced when a string type field in the table is all '' ;  And my Spark version is 3.1.0


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #11336:
URL: https://github.com/apache/iceberg/issues/11336#issuecomment-2418641364

   @beyond-up can you share the full stack trace please? Usually there's some more info in other parts of the stack trace that show what went wrong


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #11336:
URL: https://github.com/apache/iceberg/issues/11336#issuecomment-2425633608

   @beyond-up in that case you might want to use a more recent Spark version that includes a potential fix for this


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #11336: Spark:read iceberg table data error
URL: https://github.com/apache/iceberg/issues/11336


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "beyond-up (via GitHub)" <gi...@apache.org>.
beyond-up commented on issue #11336:
URL: https://github.com/apache/iceberg/issues/11336#issuecomment-2418877797

   > @beyond-up can you share the full stack trace please? Usually there's some more info in other parts of the stack trace that show what went wrong
   
   I have found the cause of this problem. It is because there is an ''  in the data field in the table. However, I am surprised that an empty string in a string type field can cause an NLP 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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] Spark:read iceberg table data error [iceberg]

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #11336:
URL: https://github.com/apache/iceberg/issues/11336#issuecomment-2419268189

   @beyond-up so far the NPE seems to be coming from Spark itself, not from Iceberg. Do you have a small reproducible example?


-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org