Skip to content

Commit 81ea89b

Browse files
ivicacclaude
andcommitted
2246 Return empty properties when JDBC columns parameter is missing
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 94ad411 commit 81ea89b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • server/libs/platform/platform-component/platform-component-service/src/main/java/com/bytechef/platform/component/jdbc/handler

server/libs/platform/platform-component/platform-component-service/src/main/java/com/bytechef/platform/component/jdbc/handler/JdbcComponentHandlerImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,10 @@ public static List<ValueProperty<?>> createProperties(
473473
Parameters inputParameters, Parameters connectionParameters, Map<String, String> dependencyPaths,
474474
ActionContext actionContext) {
475475

476+
if (!inputParameters.containsPath(COLUMNS)) {
477+
return List.of();
478+
}
479+
476480
List<Column> columns = inputParameters.getRequiredList(COLUMNS, Column.class);
477481
List<ValueProperty<?>> properties = new ArrayList<>();
478482

0 commit comments

Comments
 (0)