ADF data flow Error: at Source 'source1': java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: "ISV:%20runge,%20RLM%20version%2014.2%20BL2%22

Harpreet Saini 21 Reputation points
2021-06-15T16:23:34.97+00:00

Hello,
I'm testing out Azure Data Factory and to process a space separated text file and been running into the following error:
Error:
at Source 'source1': java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: "ISV:%20runge,%20RLM%20version%2014.2%20BL2%22

Now I know that I can't have a colon (:) in the file name but this text is from the contents of the file. And it is not possible to remove every colon from the file contents.

105828-image.png
105829-image.png
105921-image.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,538 questions
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,441 Reputation points Microsoft Employee
    2021-06-18T11:39:51.18+00:00

    Hi @Harpreet Saini ,

    Thank you for sharing requested details.
    I tried your sample file in Source transformation and tried to data preview its working fine. Below are the steps to follow

    Step 1: Create a dataset for your file and make sure to use space as column delimitator
    107102-datasetwithspacecoldelimitetor.gif

    Step 2: In data flow, source transformation - add your dataset and if you have any rows to skip from file then mention that count as below. In my case I used lines to skip as 7
    107048-sourcetransformationnew.gif

    Hope this helps.

    ----------

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a email-notifications 
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.