Package | Description |
---|---|
org.apache.pig.newplan.logical.expression | |
org.apache.pig.newplan.logical.visitor |
Modifier and Type | Method and Description |
---|---|
void |
LogicalExpressionVisitor.visit(CastExpression op) |
void |
ExpToPhyTranslationVisitor.visit(CastExpression op) |
void |
AllSameExpressionVisitor.visit(CastExpression cast) |
Modifier and Type | Method and Description |
---|---|
void |
TypeCheckingExpVisitor.visit(CastExpression cast)
For Basic Types:
0) Casting to itself is always ok
1) Casting from number to number is always ok
2) ByteArray to anything is ok
3) number to chararray is ok
For Composite Types:
Recursively traverse the schemas till you get a basic type
|
Copyright © 2007-2017 The Apache Software Foundation