zhengruifeng commented on PR #48856:
URL: https://github.com/apache/spark/pull/48856#issuecomment-2487139897

   we can get all configs before `if isinstance(data, pd.DataFrame)`
   
   ```
           (... , ...) = self._client.get_configs(
               "spark.sql.timestampType",
               "spark.sql.session.timeZone",
               "spark.sql.session.localRelationCacheThreshold",
               "spark.sql.execution.pandas.convertToArrowArraySafely",
               "spark.sql.execution.pandas.inferPandasDictAsMap",
               "spark.sql.pyspark.inferNestedDictAsStruct.enabled",
               
"spark.sql.pyspark.legacy.inferArrayTypeFromFirstElement.enabled",
               "spark.sql.pyspark.legacy.inferMapTypeFromFirstPair.enabled",
           )
   ```
   
   but after comparison, I think existing PR is more convenient to handle 
multiple configs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to