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

[Bug Fix] Fix sqllab numpy array #4629

Merged
merged 2 commits into from
Mar 19, 2018

Conversation

michellethomas
Copy link
Contributor

We've been seeing some sqllab errors where results can't correctly be converted to a numpy array. This answer says that we can set dtype=object to allow numpy to hold anything.

Added additional test that would error without this fix.

@john-bodley

@codecov-io
Copy link

codecov-io commented Mar 16, 2018

Codecov Report

Merging #4629 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4629      +/-   ##
==========================================
+ Coverage   71.22%   71.22%   +<.01%     
==========================================
  Files         190      190              
  Lines       14880    14880              
  Branches     1098     1098              
==========================================
+ Hits        10598    10599       +1     
+ Misses       4279     4278       -1     
  Partials        3        3
Impacted Files Coverage Δ
superset/sql_lab.py 74.21% <100%> (ø) ⬆️
superset/dataframe.py 98.75% <0%> (+1.25%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97afcd5...12caf65. Read the comment docs.

@timifasubaa
Copy link
Contributor

LGTM

@john-bodley john-bodley merged commit 5c98f56 into apache:master Mar 19, 2018
@michellethomas michellethomas changed the title Fix sqllab numpy array [Bug Fix] Fix sqllab numpy array Mar 19, 2018
michellethomas added a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
* Fixing error with sqllab numpy array

* Adding tests for failing sqllab data type
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
* Fixing error with sqllab numpy array

* Adding tests for failing sqllab data type
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.24.0 labels Feb 27, 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.24.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants