0

I have been trying to add additional column in parquet file through copy activity pipeline to copy from csv file to parquet but it is giving me error the column name is invalid. Column name cannot contain these character:[,;{}()\n\t=]

I am adding only filename as column name in additional column at source and taking $$filepath as value.

2
  • Does the filename have any character ."[,;{}()\n\t=]" ? Commented Nov 23, 2022 at 18:54
  • No it doesn't have Commented Nov 24, 2022 at 2:25

1 Answer 1

1

I reproduced the above and got the same error.

enter image description here

The above error occurs when we give special characters (,;{}()\n\t=) in the column name of the additional column. For Parquet file special characters not allowed for columns names.

enter image description here

When we avoid the above special characters in the column name, we can get desired result.

enter image description here

Parquet file:

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for your inputs however, I am using same filename only as column name

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.