Support Questions

Find answers, ask questions, and share your expertise

Py4JJavaError: An error occurred while calling o115.showString

avatar
New Contributor

Hello,

 

how to fix the error 

Py4JJavaError: An error occurred while calling o115.showString.

it happens when i want to show first rows of table.

 

spark.sql("SELECT * FROM dMyTable  LIMIT 10").show(10)

 

Regards,

1 REPLY 1

avatar
Community Manager

Welcome to the community @HamTera. While you wait for a more knowledge member to respond, I'll ask if the size of the table is perhaps maxing out your memory? I did some looking around and that came up as a possibility in large tables. I hope it helps.  


Cy Jervis, Manager, Community Program
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.