Dear Wiki user, You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.
The following page has been changed by SanthoshSrinivasan: http://wiki.apache.org/pig/PigErrorHandlingFunctionalSpecification ------------------------------------------------------------------------------ A list of possible error messages is listed below. This list is not comprehensive and will be modified to reflect the true error message along with the error code. - || '''Error message''' || + ||'''Error Code'''||'''Error Message'''|| + ||1000||Error during parsing|| + ||1001||Unable to descirbe schema for alias <alias>|| + ||1002||Unable to clone plan|| + ||1004||No alias <alias> to <operation>|| + ||1005||No plan for <alias> to <operation>|| + ||1006||Could not find operator in plan|| + ||1007||Found duplicates in schema. <list of duplicate column names> . Please alias the columns with unique names.|| + ||1008||Expected a bag with a single element of type tuple but got a bag schema with multiple elements|| + ||1009||Expected a bag with a single element of type tuple but got an element of type <type>|| + ||1010||getAtomicGroupByType is used only when dealing with atomic group col|| + ||1011||getTupleGroupBySchema is used only when dealing with tuple group col|| + ||1012||Each COGroup input has to have the same number of inner plans|| + ||1013||"Grouping attributes can either be star (*) or a list of expressions, but not both."|| + ||1014||Problem with input <operator> of User-defined function: <function>|| + ||1015||Error determining fieldschema of constant: <constant>|| + ||1016||Problems in merging user defined schema|| + ||1017||Schema mismatch. A basic type on flattening cannot have more than one column. User defined schema: <schema>|| + ||1018||Problem determining schema during load|| + ||1019||Unable to merge schemas|| + ||1020||Only a BAG or TUPLE can have schemas. Got <type>|| + ||1021||Type mismatch. No useful type for merging. Field Schema: <field schema>. Other Fileld Schema: + otherFs|| + ||1022||Type mismatch. Field Schema: <field schema>. Other Fileld Schema: + otherFs|| + ||1023||Unable to create field schema|| + ||1024||Found duplicate aliases: <alias>|| + ||1025||Found more than one match: <list of aliases>|| + ||1026||Attempt to fetch field: <field> from schema of size <size>|| + ||1027||Cannot reconcile schemas with different sizes. This schema has size <size> other has size of <size>|| + ||1028||Access to the tuple <alias> of the bag is disallowed. Only access to the elements of the tuple in the bag is allowed.|| + ||1029||One of the schemas is null for merging schemas. Schema: <schema> Other schema: <schema>|| + ||1030||Different schema sizes for merging schemas. Schema size: <size> Other schema size: <size>|| + ||1031||Incompatible types for merging schemas. Field schema type: <type> Other field schema type: <type>|| + ||1032||Incompatible inner schemas for merging schemas. Field schema: <schema> Other field schema: <schema>|| + ||1033||Schema size mismatch for merging schemas. Other schema size greater than schema size. Schema: <schema>. Other schema: <schema>|| + ||1034||TypeCastInserter invoked with an invalid operator class name: <operator class name>|| - || Error getting LOProject's input schema || + ||1035||Error getting LOProject's input schema|| - || Cannot get source schema into LOProject || - || Map key should be a basic type || + ||1036||Map key should be a basic type|| - || Operand of Regex can be !CharArray only || + ||1037||Operand of Regex can be CharArray only|| - || Operands of AND/OR can be boolean only || + ||1038||Operands of AND/OR can be boolean only|| + ||1039||Incompatible types in <Addition/Subtraction/Division/Multiplication/Mod/GreaterThan/LesserThan/> operator. LHS: <type> RHS: type|| + ||1040||Could not set <Add/Subtract/Multiply/Divide/Mod/UserFunc/BinCond> field schema|| - || Operands of AND/OR can be boolean only || - || Incompatible types in Multiplication Operator || - || Could not set `LOMultiply` field schema || - || Incompatible types in Division Operator || - || Could not set `LODivide` field schema || - || Incompatible types in Add Operator || - || Could not set `LOAdd` field schema || - || Incompatible types in Subtract Operator || - || Could not set `LOSubtract` field schema || - || Incompatible types in `GreaterThan` comparision operator || - || Incompatible types in `GreaterThanEqualTo` comparison operator || - || Incompatible types in `LesserThan` comparison operator || - || Incompatible types in `LesserThanEqualTo` comparison operator || - || Incompatible types in !EqualTo Comparison Operator || - || Incompatible types in !NotEqual Comparison Operator || - || Incompatible types in Mod Operator || - || Could not set `LOMod` field schema || - || NEG can be used with numbers or Bytearray only || + ||1041||NEG can be used with numbers or Bytearray only|| - || Could not set `LOSubtract` field schema || - || NOT can be used with boolean only || + ||1042||NOT can be used with boolean only|| - || Problem with input of User-defined function || - || Could not infer the matching function for org.apache.pig.builtin.SUM as multiple of them were found to match bag{bytearray}. Please use an explicit cast. || + ||1043||Unable to retrieve field schema of operator.|| + ||1044||Unable to get list of overloaded methods.|| - || Could not infer the matching function for org.apache.pig.builtin.SUM as multiple or none of them fit. Please use an explicit cast. || + ||1045||Could not infer the matching function for <func spec> as multiple or none of them fit. Please use an explicit cast.|| - || Could not set `LOUserFunc` field schema || + ||1046||"Multiple matching functions for <funcspec> with input schemas: ( <schema> , <schema>). Please use an explicit cast."|| - || Condition in !BinCond must be boolean || + ||1047||Condition in BinCond must be boolean|| - || Two inputs of !BinCond must have compatible schemas || + ||1048||Two inputs of BinCond must have compatible schemas|| - || Problem during evaluating !BinCond output type || + ||1049||Problem during evaluaton of BinCond output type|| - || Unsupported input type for !BinCond: lhs = tuple; rhs = bag || + ||1050||Unsupported input type for BinCond: lhs = <type>; rhs = <type>|| - || Could not set `LOBinCond` field schema || - || Cannot cast to bytearray || + ||1051||Cannot cast to bytearray|| + ||1052||Cannot cast <type> [with schema <schema>] to <type> with schema <schema>|| - || Cannot resolve load function to use for casting from || + ||1053||Cannot resolve load function to use for casting from <type> to <type>|| - || Cannot merge schemas from inputs of UNION || + ||1054||Cannot merge schemas from inputs of UNION|| - || Problem while reading schemas from inputs of UNION || + ||1055||Problem while reading schemas from inputs of <Union/SplitOutput/Distinct/Limit/Cross>|| - || Problem while casting inputs of UNION || + ||1056||Problem while casting inputs of Union|| + ||1057|| <COGroup/Filter/Split/Sort/Generate>'s inner plan can only have one output (leaf)|| - || Split's cond plan can only have one output (leaf) || - || Split's condition must evaluate to boolean || - || `LOSort`'s sort plan can only have one output (leaf) || - || Problem while reconciling output schema of `LOSort` || - || Filter's cond plan can only have one output (leaf) || - || Filter's condition must evaluate to boolean. Found: int || + ||1058||Split's condition must evaluate to boolean. Found: <type>|| - || Problem while reconciling output schema of `LOFilter` || + ||1059||Problem while reconciling output schema of <Sort/Filter/Split>|| - || Problem while reconciling output schema of `LOSplit` || - || Cannot resolve COGroup output schema || + ||1060||Cannot resolve <COGroup/Foreach> output schema|| - || Problem resolving `LOForEach` schema || - || Unsupported root operator in inner plan || - || Some required fields in inner plan cannot be found in input || - - + ||1061||Sorry, group by complex types will be supported soon|| + ||1062||COGroup by incompatible types|| + ||1063||Problem while reading field schema from input while inserting cast|| + ||1064||Problem reading column <col> from schema: <schema>|| + ||1065||Found more than one load function to use: <list of load functions>|| + ||2000||Internal error. Mismatch in group by arities. Expected: <schema>. Found: <schema>|| == References ==
