charlespnh opened a new issue, #35769: URL: https://github.com/apache/beam/issues/35769
### What happened? ``` pipeline: type: chain transforms: - type: Create name: CreateSampleData config: elements: - { id: 1, log_message: "Error in module A" } - { id: 2, log_message: "Warning in module B" } - { id: 3, log_message: "Info in module C" } - type: MLTransform name: Preprocessing config: write_artifact_location: "./tmp" transforms: - type: SentenceTransformerEmbeddings config: { model_name: all-MiniLM-L6-v2, columns: [ log_message ] } - type: MapToFields name: MapToFieldsAfterEmbedding config: language: python fields: id: expression: id output_type: integer log_message: expression: log_message output_type: type: array items: type: number - type: LogForTesting ``` ... gives the following error at MapToFields transform: ``` ValueError: Error applying transform "MapToFieldsAfterEmbedding" at line 96: Can only use expressions on a schema'd input. ``` For downstream transforms such as MapToFields or WriteToBigQuery, it requires the output from MLTransform to be schema'd. ### Issue Priority Priority: 2 (default / most bugs should be filed as P2) ### Issue Components - [ ] Component: Python SDK - [ ] Component: Java SDK - [ ] Component: Go SDK - [ ] Component: Typescript SDK - [ ] Component: IO connector - [x] Component: Beam YAML - [ ] Component: Beam examples - [ ] Component: Beam playground - [ ] Component: Beam katas - [ ] Component: Website - [ ] Component: Infrastructure - [ ] Component: Spark Runner - [ ] Component: Flink Runner - [ ] Component: Samza Runner - [ ] Component: Twister2 Runner - [ ] Component: Hazelcast Jet Runner - [ ] Component: Google Cloud Dataflow Runner -- 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: github-unsubscr...@beam.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org