Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12568 )

Change subject: IMPALA-7645: Add a query option to set the default table file 
format
......................................................................


Patch Set 6:

> Patch Set 6:
>
> Can the file format be set in the sql statement itself? I always consider it 
> a bit of a hack to have to set a query option before running a statement: 
> just one more thing for the user to remember. And, to remember to set it back 
> afterward.

We can use "set". It's not technically an SQL statement because of the way we 
implement it (set is a shell thing)

set DEFAULT_FILE_FORMAT=parquet

We can also unset it. Is that good enough?


--
To view, visit http://gerrit.cloudera.org:8080/12568
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic857c38076d973ad749a41fecd1b470c7881db5e
Gerrit-Change-Number: 12568
Gerrit-PatchSet: 6
Gerrit-Owner: Fredy Wijaya <fwij...@cloudera.com>
Gerrit-Reviewer: Bharath Vissapragada <bhara...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fwij...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Paul Rogers <prog...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>
Gerrit-Comment-Date: Tue, 26 Feb 2019 03:50:55 +0000
Gerrit-HasComments: No

Reply via email to