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

Ashutosh Chauhan commented on HCATALOG-71:
------------------------------------------

Less likely. I tested with mysql. 

> Limit on schema size for create table
> -------------------------------------
>
>                 Key: HCATALOG-71
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-71
>             Project: HCatalog
>          Issue Type: Bug
>    Affects Versions: 0.1
>            Reporter: Olga Natkovich
>
> We have encountered an error while trying to create table with schema that is 
> 128 bytes or longer. Is this a known limitation on size of a field?
> The following command fails.
> hcat -e "create table test1(id STRING, props STRUCT<obj_field1 : STRING, 
> obj_field2 : STRING, obj_field3 : STRING, obj_field4 : STRING, obj_field5 : 
> STRING, obj_field6 : STRING, obj_f7 : STRING>) stored as RCFILE location 
> '/mylocation/my table';"
> Error:
> FAILED: Error in metadata: org.apache.thrift.TApplicationException: Internal 
> error processing create_table
> FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.DDLTask
> The same command with a single char reduced succeeds.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to