Azure / Azure/Azure-DataFactory

Default value of 'array' parameter is converted to string

Aperta
#682 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
PowerShell
Stelle
529
Fork
623
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description
If I have a pipeline with parameter of type 'array'
![image](https://github.com/user-attachments/assets/1383d2ed-598e-4f54-b36f-2ee1e6489029)
![image](https://github.com/user-attachments/assets/ae65ba3e-8c41-41e8-b94e-11f2284fdc54)

When I run pipeline itself and leave default value, ADF treats it as array
![image](https://github.com/user-attachments/assets/cd3a00e8-5356-4ff4-b882-463f69199ae7)
![image](https://github.com/user-attachments/assets/40915594-fdb6-4a07-ab57-75d2ee0ad88c)
![image](https://github.com/user-attachments/assets/d1671cf2-3db6-40e1-9bc4-092af2c28a3a)
**UPD: attaching screenshot with pipeline parameters:**
![image](https://github.com/user-attachments/assets/dc1c4eca-c6ca-47a0-bb39-7a50aaf985ed)

But when I run pipeline from another pipeline and leave default value, ADF converts this default value to string
![image](https://github.com/user-attachments/assets/b3b5f815-0f12-410e-802e-0b404ff929e1)
![image](https://github.com/user-attachments/assets/295c834c-0494-4ffc-9144-e8dba047c0bd)

As an end user I expect that I can use default array value without sideeffects.

### Acceptance criteria
ADF treats default value of 'array' parameter as array when running pipeline from another pipeline.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riproducete il problema invocando una pipeline con un parametro di tipo array da un'altra pipeline, lasciando invariato il valore predefinito. Confrontate il tipo del parametro con un'esecuzione diretta della pipeline; l'attività è completata quando la pipeline invocata riceve il valore predefinito come array invece che come string.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure
Ambito
cloud, data-engineering
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.