luchunliang opened a new pull request, #10155: URL: https://github.com/apache/inlong/pull/10155
Fixes #10154 ### Motivation [SDK] Support to transform CSV/KV data to CSV/KV data without field list configuration ### Modifications #### CSV to KV - Support to parse the following CSV string, the delimiter is '|', without field list configuration. 2024-04-28 00:00:00|ok - Generate the final data by the following SQL, using $1 mark the first field. select $1 ftime,$2 extinfo from source where $2='ok' - The final data is the following string, using alias name in SQL as field key. ftime=2024-04-28 00:00:00&extinfo=ok #### KV to CSV - Support to parse the following KV string, without field list configuration. ftime=2024-04-28 00:00:00&extinfo=ok - Generate the final data by the following SQL. select ftime,extinfo from source where extinfo='ok' - The final data is the following CSV string, the delimiter is '|', , without field list configuration, using field order in SQL. 2024-04-28 00:00:00|ok ### Verifying this change *(Please pick either of the following options)* - [ ] This change is a trivial rework/code cleanup without any test coverage. - [ ] This change is already covered by existing tests, such as: *(please describe tests)* - [ ] This change added tests and can be verified as follows: *(example:)* - *Added integration tests for end-to-end deployment with large payloads (10MB)* - *Extended integration test for recovery after broker failure* ### Documentation - Does this pull request introduce a new feature? (yes / no) - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented) - If a feature is not applicable for documentation, explain why? - If a feature is not documented yet in this PR, please create a follow-up issue for adding the documentation -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org