This repository has been archived by the owner. It is now read-only.

TransformProcessRecordReader.batchesSupported() / next(int) broken #561

Closed
AlexDBlack opened this Issue Apr 12, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@AlexDBlack
Copy link
Member

AlexDBlack commented Apr 12, 2018

@Override
public boolean batchesSupported() {
return recordReader.batchesSupported();
}
@Override
public List<List<Writable>> next(int num) {
throw new UnsupportedOperationException();
}

if batchesSupported() returns true, this means that calling next(int) is supported... which clearly isn't the case here.

@AlexDBlack AlexDBlack added the bug label Apr 12, 2018

@raver119 raver119 added the ETL label Apr 29, 2018

@AlexDBlack AlexDBlack self-assigned this May 8, 2018

AlexDBlack added a commit that referenced this issue May 8, 2018

AlexDBlack added a commit that referenced this issue May 8, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.