[ 
https://issues.apache.org/jira/browse/IMPALA-7645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779115#comment-16779115
 ] 

ASF subversion and git services commented on IMPALA-7645:
---------------------------------------------------------

Commit 46e03392c38299731d937898c4177b7baedc8f7d in impala's branch 
refs/heads/master from Fredy Wijaya
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=46e0339 ]

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

This patch adds a query option "DEFAULT_FILE_FORMAT" to allow setting
the default table file format. Below is the list of supported
"DEFAULT_FILE_FORMAT" query option values:
- TEXT
- RC_FILE
- SEQUENCE_FILE
- AVRO
- PARQUET
- KUDU
- ORC

For backward compatibility, the default table file format remains as
TEXT.

Testing:
- Ran all FE tests
- Added BE test
- Added E2E tests
- Ran test_ddl.py and test_set.py

Change-Id: Ic857c38076d973ad749a41fecd1b470c7881db5e
Reviewed-on: http://gerrit.cloudera.org:8080/12568
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Allow configuring default file format via query option
> ------------------------------------------------------
>
>                 Key: IMPALA-7645
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7645
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Frontend
>            Reporter: Tim Armstrong
>            Assignee: Fredy Wijaya
>            Priority: Major
>
> It would be useful to have a query option to allow setting the default file 
> format. This would allow the file format to be overridden globally or 
> per-session. We already have a COMPRESSION_CODEC option. 
> We had some discussion on IMPALA-2210 related to this.
> The current default is hardcoded in the code: 
> https://github.com/apache/impala/blob/64e6719870db5602a6fa85014bc6c264080b9414/fe/src/main/java/org/apache/impala/analysis/TableDef.java#L136
>  
> https://github.com/apache/impala/blob/64e6719870db5602a6fa85014bc6c264080b9414/fe/src/main/java/org/apache/impala/analysis/TableDef.java#L145



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to