Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu authored Jan 2, 2024
1 parent 83c5ffb commit 7cc7887
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@Plugin(
examples = {
@Example(
title = "Load CSV or TSV into a Postgres table.",
title = "Load CSV or TSV into a PostgreSQL table.",
code = {
"url: jdbc:postgresql://127.0.0.1:56982/",
"username: pg_user",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public Output run(RunContext runContext) throws Exception {
@Getter
public static class Output implements io.kestra.core.models.tasks.Output {
@Schema(
title = "The URI of the result file on Kestra internal storage."
title = "The URI of the result file on Kestra's internal storage."
)
private final URI uri;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
" url: jdbc:postgresql://127.0.0.1:56982/",
" username: pg_user",
" password: pg_passwd",
" sql: \"{% for row in outputs.update.rows %} INSERT INTO pl_store_distribute (year_month,store_code, update_date) values ({{row.play_time}}, {{row.concert_id}}, TO_TIMESTAMP('{{row.timestamp_type}}', 'YYYY-MM-DDTHH:MI:SS.US') ); {% endfor %}\""}
" sql: \"{% for row in outputs.fetch.rows %} INSERT INTO pl_store_distribute (year_month,store_code, update_date) values ({{row.play_time}}, {{row.concert_id}}, TO_TIMESTAMP('{{row.timestamp_type}}', 'YYYY-MM-DDTHH:MI:SS.US') ); {% endfor %}\""}
)
}
)
Expand Down

0 comments on commit 7cc7887

Please sign in to comment.