question

Edwin-186011 avatar image
0 Votes"
Edwin-186011 asked KranthiPakala-MSFT commented

ADF Switch does not accept '/' for cases

Hi,

I have a strange bug. I have an existing Data Factory pipeline where I have cases that are data lake paths e.g. 'container/example/path'. Now that I try to edit the case/path I get a validation error "Pipeline name cannot be 'Switchcontainer/example/path'. Pipeline name should only contain letters, numbers, dashes (-), underscores (_), or spaces." So when I edit the case it tries to change the name of the "pipeline" for that particular case. Before editing the name of that pipeline is effectively 'Switchcontainerexamplepath' so it seems ADF has stopped stripping unallowed characters from the case before using at the name?

So I have I working pipeline with '/' in the cases but now I cannot change it because it breaks the pipelines. Can anyone help?

94728-image.png


azure-data-factory
image.png (65.4 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Edwin-186011,

Thanks much for bringing this to our notice. Yes, this seems to a bug. I will escalate this to ADF product team and will get back to you once I have an update from the team.

Sorry for your experience and thank you for your patience!

0 Votes 0 ·

Hi @Edwin-186011,

We have escalated this to ADF product team awaiting for a response. Will keep you posted as soon as we have a response from the team.

Thank you for your patience.

0 Votes 0 ·

1 Answer

KranthiPakala-MSFT avatar image
0 Votes"
KranthiPakala-MSFT answered KranthiPakala-MSFT commented

Hi @VehmaanperaEdwin-1860,

Sorry for the delay. Product team identified this as a UX bug and are working on a fix. I do not have an ETA at the moment but will keep you posted as soon as I have an update from product team about the fix.

In the meantime you can use replace() function in the switch activity expression to remove '/' from expected input. @replace([input value], '/', '')
For case names please avoid special characters to avoid the exception.

Do let us know if you have further query.

Thank you.

· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

I can add that also letters like 'ä' and 'ö' do not work as a part of cases.

0 Votes 0 ·

Hi @vehmaanperaedwin-1860, Are you using those special characters in the case name?

0 Votes 0 ·

Hi @vehmaanperaedwin-1860, If you are using those special characters in the case name, then you might see the same issue. As mentioned in my previous comments, Product team suggested to avoid special characters in order to avoid the exception. They are also working on throwing a validation error when unsupported characters are used as part of case names.

Hope this info helps. Do let us know if you have further query.

0 Votes 0 ·
Show more comments