0 votes
in PySpark by
What is the difference between get(filename) and getrootdirectory()?

1 Answer

0 votes
by

The main difference between get(filename) and getrootdirectory() is that the get(filename) is used to achieve the correct path of the file that is added through SparkContext.addFile(). On the other hand, the getrootdirectory() is used to get the root directory containing the file added through SparkContext.addFile().

Related questions

0 votes
asked Jan 1 in Hibernate by rajeshsharma
0 votes
asked Nov 20, 2020 in JQuery by sharadyadav1986
...