File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
plugin/trino-hive/src/main/java/io/trino/plugin/hive Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 2424import io .trino .spi .connector .ColumnHandle ;
2525import io .trino .spi .type .Type ;
2626
27+ import javax .annotation .Nullable ;
28+
2729import java .util .List ;
2830
2931import static com .google .common .base .Preconditions .checkArgument ;
@@ -39,7 +41,7 @@ public class ReaderProjectionsAdapter
3941 private final List <Type > inputTypes ;
4042
4143 public ReaderProjectionsAdapter (
42- List <ColumnHandle > expectedColumns ,
44+ List <? extends ColumnHandle > expectedColumns ,
4345 ReaderColumns readColumns ,
4446 ColumnTypeGetter typeGetter ,
4547 ProjectionGetter projectionGetter )
@@ -68,7 +70,8 @@ public ReaderProjectionsAdapter(
6870 .collect (toImmutableList ());
6971 }
7072
71- public Page adaptPage (Page input )
73+ @ Nullable
74+ public Page adaptPage (@ Nullable Page input )
7275 {
7376 if (input == null ) {
7477 return null ;
You can’t perform that action at this time.
0 commit comments