You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "David Phillips (JIRA)" <ji...@apache.org> on 2008/12/15 21:57:44 UTC

[jira] Commented: (HIVE-177) Allow specifying custom input and output format in CREATE TABLE

    [ https://issues.apache.org/jira/browse/HIVE-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656746#action_12656746 ] 

David Phillips commented on HIVE-177:
-------------------------------------

Proposed syntax:

{noformat}
CREATE TABLE ...
STORED AS file_format

file_format:
  : SEQUENCEFILE
  | TEXTFILE
  | INTPUTFORMAT 'MyInputFormat' OUTPUTFORMAT 'MyOutputFormat'
{noformat}

Example:

{noformat}
CREATE TABLE ...
STORED AS
  INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat'
  OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.IgnoreKeyTextOutputFormat'
{noformat}

> Allow specifying custom input and output format in CREATE TABLE
> ---------------------------------------------------------------
>
>                 Key: HIVE-177
>                 URL: https://issues.apache.org/jira/browse/HIVE-177
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: David Phillips
>            Assignee: David Phillips
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.