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 2021/03/19 17:32:55 UTC
[GitHub] [superset] dimakern opened a new issue #2110: NULL does not get shown when grouping by a column
dimakern opened a new issue #2110:
URL: https://github.com/apache/superset/issues/2110
Make sure these boxes are checked before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if 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
### Superset version
"version": "0.15.4"
### Expected results
Note that by setting series limit to 0, we're able to get expected result, which includes num_candidate_type is NULL (0 on legend)

### Actual results
Actual result does not include NULL values for num_candidates_type. Looking at the query, there is an extra join added on num_candidates_type and as a result, when num_candidates_type IS NULL, those rows get dropped.

### Steps to reproduce
1) for Group By, select a column that has NULL values
2) count(*) for metric
3) Select Line time series
4) Time Column should be one that contains string dates in the format "2017-01-01"
5) Select day as the Time Grain
6) Select some time range
@bkyryliuk FYI
--
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.
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] junlincc closed issue #2110: NULL does not get shown when grouping by a column
Posted by GitBox <gi...@apache.org>.
junlincc closed issue #2110:
URL: https://github.com/apache/superset/issues/2110
--
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.
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] junlincc commented on issue #2110: NULL does not get shown when grouping by a column
Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #2110:
URL: https://github.com/apache/superset/issues/2110#issuecomment-808661214
@bkyryliuk would you mind opening a new ticket for this issue with details e.g. db and charts that are being affected. 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.
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] [incubator-superset] stale[bot] commented on issue #2110: NULL does
not get shown when grouping by a column
Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #2110: NULL does not get shown when grouping by a column
URL: https://github.com/apache/incubator-superset/issues/2110#issuecomment-573345183
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the 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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] stale[bot] closed issue #2110: NULL does not
get shown when grouping by a column
Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #2110: NULL does not get shown when grouping by a column
URL: https://github.com/apache/incubator-superset/issues/2110
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] bkyryliuk commented on issue #2110: NULL does not get shown when grouping by a column
Posted by GitBox <gi...@apache.org>.
bkyryliuk commented on issue #2110:
URL: https://github.com/apache/superset/issues/2110#issuecomment-802996848
It is still happening when grouped by 2 values and both of them are nulls, will try to find a way to repro on the example datasets
--
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.
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] [incubator-superset] nipunn1313 commented on issue #2110: NULL does not get shown when grouping by a column
Posted by GitBox <gi...@apache.org>.
nipunn1313 commented on issue #2110:
URL: https://github.com/apache/incubator-superset/issues/2110#issuecomment-746526464
Hi - I've continued to notice this issue in Dec 2020. I made a line chart with a group-by and the NULL values aren't represented as data points. When I poke at the query created - I see this
```
SELECT "git_wrapper_version" AS "git_wrapper_version",
date_trunc('day', CAST("day" AS TIMESTAMP)) AS "__timestamp",
COUNT(*) AS "count"
FROM "default"."pal_git_wrapper_metrics"
WHERE "day" >= '2020-12-09'
AND "day" < '2020-12-16'
GROUP BY "git_wrapper_version",
date_trunc('day', CAST("day" AS TIMESTAMP))
ORDER BY "count" DESC
LIMIT 50000;
```
But I don't see a line in the resulting graph for when git_wrapper_version = NULL.
Note that the following slightly different query w/o a GROUPBY does show a line. The moment you add git_wrapper_version to the group-by the null line goes away.
```
SELECT date_trunc('day', CAST("day" AS TIMESTAMP)) AS "__timestamp",
COUNT(*) AS "count"
FROM "default"."pal_git_wrapper_metrics"
WHERE "day" >= '2020-12-09'
AND "day" < '2020-12-16'
AND "git_wrapper_version" IS NULL
GROUP BY date_trunc('day', CAST("day" AS TIMESTAMP))
ORDER BY "count" DESC
LIMIT 50000;
```
----------------------------------------------------------------
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.
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] [incubator-superset] villebro commented on issue #2110: NULL does not get shown when grouping by a column
Posted by GitBox <gi...@apache.org>.
villebro commented on issue #2110:
URL: https://github.com/apache/incubator-superset/issues/2110#issuecomment-746539608
@nipunn1313 please open a new ticket for this if you can confirm that it's still happening on `master` branch or the latest stable release (the original ticket is referring to version `0.15.4` which is very old).
----------------------------------------------------------------
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.
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