Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI path does not preserve "\" in CSVWriter plugin output on Windows #3724

Open
paulgrainger85 opened this issue May 14, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working cooldown
Milestone

Comments

@paulgrainger85
Copy link

Describe the issue

Executing the following flow on Windows results in the following statement printed in the log:

C:UserspaulAppDataLocalTemp1ImK0NcqbsxIcmzIlGsNUa14572494380012919038.tmp

The expected output would be

C:\Users\paul\AppData\LocalTemp\1ImK0NcqbsxIcmzIlGsNUa\14572494380012919038.tmp
id: test
namespace: bug_report

tasks:
  - id: export
    type: io.kestra.plugin.jdbc.postgresql.Query
    url: jdbc:postgresql://host:port/db
    username: user
    password: ...
    store: true
    sql: SELECT * FROM test LIMIT 10

  - id: write_to_csv
    type: io.kestra.plugin.serdes.csv.CsvWriter
    from: "{{ outputs.export.uri }}"

  - id: process_output
    type: io.kestra.plugin.scripts.powershell.Script
    runner: PROCESS
    script: |
      echo "{{ outputs.export.uri }}"

Environment

  • Kestra Version: 0.15.8
  • Operating System: Windows 11
  • Java Version
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)
@paulgrainger85 paulgrainger85 added the bug Something isn't working label May 14, 2024
@anna-geller anna-geller added this to the v0.18.0 milestone May 14, 2024
@loicmathieu loicmathieu modified the milestones: v0.18.0, v0.17.0 May 23, 2024
@anna-geller anna-geller modified the milestones: v0.17.0, Cooldown, v0.18.0 Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cooldown
Projects
None yet
Development

No branches or pull requests

4 participants