Github user felixcheung commented on the issue:

    https://github.com/apache/spark/pull/16247
  
    I think we should only change `spark.sql.warehouse.dir` when we are loading 
SparkR as a package. This should minimize changes in the case where we are 
running in cluster mode and so on.
    
    For that purpose, let's check for R `interactive()`.
    
    Conceptually, we might want to pass the R `tempdir()` along as a property 
and then check again after config and hive config is applied, if it is still 
not set, take that property and set it to `spark.sql.warehouse.dir`.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to