Skip to content
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

Add support for column specific fillna to viz #3066

Merged
merged 1 commit into from
Sep 28, 2017

Conversation

xrmx
Copy link
Contributor

@xrmx xrmx commented Jun 30, 2017

Fix #3029

@@ -19,6 +19,7 @@
from superset.models.sql_lab import Query
from superset.views.core import DatabaseView
from superset.connectors.sqla.models import SqlaTable
from superset.viz import BaseViz
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed

@coveralls
Copy link

coveralls commented Jul 26, 2017

Coverage Status

Coverage increased (+0.06%) to 69.439% when pulling 7458aa62b9a7b95b262de584958f7d606d2c0868 on xrmx:typedfillnae into 6045063 on apache:master.

@xrmx
Copy link
Contributor Author

xrmx commented Aug 17, 2017

@mistercrunch any chance you can review this please?

@mistercrunch
Copy link
Member

I'm not sure whether we want to systematically replace NULL with <None> and empties with 0. I understand the use case but people may not want that in their existing charts....

@xrmx
Copy link
Contributor Author

xrmx commented Aug 18, 2017

Maybe i wasn't clear but right now my visualization are not working with superset because NULL is not coerced to '0' (string) anymore as it was on caravel. So that fixes a regression for me :) Said that I don't think <None> is worse than 0 for text, we can change that to <NULL> so that would be more clear for SQL aware people. The surrounding <> are just a trick to have it show before other letters after sorting. For other types the 0 is actually hardcoded so I am not changing any behaviour.

UPDATE: maybe i can use a preceding space before NULL to be more SQL-like

@coveralls
Copy link

coveralls commented Aug 18, 2017

Coverage Status

Coverage increased (+0.06%) to 69.442% when pulling 9202d80f389b7368dbf3bc4d26392235cfaa2227 on xrmx:typedfillnae into 6045063 on apache:master.

@coveralls
Copy link

coveralls commented Aug 25, 2017

Coverage Status

Coverage increased (+0.05%) to 69.342% when pulling 2097b55c46c8f2479caa5704922cd6857d829a31 on xrmx:typedfillnae into c944c61 on apache:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 69.342% when pulling 2097b55c46c8f2479caa5704922cd6857d829a31 on xrmx:typedfillnae into c944c61 on apache:master.

@xrmx
Copy link
Contributor Author

xrmx commented Aug 28, 2017

@mistercrunch any hint on how we can move this forward?

@ToonoW
Copy link

ToonoW commented Sep 8, 2017

It make sense what @mistercrunch say. We should not use 0 and ‘NULL’ replace <null> in sample way, it will make misunderstanding in some situation.

Simple and Difficult Problem. : (

@rumbin
Copy link
Contributor

rumbin commented Sep 16, 2017

Just wanted you to know that I would also love to see #3029 fixed in the next release, as some of our pivot tables also don't work any longer when upgrading from 0.15.4 to 0.19.1.

So, thanks @xrmx for your efforts!

@coveralls
Copy link

coveralls commented Sep 27, 2017

Coverage Status

Coverage increased (+0.05%) to 70.112% when pulling 1c25fe4 on xrmx:typedfillnae into f829b48 on apache:master.

@mistercrunch mistercrunch merged commit f438ccb into apache:master Sep 28, 2017
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request Oct 3, 2017
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.20.1 labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.20.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: unorderable types: str() > int() on specific distribution bar chart slice
5 participants