Github user manku-timma commented on the pull request:
https://github.com/apache/spark/pull/8186#issuecomment-132874783
@yhuai
In hive, the following sample code works fine:-
```
set hive.metastore.warehouse.dir=/test/warehouse
create table test1 as select * from source_table; -- data gets saved in
/test/warehouse
select * from test1;
```
So it is possible to override the location where data is stored at the SQL
level itself. Good to know that there is a write option to set that.
---
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]