hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harish Butani (JIRA)" <>
Subject [jira] [Commented] (HIVE-4391) Windowing function doesn't work in conjunction with CTAS
Date Mon, 22 Apr 2013 18:45:17 GMT


Harish Butani commented on HIVE-4391:

The failure is because the Table defn contains the following FieldSchema:
  FieldSchema(name:(tok_function rank tok_windowspec), type:int, comment:null)

fails in the name validation check: MetastoreUtils::validateName

Investigating why this extra Field is added (there is a FieldSchema for rr)
> Windowing function doesn't work in conjunction with CTAS
> --------------------------------------------------------
>                 Key: HIVE-4391
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: PTF-Windowing
>    Affects Versions: 0.11.0
>            Reporter: Ashutosh Chauhan
> Simple CTAS query like following fails
>  create table t3 as select *, rank() over() as rr from t2;
> with exception 
> FAILED: Error in metadata: InvalidObjectException(message:t3 is not a valid object name)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message