GitHub user aglinxinyuan added a comment to the discussion: Supporting non-coding users in configuring parameters in Python UDF code
Currently, we have a Text Input operator that outputs each line of input as a tuple, producing a table like the following: | line | | ------------- | | string1 | | string2 | Each table produced by this operator has a single column (named line by default) and multiple rows, where each row corresponds to one line in the text input. We propose introducing a new operator called Parameter Input, which outputs key–value pairs in the following format: | key | value | | ------------- | ------------- | | key1 | value1 | | key2 | value2 | For simplicity, both key and value will initially be treated as strings. Although values could conceptually support multiple types (e.g., string, int, double), our current system requires all tuples within the same table to share the same schema. This means that if one value is a string, all values must also be strings. To avoid unnecessary complexity in the initial implementation, we will restrict all values to strings for now. The plan is to implement the Parameter Input operator first. After that, we can decide how to support file paths—either by extending this operator to handle file paths or by introducing a separate operator specifically for file path inputs. GitHub link: https://github.com/apache/texera/discussions/4154#discussioncomment-15577187 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
