1

I am using PySpark and for one of the datasets I need to export the schema of a dataframe. Similar to the answer given here but a pyspark version of the same.

Is there a way this can be done?

Clock Slave
  • 7,627
  • 15
  • 68
  • 109
  • @user9613318, I want the output in the same way that mysql workbench would give. The linked answer would give me a json/dict – Clock Slave May 21 '18 at 10:07
  • @ClockSlave can you show an example of the output you'd like? I don't know what output mysql workbench would give. – pault May 21 '18 at 14:43

0 Answers0