Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ public void setInputSchema(Schema input) {
throw new RuntimeException("Usage: B = FOREACH (GROUP A ALL) GENERATE Summary(A); Can not get schema from "+input, e);
}
}

@Override
public Schema getInputSchema() {
return this.inputSchema;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The schema returned is not consistent with the schema set.
How about adding a call to super.setInputSchema(input) in setInputSchema?

   @Override
   public void setInputSchema(Schema input) {          
     super.setInputSchema(input);
     try {


@Override
public void setUDFContextSignature(String signature) {
Expand Down