You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/01/16 06:07:19 UTC

[superset] 05/05: fix: case expression should not have double quotes (#12562)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 1.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit c38a5fc1d854fe565cbb6feaad6653f463655cac
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Fri Jan 15 15:33:21 2021 -0800

    fix: case expression should not have double quotes (#12562)
---
 .../configs/datasets/examples/FCC_2018_Survey.yaml | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/superset/examples/configs/datasets/examples/FCC_2018_Survey.yaml b/superset/examples/configs/datasets/examples/FCC_2018_Survey.yaml
index 81505cc..c7caea3 100644
--- a/superset/examples/configs/datasets/examples/FCC_2018_Survey.yaml
+++ b/superset/examples/configs/datasets/examples/FCC_2018_Survey.yaml
@@ -45,19 +45,19 @@ columns:
   type: STRING
   groupby: true
   filterable: true
-  expression: "CASE \n  WHEN school_degree = \"no high school (secondary school)\"\
-    \ THEN \"A. No high school (secondary school)\"\n  WHEN school_degree =  \"some\
-    \ high school\" THEN \"B. Some high school\"\n  WHEN school_degree = \"high school\
-    \ diploma or equivalent (GED)\" THEN \"C. High school diploma or equivalent (GED)\"\
-    \n  WHEN school_degree = \"associate's degree\" THEN \"D. Associate's degree\"\
-    \n  WHEN school_degree = \"some college credit, no degree\" THEN \"E. Some college\
-    \ credit, no degree\"\n  WHEN school_degree = \"bachelor's degree\" THEN \"F.\
-    \ Bachelor's degree\"\n  WHEN school_degree = \"trade, technical, or vocational\
-    \ training\" THEN \"G. Trade, technical, or vocational training\"\n  WHEN school_degree\
-    \ = \"master's degree (non-professional)\" THEN \"H. Master's degree (non-professional)\"\
-    \n  WHEN school_degree = \"Ph.D.\" THEN \"I. Ph.D.\"\n  WHEN school_degree = \"\
-    professional degree (MBA, MD, JD, etc.)\" THEN \"J. Professional degree (MBA,\
-    \ MD, JD, etc.)\"\nEND"
+  expression: "CASE \n  WHEN school_degree = 'no high school (secondary school)'\
+    \ THEN 'A. No high school (secondary school)'\n  WHEN school_degree =  'some\
+    \ high school' THEN 'B. Some high school'\n  WHEN school_degree = 'high school\
+    \ diploma or equivalent (GED)' THEN 'C. High school diploma or equivalent (GED)'\
+    \n  WHEN school_degree = 'associate''s degree' THEN 'D. Associate''s degree'\
+    \n  WHEN school_degree = 'some college credit, no degree' THEN 'E. Some college\
+    \ credit, no degree'\n  WHEN school_degree = 'bachelor''s degree' THEN 'F.\
+    \ Bachelor''s degree'\n  WHEN school_degree = 'trade, technical, or vocational\
+    \ training' THEN 'G. Trade, technical, or vocational training'\n  WHEN school_degree\
+    \ = 'master''s degree (non-professional)' THEN 'H. Master''s degree (non-professional)'\
+    \n  WHEN school_degree = 'Ph.D.' THEN 'I. Ph.D.'\n  WHEN school_degree = '\
+    professional degree (MBA, MD, JD, etc.)' THEN 'J. Professional degree (MBA,\
+    \ MD, JD, etc.)'\nEND"
   description: Highest Degree Earned
   python_date_format: null
 - column_name: job_location_preference