-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
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
Sql Metric Expression which uses % has % duped in tableView query #274
Comments
Does it need escaping? It's weird it's returning the quote marks unescaped too. |
I did try escaping around the % and the " characters surrounding the %s but I'm still getting the % duplicated.
|
Have you tried doubling the |
Also which DB / sqlalchemy dialect are you using? |
I'll give that a shot.
I'm using sqllite3. |
It appears to make more % characters
|
Is there a workaround for this problem? |
This seems refers to a SQLAlchemy bug, which should be fixed in v1.2. It's patched for DateTimes in models.py : |
in #2330 I started doubling the |
I created a sql metric with the expression:
When I used this metric to create a table view the values were not being populated. Looking into the JSON I found the query had duplicated the
%
:Current end result is this column ends up displaying a 0 for each entry
The text was updated successfully, but these errors were encountered: