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

[sqllab] Make sure null schema is None and not "null" #8255

Closed
wants to merge 1 commit into from

Conversation

serenajiang
Copy link
Contributor

CATEGORY

Choose one

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

A null schema in the request form is interpreted as the string "null" rather than actual null, resulting in /sql_json/ returning a response containing "null". This causes problems. These problems can be better explained by @john-bodley.

Just a one line change to make sure "null" is translated into Python None.

TEST PLAN

Ran query locally that previously returned a "null" schema. Confirmed it is now null.

REVIEWERS

@john-bodley @graceguo-supercat

@john-bodley
Copy link
Member

@serenajiang could we close this in favor of #8256.

@serenajiang serenajiang deleted the serena-null-schema branch September 19, 2019 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants