langchain/utilities/spark_sql.py/SparkSQL/_get_dataframe_results
class SparkSQL:    def _get_dataframe_results(self, df: DataFrame) -> list:
        return list(map(self._convert_row_as_tuple, df.collect()))