Skip to content

Commit

Permalink
Change format code
Browse files Browse the repository at this point in the history
  • Loading branch information
zihaoAK47 committed Oct 18, 2023
1 parent 8059d2f commit 89f256f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public Statistic getStatistic() {

@Override
public Collection<Object[]> getModifiableCollection() {
return null;
throw new UnsupportedOperationException();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public RelNode copy(final RelTraitSet traitSet, final List<RelNode> inputs) {

@Override
public Result implement(final EnumerableRelImplementor implementor, final Prefer prefer) {
// TODO generate delete statements based on the data set and related table information.
return null;
// TODO generate modification statements based on dataset and related table information.
throw new UnsupportedOperationException();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private EnumerableModifyConverterRule(final Config config) {
public RelNode convert(final RelNode rel) {
TableModify modify = (TableModify) rel;
ModifiableTable modifiableTable = modify.getTable().unwrap(ModifiableTable.class);
if (modifiableTable == null) {
if (null == modifiableTable) {
return null;
} else {
RelTraitSet traitSet = modify.getTraitSet().replace(EnumerableConvention.INSTANCE);
Expand Down

0 comments on commit 89f256f

Please sign in to comment.