Skip to content

[Bug][dolphinScheduler-task-seatunnel] Script suffixes can be .conf or .json #15706

@xi-xi-jun

Description

@xi-xi-jun

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Dear DolphinScheduler Development Team,

First and foremost, I would like to express my gratitude for the exceptional tool you have provided. The flexibility and efficiency of SeaTunnel in data processing are immensely valuable to our projects.

During my experience with SeaTunnel, I noticed that when users opt for the HOCON format for scriptwriting, the generated script files have a .conf extension. Conversely, when scripts are written in JSON format, the logical expectation is for the file extension to be .json. However, it seems that the current implementation defaults to a .conf extension through hardcoding, which could lead to execution failures when JSON format scripts are used.

To enhance user experience and increase flexibility in script format support, I suggest adding an option button in the UI's task definition section that allows users to flexibly choose the file type extension (either .conf or .json) based on the script format they are using. Such an improvement would not only prevent potential execution errors but also provide a more intuitive recognition of script formats, making the use of SeaTunnel more user-friendly and efficient.

I believe this minor enhancement could significantly improve the usability and accuracy of SeaTunnel. Thank you for considering my suggestion; I look forward to your response.

image

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions