You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
What happened
While working on contributing to seatunnel-web HDFS datasource interface, as per HdfsFileSourceFactory#OptionRule we should allow users to provide user defined schema for TEXT, CSV, JSON, EXCEL and XML, during dynamic form generation, only for file_format_type TEXT, we are able to provide the schema.
Reason:
for conditional options which have an expression with multiple conditions like file_format_type==TEXT || file_format_type==CSV, during form generation, only the first expression is parsed.
Issue during generation of seatunnel config for HDFS.
Running Command
1. Navigate to seatunnel-web deployment.
2. Try choose HdfsFile as source or sink.
3. choose a file_format_type, only for TEXT, the schema field gets rendered.
Error Exception
Unable to select schema for file format types other than TEXT
Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
schema field, actual:
Screen Grab:
Rendered:
For Text:
For CSV: No Schema field to provide input.
schema field expected:
Screen Grab:
Expected: (For CSV as well we should see Schema field)
Search before asking
What happened
While working on contributing to seatunnel-web HDFS datasource interface, as per HdfsFileSourceFactory#OptionRule we should allow users to provide user defined schema for TEXT, CSV, JSON, EXCEL and XML, during dynamic form generation, only for file_format_type TEXT, we are able to provide the schema.
Reason:
for conditional options which have an expression with multiple conditions like
file_format_type==TEXT || file_format_type==CSV
, during form generation, only the first expression is parsed.This issue was observed while working on #7767
SeaTunnel Version
seatunnel: 2.3.7
seatunnel-web: 1.0.1
SeaTunnel Config
Running Command
Error Exception
Zeta or Flink or Spark Version
No response
Java or Scala Version
No response
Screenshots
schema field, actual:
Screen Grab:
Rendered:
For Text:
For CSV: No Schema field to provide input.
schema field expected:
Screen Grab:
Expected: (For CSV as well we should see Schema field)
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: