hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pi Song (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-278) Allow no alias in Dot schema definition in Dot LogicalPlanLoader
Date Mon, 23 Jun 2008 12:32:45 GMT

     [ https://issues.apache.org/jira/browse/PIG-278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pi Song updated PIG-278:
------------------------

    Patch Info: [Patch Available]

> Allow no alias in Dot schema definition in Dot LogicalPlanLoader
> ----------------------------------------------------------------
>
>                 Key: PIG-278
>                 URL: https://issues.apache.org/jira/browse/PIG-278
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Pi Song
>         Attachments: AllowNoAliasSchemaInDot.patch
>
>
> Our schema parser doesn't allow "null" alias but we have to be able to do that in Dot
test files.
> This is a work around by introducing "[NoAlias]" keyword in schema definition just for
Dot LogicalPlanLoader.
> Sample:-
> {noformat}
> foreach [  key="20", type="LOForEach" , schema="[NoAlias] : long, [NoAlias] : byteArray"
   ] ;
> {noformat}
> At runtime, [NoAlias] will be substituted by dummy column names before being sent to
the parser. Subsequently those names will be replaced by "null". There is no changes in the
actual query parser.

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


Mime
View raw message