Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Mattiar
Helper I
Helper I

BUG Copy Activity Fabric UPPERCASE

Hello, everyone,

I wanted to report a bug found in the copy data of a pipeline in Fabric. In my specific case, I am reading the query from a json where I have for example a SELECT Pippo, Pluto, Paperino FROM disney.user

The output that returns me error obviously being case sensitive, is that all in uppercase. Basically it's like the query has become: SELECT PIPPO, PLUTO, PAPERINO FROM DISNEY.USER.

Obviously this gives me an error telling me that the column PIPPO does not exist.

 

2 ACCEPTED SOLUTIONS
v-nuoc-msft
Community Support
Community Support

Hi @Mattiar 

 

Based on the information you provided, I surmise that this is related to the case sensitivity of SQL queries in Fabric pipes.

 

You can try using double quotes around column names in SQL queries. This should preserve the case sensitivity.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

I had tried square brackets and it did not work. I have now tried double quotes (with the escape character since I read the query from a json) and the / prefixed by escape and everything finally worked.
Great.

View solution in original post

9 REPLIES 9
v-nuoc-msft
Community Support
Community Support

Hi @Mattiar 

 

Based on the information you provided, I surmise that this is related to the case sensitivity of SQL queries in Fabric pipes.

 

You can try using double quotes around column names in SQL queries. This should preserve the case sensitivity.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I had tried square brackets and it did not work. I have now tried double quotes (with the escape character since I read the query from a json) and the / prefixed by escape and everything finally worked.
Great.

Hi @Mattiar 

 

Thank you for your feedback and glad to hear that you have resolved the issue.

 

If you have any questions, please continue to post in this forum.

 

Regards,

Nono Chen

Mattiar
Helper I
Helper I

Of course.

I show you the result of the variable set before and the one that reads the copy data instead:

Mattiar_0-1730806115910.png

this step is correct and the source of copy data is correct too:

Mattiar_1-1730806179184.png

and now the wrong result:

Mattiar_2-1730806298206.png

 

 

If I write select * from, it obviously works.

I think you issue/bug is with the SAP Hana Connector converting the query to uppercase, can you test this by using a static query, with the lowercase column names and seeing if the connector modifies that.



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


Yes it is most likely related to that, but that does not detract from the fact that it is an infrastructure bug. I wanted to expose the problem so that someone who can edit that, knows the bug and fixes it.

Hi @Mattiar

I am simply trying to highlight for @v-nuoc-msft, that the behaviour is likely related to the source type, as they are trying to replicate your issue using a lakehouse source.



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


Yes yes, no problem, in fact I thank you for the added value you gave. 👍

v-nuoc-msft
Community Support
Community Support

Hi @Mattiar 

 

I tested your problem and found no errors.

 

Can you provide some configuration screenshots and error messages? This helps us solve the problem.

 

vnuocmsft_0-1730774691428.png

 

vnuocmsft_2-1730774732472.png

 

vnuocmsft_1-1730774711941.png

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.