Anjali Mandowara
02/10/2025, 6:31 AMMichael Ullock
02/10/2025, 9:44 AMAnjali Mandowara
02/10/2025, 10:12 AMAnjali Mandowara
02/10/2025, 10:13 AMAnjali Mandowara
02/10/2025, 10:13 AMAnjali Mandowara
02/10/2025, 10:27 AMAnjali Mandowara
02/10/2025, 10:44 AMMichael Ullock
02/10/2025, 2:20 PMMichael Ullock
02/10/2025, 2:32 PMDaniel Stourac
02/11/2025, 4:47 PMIf "other", please specify.
to something without the double-quotes? For example If OTHER, please specify.
As mentioned, this is just a quick workaround to make your workspace available. We are looking for a more long-term solution.Anjali Mandowara
02/12/2025, 8:35 AMAnjali Mandowara
02/13/2025, 5:37 AMAnjali Mandowara
02/13/2025, 7:22 AMDaniel Stourac
02/14/2025, 4:14 PMSELECT "customFields"::jsonb->>'Fpn5S' AS "Profile" FROM "prod"."warehouse"
When your client uses double-quotes in their own attribute name, you end up with a construction like this:
SELECT "customFields"::jsonb->>'3bsEanxz2' AS "If "other", please specify." FROM "prod"."warehouse"
Is this a correct assumption?
Can you manually edit the SQL clause? If so, you can rename the attribute there and in the GoodData meta-information. GoodData separates the name of the DB column from the name it presents to the user = the user can still see the name with double-quotes while the DB will be presented with a name without them. Would this work for you?
Right now, this whole SQL table (all its attributes) is inaccessible because of the additional double-quotes. The cause of this seems to be in the SQL clause used to define the table. But I would need to see the SQL in order to confirm this. Can you DM it to me?Anjali Mandowara
02/14/2025, 4:31 PMDaniel Stourac
02/14/2025, 4:39 PMDaniel Stourac
02/21/2025, 10:19 AMmy "favorite" boss
, the SELECT clause would look like this:
SELECT ....., \"customFields\"::jsonb->> '1CH1nd' as \"my \"favorite\" boss\",
This will of course confuse the SQL interpreter, which will read the alias as two strings with operator favorite
between them rather than one string containing quotation marks.
The solution is to:
1. Remove quotation marks from the attribute name in the SELECT and
2. Present a different name to the user.
For example, you can replace the double quotes with the string QUOTE in the attribute name:
SELECT ....., \"customFields\"::jsonb->> '1CH1nd' as \"my QUOTEfavoriteQUOTE boss\",
The attribute definition in LDM would then look like this:
{
"description": "My \"favorite\" boss",
"id": "custom_profile_responses.1CH1nd",
"labels": [],
"sourceColumn": "my QUOTEfavoriteQUOTE boss",
"sourceColumnDataType": "STRING",
"tags": [
"Custom Profile Responses"
],
"title": "My \"favorite\" boss"
},
Note that the sourceColumn matches the alias defined in the SELECT but is different from the title and description presented to the user.
I hope it helps. Please, do let me know if there are problems with this solution.