-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Not able to Schedule Report , some issue in the latest release #26335
Comments
Did you try searching the GitHub repo for your error message? I searched "SQLite datetime" and found this issue where someone else was experiencing the same thing: #25969 It's better to post the error as text, not as an image, so that other people can find it via search. They were using SQLite as a metadata db and they fixed the problem by switching to Postgres. The Superset community voted to remove support for SQLite as a metadata database, this is scheduled to happen at the next major release (4.0) So while someone could theoretically try to fix this problem, in practice people should be migrating away from SQLite and this would be a poor investment of developer energy. I'm going to close this as a duplicate of #25969 but please let us know if migrating to Postgres does not solve your problem. EDIT in 2024 In subsequent community discussions, the Superset community discarded SIP-33 and thus decided to maintain support for SQLite as a backend. |
Actually there's an easy way to restore it back to work with SQLite.
Or, elaborated:
|
Hello
I am not able to apply dynamic filter using superset jinja by
inputting filter values to the sql query .. superset is adding additional
where clause on top of my query who will not give proper result.. totally
feel superset is not good option for reporting . currently need to solve
for existing customers .
apache superset automatically adding outer query while using jinja which is
restricting to achieve proper dynamic filtering.. i am not able to execute
this query properlySELECT * FROM RPT_CBI_PAYMENT_ILL
WHERE CUSTOMER_ID < (
{% for value in filter_values('CUSTOMER_ID') %}
'{{ value }}'
{% endfor %}
'')
6:46
<https://apache-superset.slack.com/archives/CK1P3L23E/p1714569402801279>
query will print like this .SELECT `TRANSACTION_DATE` AS `TRANSACTION_DATE`,
`CUSTOMER_ID` AS `CUSTOMER_ID`,
`ACCOUNT_ID` AS `ACCOUNT_ID`,
`PAYMENT` AS `PAYMENT`,
`ACCOUNT_CODE` AS `ACCOUNT_CODE`,
`CREATE_TIME` AS `CREATE_TIME`
FROM
(SELECT *
FROM RPT_CBI_PAYMENT_ILL
WHERE CUSTOMER_ID < ('1000020889603' '')) AS virtual_table
WHERE `CUSTOMER_ID` IN (1000020889603)
6:46
<https://apache-superset.slack.com/archives/CK1P3L23E/p1714569414052269>
…On Wed, Dec 27, 2023 at 10:19 PM Sam Firke ***@***.***> wrote:
Closed #26335 <#26335> as not
planned.
—
Reply to this email directly, view it on GitHub
<#26335 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZUMNEHO7EKJWOJR4QLOPSTYLRGQBAVCNFSM6AAAAABA7LVPWOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGM2DMMJXGIZDGMY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi @shafad1 that seems like a different problem. Please search for existing GitHub issues, I tried searching "jinja" "where" and found this which appears to be your issue but you can look further as many hits were returned: #23846 (comment) In short, can you use dashboard filter scoping controls to stop that filter from applying on that chart? Also Superset does not have "customers" as it is open-source free software. If you are able to contribute to improving it, whether to the code or documentation or helping others, please do so. |
A clear and concise description of what the bug is.
I have configured one report to send over mail, while scheduling getting the below error
Please help me to solve this , past two months i am trying to fix this as the same issue was faced in the version 3.0.1 as well
The text was updated successfully, but these errors were encountered: