Created
November 9, 2019 07:42
-
-
Save masayuki038/017043efffa5e157fcc58ac555a95b32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public RelNode toRel(RelOptTable.ToRelContext context, RelOptTable relOptTable) { | |
int fieldCount = relOptTable.getRowType().getFieldCount(); | |
Integer[] fields = AvroEnumerator.identityList(fieldCount); | |
return new AvroTableScan(context.getCluster(), relOptTable, fields); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment