You can redirect the stdout of your program I guess but show is for display, not saving data. Use df.write methods for that.
On Fri, Dec 24, 2021, 7:02 PM <[email protected]> wrote: > Hello list, > > spark newbie here :0 > How can I write the df.show() result to a text file in the system? > I run with pyspark, not the python client programming. > > Thanks. > > --------------------------------------------------------------------- > To unsubscribe e-mail: [email protected] > >
