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
I'm trying to exec this query in Superset-SQLab
SELECT {{gender_enum(users.gender)}} as gender from users;
The gender_enum is defined like this
lambda x: ['Femenino', 'Masculino', 'Otro', 'Prefiere no decir'][x]
The gender field could be 0, 1, 2 or 3. It's an enum.
Of course, in jinja context, users.gender does not exist. I'm not finding a way to solve this, can you help me please?
Thanks!!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to exec this query in Superset-SQLab
The gender_enum is defined like this
The gender field could be 0, 1, 2 or 3. It's an enum.
Of course, in jinja context, users.gender does not exist. I'm not finding a way to solve this, can you help me please?
Thanks!!
The text was updated successfully, but these errors were encountered: