You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2023/01/18 12:19:24 UTC

[GitHub] [superset] jordiisidro opened a new issue, #22774: time_grain always return None in jinja

jordiisidro opened a new issue, #22774:
URL: https://github.com/apache/superset/issues/22774

   A clear and concise description of what the bug is.
   
   
   
   #### How to reproduce the bug
   The variable time_grain used in SQL templating is always None
   Other variables like from_dttm work fine.
   
   Sample query:
   
   select date_trunc(
   	{%- if time_grain == 'P1D' -%}
   	'day'
   	{%- elif time_grain == 'P1W' -%}
   	'week'
   	{%- elif time_grain == 'P1M' -%}
   	'month'
   	{%- elif time_grain == 'P3M' -%}
   	'quarter'
   	{%- elif time_grain == 'P1Y' -%}
   	'year'
   	{%- elif time_grain == 'P1Y' -%}
   	'year'
   	{% else %}
   	'month'
   	{%- endif -%}
   , data) as data
   	, tecnologia, proveidor, count(distinct id_ticket) as incidencies
   from inc_pet i 
   where  {% if from_dttm is not none %}
   i.data >= '{{ from_dttm }}' AND
   {% endif %}
   {% if to_dttm is not none %}
   i.data < '{{ to_dttm }}' AND
   {% endif %}
   1=1
   group by  date_trunc(
   	{%- if time_grain == 'P1D' -%}
   	'day'
   	{%- elif time_grain == 'P1W' -%}
   	'week'
   	{%- elif time_grain == 'P1M' -%}
   	'month'
   	{%- elif time_grain == 'P3M' -%}
   	'quarter'
   	{%- elif time_grain == 'P1Y' -%}
   	'year'
   	{%- elif time_grain == 'P1Y' -%}
   	'year'
   	{% else %}
   	'month'
   	{%- endif -%}
   , data)
   	, tecnologia, proveidor
   	
   
   
   
   ### Expected results
   I expect that when Granularity chances the time_grain value changes
   
   
   ### Actual results
   
   time_grain always return None
   
   ### Environment
   
   - superset version: 2.0.1
   
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] MaksymilianME commented on issue #22774: time_grain always return None in jinja

Posted by "MaksymilianME (via GitHub)" <gi...@apache.org>.
MaksymilianME commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1573549745

   Hi @villebro did you manage to fix this issue? This holds me back from moving from 2.0 to 2.1. Cant wait to start using 2.1.
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] jordiisidro closed issue #22774: time_grain always return None in jinja

Posted by "jordiisidro (via GitHub)" <gi...@apache.org>.
jordiisidro closed issue #22774: time_grain always return None in jinja
URL: https://github.com/apache/superset/issues/22774


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] itziarmj commented on issue #22774: time_grain always return None in jinja

Posted by "itziarmj (via GitHub)" <gi...@apache.org>.
itziarmj commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1512912644

   The same happens to me in version 2.1.0 with from_dttm in the edit chart. It does not happen in the charts contained in the dashboard.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "mapledan (via GitHub)" <gi...@apache.org>.
mapledan commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1780552023

   I create the PR #25429 that fix for the from_dttm return None, but I'm not sure about the time_grain issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "rzzldzzl (via GitHub)" <gi...@apache.org>.
rzzldzzl commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1792974495

   Running the latest dev version of superset -
   Regardless of "GENERIC_CHART_AXES" being set to True||False, `time_grain` returns `None` on the line & bar charts.  `time_grain` does return correctly on the table chart, however.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #22774: time_grain always return None in jinja
URL: https://github.com/apache/superset/issues/22774


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] duvenagep commented on issue #22774: time_grain always return None in jinja

Posted by "duvenagep (via GitHub)" <gi...@apache.org>.
duvenagep commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1714646670

   @villebro Any status on this issue. Currently using Superset 3.0.0rc2 and now GENERIC_CHART_AXES=true is the default this issues still seems to persist. Can confirm it works normally on tables but not on line graphs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] MaksymilianME commented on issue #22774: time_grain always return None in jinja

Posted by "MaksymilianME (via GitHub)" <gi...@apache.org>.
MaksymilianME commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1511484903

   @villebro did you open a PR for this issue? I have the same problem with latest version for time_grains in Jinja. Thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] villebro commented on issue #22774: time_grain always return None in jinja

Posted by "villebro (via GitHub)" <gi...@apache.org>.
villebro commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1549551513

   Ok thank's for confirming @mtrentz @itziarmj - I think I know what's going on, I can probably get this fixed this week to get it into 2.1.1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "rumbin (via GitHub)" <gi...@apache.org>.
rumbin commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1780528577

   The issue still exists in 3.0.1, as it seems. @villebro, you seemed confident to know what needs to be fixed. Any update on this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] mtrentz commented on issue #22774: time_grain always return None in jinja

Posted by "mtrentz (via GitHub)" <gi...@apache.org>.
mtrentz commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1549265894

   I am currently having the same problem. For me it seems to be related to the type of charts. For example, for Pivot Tables the `{{ time_grain }}` will always return None. But for Pivot Table (legacy) it will work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] howardcho commented on issue #22774: time_grain always return None in jinja

Posted by "howardcho (via GitHub)" <gi...@apache.org>.
howardcho commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1714333406

   @villebro did the fix for `from_dttm` make it into version 2.1? I'm using 2.0, and am seeing this issue as well.
   
   I have the following feature flags:
   ```
   FEATURE_FLAGS = {
           "ALERT_REPORTS": True,
           "ENABLE_TEMPLATE_PROCESSING": True,
           "GENERIC_CHART_AXES": True
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "Vitor-Avila (via GitHub)" <gi...@apache.org>.
Vitor-Avila commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1889213501

   @stepcheunghk unsure about the version the PR got associated with. @rusackas would you be able to assist determining that? I believe we're also good to close this bug.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] mtrentz commented on issue #22774: time_grain always return None in jinja

Posted by "mtrentz (via GitHub)" <gi...@apache.org>.
mtrentz commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1549448582

   @villebro no, i have the following feature flags enabled.
   
   ```
   FEATURE_FLAGS = {
           "ALERT_REPORTS": True,
           "ENABLE_TEMPLATE_PROCESSING": True,
           "DASHBOARD_RBAC": True,
           "DRILL_BY": True,
           "DRILL_TO_DETAIL": True,
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] villebro commented on issue #22774: time_grain always return None in jinja

Posted by "villebro (via GitHub)" <gi...@apache.org>.
villebro commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1483753847

   @jordiisidro thanks for raising, I'll take a look next week (feel free to nag me if I don't open a PR before next weekend)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] jordiisidro commented on issue #22774: time_grain always return None in jinja

Posted by "jordiisidro (via GitHub)" <gi...@apache.org>.
jordiisidro commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1482447917

   closed incorrectly.
   With the latest version the same problem still happens


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] jordiisidro commented on issue #22774: time_grain always return None in jinja

Posted by GitBox <gi...@apache.org>.
jordiisidro commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1396512782

   I think is related with GENERIC_CHART_AXES flag.
   With charts with GENERIC_CHART_AXES=False it works well, but when I deploy with GENERIC_CHART_AXES=True only works with the chart type Table, with line or bar char doesn't work. In both cases I select for the x axe a date column.
   
   Table chart assigns the time_grain correctly
   ![imatge](https://user-images.githubusercontent.com/19467312/213374691-42ec82ab-98d0-4c4f-8675-59f8c038c590.png)
   
   Line chart, doesn't assign the time_grain
   ![imatge](https://user-images.githubusercontent.com/19467312/213374816-2d451d30-a2f3-4d50-9ed0-ebd84c29ad9c.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "mtrentz (via GitHub)" <gi...@apache.org>.
mtrentz commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1892101334

   @Vitor-Avila Hey, coincidentally I've just tested this out. Using docker the 3.0.2 version fixed this issue for me while the 3.0.0 hadn't done so beforehand.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] villebro commented on issue #22774: time_grain always return None in jinja

Posted by "villebro (via GitHub)" <gi...@apache.org>.
villebro commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1549414201

   @itziarmj @mtrentz I think I was able to reproduce this issue - out of curiosity, have you enabled the `GENERIC_CHART_AXES` feature flag?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] jordiisidro commented on issue #22774: time_grain always return None in jinja

Posted by "jordiisidro (via GitHub)" <gi...@apache.org>.
jordiisidro commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1471457067

   Solved in last version


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] mapledan commented on issue #22774: time_grain always return None in jinja

Posted by "mapledan (via GitHub)" <gi...@apache.org>.
mapledan commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1617615674

   > 
   This PR(#23652 ) change the default value of GENERIC_CHART_AXES to true.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "Vitor-Avila (via GitHub)" <gi...@apache.org>.
Vitor-Avila commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1814679675

   I believe this got fixed with https://github.com/apache/superset/pull/25842 cc @rusackas 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1901234337

   Thanks for the update @mtrentz - sounds like we ca close this one then :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] itziarmj commented on issue #22774: time_grain always return None in jinja

Posted by "itziarmj (via GitHub)" <gi...@apache.org>.
itziarmj commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1513265243

   I think is somehow related, I have managed to get time_grain None together with from_dttm None and to_dttm None.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] MaksymilianME commented on issue #22774: time_grain always return None in jinja

Posted by "MaksymilianME (via GitHub)" <gi...@apache.org>.
MaksymilianME commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1513018188

   In my opinion from_dttm works fine both for chart edition and on dasboards. But time grain parameter does not work on any chart. Only on simple Table it looks fine. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] itziarmj commented on issue #22774: time_grain always return None in jinja

Posted by "itziarmj (via GitHub)" <gi...@apache.org>.
itziarmj commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1549416680

   Yes, this happens when GENERIC_CHART_AXES is enabled.
   
   From: Ville Brofeldt ***@***.***>
   Sent: Tuesday, May 16, 2023 12:36 PM
   To: apache/superset ***@***.***>
   Cc: Itziar Martínez ***@***.***>; Mention ***@***.***>
   Subject: Re: [apache/superset] time_grain always return None in jinja (Issue #22774)
   
   
   @itziarmj<https://github.com/itziarmj> @mtrentz<https://github.com/mtrentz> I think I was able to reproduce this issue - out of curiosity, have you enabled the GENERIC_CHART_AXES feature flag?
   
   —
   Reply to this email directly, view it on GitHub<https://github.com/apache/superset/issues/22774#issuecomment-1549414201>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYFVXN7DHY2HN7OFHBIW2C3XGNKA5ANCNFSM6AAAAAAT7AMEWQ>.
   You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] unnyns-307 commented on issue #22774: time_grain always return None in jinja

Posted by "unnyns-307 (via GitHub)" <gi...@apache.org>.
unnyns-307 commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1630495775

   Hello, also facing the same problem.
   We cannot disable GENERIC_AXIS_CHART on Superset cause there are many charts created based one the chart types enabled from this feature flag.
   Do we have other alternatives for this case or specific fixing on the code could resolve this too?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "WojtekWaga (via GitHub)" <gi...@apache.org>.
WojtekWaga commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1784651359

   Hey, it looks like it does not help for time_grain


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] time_grain always return None in jinja [superset]

Posted by "stepcheunghk (via GitHub)" <gi...@apache.org>.
stepcheunghk commented on issue #22774:
URL: https://github.com/apache/superset/issues/22774#issuecomment-1822159159

   > I believe this got fixed with #25842 cc @rusackas
   
   Thanks for the update @Vitor-Avila, however it seems it only works for v3.0?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org