We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To reproduce the problem, I created a dataset from the abc table
create table public.abc ( source_id varchar(255) not null, json jsonb, constraint pk_source_id primary key(source_id) ); insert into abc (source_id, json) VALUES (1, '{"key": "value"}');
then I checked that my column type was json.
and when I get an object for handlebars, I get very upset that I get a string instead of an object.
and I can't do {{this.json.key}} because there is a string in the json
{{this.json.key}}
{"source_id":"1","json":"{'key': 'value'}"}
The text was updated successfully, but these errors were encountered:
After digging a bit in the source code, I found that this is related to the lack of support for complex data types as can be seen here:
superset/superset/utils/core.py
Line 158 in 419d122
superset/superset/result_set.py
Line 155 in 419d122
And is mentioned in related issue, here: #19388
Sorry, something went wrong.
would be great this to work!
+1
No branches or pull requests
To reproduce the problem, I created a dataset from the abc table
then I checked that my column type was json.
![Снимок экрана 2023-08-30 в 16 42 04](https://private-user-images.githubusercontent.com/14940768/264362681-cce23570-0ae4-4c16-a7ab-e48de6ec50cd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzM4MzAsIm5iZiI6MTczOTM3MzUzMCwicGF0aCI6Ii8xNDk0MDc2OC8yNjQzNjI2ODEtY2NlMjM1NzAtMGFlNC00YzE2LWE3YWItZTQ4ZGU2ZWM1MGNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE1MTg1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJmMDYzMmEyNmQ4Zjc4YWUwYzYxMTdkYmM1NGFjNjM5ZDNlMjdjMGYwYjUzNGQ5MjlkNzZmZDVlMWRkMDFkNDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F5BgbIXCHmmiyIwJbgpRfDS8ZvjuVVRkugBTBSLN9CY)
and when I get an object for handlebars, I get very upset that I get a string instead of an object.
![Снимок экрана 2023-08-30 в 16 48 04](https://private-user-images.githubusercontent.com/14940768/264363908-d2311587-6b44-420e-ba2f-79261df24f47.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzM4MzAsIm5iZiI6MTczOTM3MzUzMCwicGF0aCI6Ii8xNDk0MDc2OC8yNjQzNjM5MDgtZDIzMTE1ODctNmI0NC00MjBlLWJhMmYtNzkyNjFkZjI0ZjQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE1MTg1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBiZDg4MTE4ODFmNGYzOTcwYjI1NmVkZjlhZjM5MDFhNWEyMGY5ZDFjNWYzOGFjMjE3NjM3ZWYxNzUyMWZiMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.lM4XG5PDYpnW56Gfx2s19OPGbuSoSndB0fUEUk4gGvA)
and I can't do
{{this.json.key}}
because there is a string in the jsonThe text was updated successfully, but these errors were encountered: