Created
November 9, 2019 12:35
-
-
Save masayuki038/329764b34c6fa7d12d917074a5e895eb 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 Result implement(EnumerableRelImplementor implementor, Prefer pref) { | |
PhysType physType = PhysTypeImpl.of(implementor.getTypeFactory(), getRowType(), pref.preferArray()); | |
return implementor.result(physType, Blocks.toBlock( | |
Expressions.call( | |
this.table.getExpression(AvroTable.class), | |
"project", | |
implementor.getRootExpression(), | |
Expressions.constant(this.fields) | |
) | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment