Skip to content

Commit

Permalink
allow nullable columns to be used as cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
subodh1810 committed Sep 26, 2022
1 parent 32a9841 commit 72ca5d9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ protected List<TableInfo<CommonField<Datatype>>> discoverInternal(final JdbcData
private List<String> extractCursorFields(final List<JsonNode> fields) {
return fields.stream()
.filter(field -> isCursorType(getFieldType(field)))
.filter(field -> "NO".equals(field.get(INTERNAL_IS_NULLABLE).asText()))
.map(field -> field.get(INTERNAL_COLUMN_NAME).asText())
.collect(Collectors.toList());
}
Expand Down

0 comments on commit 72ca5d9

Please sign in to comment.