Currently, if we use List type in the studio. We will get the Exception below. As the Record Type in-studio required element schema for List Type, but we do not consider it yet. List Type is an important type in json, we do need this feature.
Exception in component tCosmosDBSQLAPIOutput_1 (cosmos)Exception in component tCosmosDBSQLAPIOutput_1 (cosmos)java.lang.IllegalArgumentException: No schema for the collection items at org.talend.sdk.component.runtime.record.RecordImpl$BuilderImpl.withArray(RecordImpl.java:304) at org.talend.sdk.component.runtime.record.RecordConverters$MappingMeta.lambda$null$63(RecordConverters.java:776) at java.util.Optional.ifPresent(Unknown Source) at org.talend.sdk.component.runtime.record.RecordConverters$MappingMeta.lambda$handleCollection$64(RecordConverters.java:776) at org.talend.sdk.component.runtime.record.RecordConverters$MappingMeta.lambda$newRecord$78(RecordConverters.java:900) at java.util.ArrayList.forEach(Unknown Source) at org.talend.sdk.component.runtime.record.RecordConverters$MappingMeta.newRecord(RecordConverters.java:900) at org.talend.sdk.component.runtime.record.RecordConverters.toRecord(RecordConverters.java:113) at org.talend.sdk.component.runtime.di.InputsHandler.lambda$asInputFactory$3(InputsHandler.java:61) at org.talend.sdk.component.runtime.output.ProcessorImpl.lambda$buildProcessParamBuilder$5(ProcessorImpl.java:167) at org.talend.sdk.component.runtime.output.ProcessorImpl.lambda$onNext$10(ProcessorImpl.java:264) at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source) at java.util.stream.ReferencePipeline.toArray(Unknown Source) at org.talend.sdk.component.runtime.output.ProcessorImpl.onNext(ProcessorImpl.java:265) at org.talend.sdk.component.runtime.manager.chain.AutoChunkProcessor.onElement(AutoChunkProcessor.java:39) at local_project.cosmos_0_1.cosmos.tCosmosDBSQLAPIInput_2Process(cosmos.java:1750) at local_project.cosmos_0_1.cosmos.runJobInTOS(cosmos.java:2468) at local_project.cosmos_0_1.cosmos.main(cosmos.java:2250)