From d70db43afb9384694a912a6b5058c89b0ed88013 Mon Sep 17 00:00:00 2001 From: Beto Dealmeida Date: Thu, 14 Jan 2021 23:28:52 -0800 Subject: [PATCH] fix: lowercase all columns in examples (#12530) --- ...e_you_an_ethnic_minority_in_your_city.yaml | 2 +- .../charts/Breakdown_of_Developer_Type.yaml | 2 +- .../examples/configs/charts/Commute_Time.yaml | 2 +- ...rs_Is_this_your_first_development_job.yaml | 2 +- .../charts/Ethnic_Minority__Gender.yaml | 4 +- .../configs/charts/Filter_Segments.yaml | 9 +++- .../configs/charts/Filtering_Vaccines.yaml | 7 +-- .../configs/charts/First_Time_Developer.yaml | 4 +- .../First_Time_Developer__Commute_Time.yaml | 4 +- superset/examples/configs/charts/Games.yaml | 20 +++---- .../configs/charts/Games_per_Genre.yaml | 6 +-- .../charts/Games_per_Genre_over_time.yaml | 6 +-- superset/examples/configs/charts/Gender.yaml | 2 +- ...w_much_do_you_expect_to_earn_0_-_100k.yaml | 2 +- .../charts/Last_Year_Income_Distribution.yaml | 2 +- .../charts/Most_Dominant_Platforms.yaml | 8 +-- .../Number_of_Deals_for_each_Combination.yaml | 6 +-- ...hat_Hit_100k_in_Sales_By_Release_Year.yaml | 4 +- .../charts/Overall_Sales_By_Product_Line.yaml | 6 +-- .../Popular_Genres_Across_Platforms.yaml | 6 +-- ...Proportion_of_Revenue_by_Product_Line.yaml | 6 +-- .../charts/Publishers_With_Most_Titles.yaml | 16 +++--- .../configs/charts/Quarterly_Sales.yaml | 4 +- .../Quarterly_Sales_By_Product_Line.yaml | 6 +-- .../configs/charts/Relocation_ability.yaml | 2 +- .../configs/charts/Revenue_by_Deal_Size.yaml | 6 +-- .../Rise__Fall_of_Video_Game_Consoles.yaml | 8 +-- ...asonality_of_Revenue_per_Product_Line.yaml | 6 +-- ..._Games_Proportion_of_Sales_in_Markets.yaml | 14 ++--- .../configs/charts/Total_Items_Sold.yaml | 4 +- .../Total_Items_Sold_By_Product_Line.yaml | 6 +-- .../configs/charts/Total_Revenue.yaml | 4 +- ...tal_Sales_per_Market_Grouped_by_Genre.yaml | 14 ++--- ...accine_Candidates_per_Approach__Stage.yaml | 4 +- .../Vaccine_Candidates_per_Country.yaml | 2 +- .../Vaccine_Candidates_per_Country_261.yaml | 4 +- ...Vaccine_Candidates_per_Country__Stage.yaml | 4 +- ...ine_Candidates_per_Country__Stage_749.yaml | 4 +- .../charts/Vaccine_Candidates_per_Phase.yaml | 2 +- .../Vaccine_Candidates_per_Phase_587.yaml | 2 +- .../configs/charts/Vehicle_Sales_Filter.yaml | 8 +-- .../charts/Video_Game_Sales_Filter.yaml | 11 ++-- .../charts/Work_Location_Preference.yaml | 2 +- .../datasets/examples/FCC_2018_Survey.yaml | 18 +++---- .../datasets/examples/cleaned_sales_data.yaml | 52 +++++++++---------- .../datasets/examples/covid_vaccines.yaml | 44 ++++++++-------- .../datasets/examples/video_game_sales.yaml | 24 ++++----- 47 files changed, 196 insertions(+), 185 deletions(-) diff --git a/superset/examples/configs/charts/Are_you_an_ethnic_minority_in_your_city.yaml b/superset/examples/configs/charts/Are_you_an_ethnic_minority_in_your_city.yaml index 850a88172fd7..b170d6ab3c88 100644 --- a/superset/examples/configs/charts/Are_you_an_ethnic_minority_in_your_city.yaml +++ b/superset/examples/configs/charts/Are_you_an_ethnic_minority_in_your_city.yaml @@ -23,7 +23,7 @@ params: donut: true granularity_sqla: time_start groupby: - - Ethnic Minority + - ethnic_minority innerRadius: 44 label_line: true labels_outside: true diff --git a/superset/examples/configs/charts/Breakdown_of_Developer_Type.yaml b/superset/examples/configs/charts/Breakdown_of_Developer_Type.yaml index 8afd9d7aaaba..4e4b68814402 100644 --- a/superset/examples/configs/charts/Breakdown_of_Developer_Type.yaml +++ b/superset/examples/configs/charts/Breakdown_of_Developer_Type.yaml @@ -23,7 +23,7 @@ params: datasource: 42__table granularity_sqla: time_start groupby: - - Developer Type + - developer_type metrics: - count order_by_cols: [] diff --git a/superset/examples/configs/charts/Commute_Time.yaml b/superset/examples/configs/charts/Commute_Time.yaml index 7481db68d620..162c3bef0a1c 100644 --- a/superset/examples/configs/charts/Commute_Time.yaml +++ b/superset/examples/configs/charts/Commute_Time.yaml @@ -26,7 +26,7 @@ params: isNew: false operator: == sqlExpression: null - subject: Developer Type + subject: developer_type - clause: WHERE comparator: 'NULL' expressionType: SIMPLE diff --git a/superset/examples/configs/charts/Current_Developers_Is_this_your_first_development_job.yaml b/superset/examples/configs/charts/Current_Developers_Is_this_your_first_development_job.yaml index 262e9e72a3d1..e051c6a10510 100644 --- a/superset/examples/configs/charts/Current_Developers_Is_this_your_first_development_job.yaml +++ b/superset/examples/configs/charts/Current_Developers_Is_this_your_first_development_job.yaml @@ -26,7 +26,7 @@ params: isNew: false operator: == sqlExpression: null - subject: Developer Type + subject: developer_type datasource: 42__table granularity_sqla: time_start header_font_size: 0.4 diff --git a/superset/examples/configs/charts/Ethnic_Minority__Gender.yaml b/superset/examples/configs/charts/Ethnic_Minority__Gender.yaml index 4665547c2cba..b5bd7a9df925 100644 --- a/superset/examples/configs/charts/Ethnic_Minority__Gender.yaml +++ b/superset/examples/configs/charts/Ethnic_Minority__Gender.yaml @@ -26,7 +26,7 @@ params: isNew: false operator: '!=' sqlExpression: null - subject: Ethnic Minority + subject: ethnic_minority - clause: WHERE comparator: 'NULL' expressionType: SIMPLE @@ -40,7 +40,7 @@ params: datasource: 42__table granularity_sqla: time_start groupby: - - Ethnic Minority + - ethnic_minority - gender label_colors: {} metric: count diff --git a/superset/examples/configs/charts/Filter_Segments.yaml b/superset/examples/configs/charts/Filter_Segments.yaml index 98245155dd9d..e98efd1823ce 100644 --- a/superset/examples/configs/charts/Filter_Segments.yaml +++ b/superset/examples/configs/charts/Filter_Segments.yaml @@ -23,32 +23,37 @@ params: filter_configs: - asc: true clearable: true - column: Ethnic Minority + column: ethnic_minority key: -xNBqpfQo + label: Ethnic Minority multiple: true searchAllOptions: false - asc: true clearable: true column: gender key: 19VeBGTKf + label: Gender multiple: true searchAllOptions: false - asc: true clearable: true - column: Developer Type + column: developer_type key: OWTb4s69T + label: Developer Type multiple: true searchAllOptions: false - asc: true clearable: true column: lang_at_home key: Fn-YClyhb + label: Language at Home multiple: true searchAllOptions: false - asc: true clearable: true column: country_live key: 2fNskRCLJ + label: Country live multiple: true searchAllOptions: false granularity_sqla: time_start diff --git a/superset/examples/configs/charts/Filtering_Vaccines.yaml b/superset/examples/configs/charts/Filtering_Vaccines.yaml index a8e6a1ba6539..735349254c93 100644 --- a/superset/examples/configs/charts/Filtering_Vaccines.yaml +++ b/superset/examples/configs/charts/Filtering_Vaccines.yaml @@ -23,22 +23,23 @@ params: filter_configs: - asc: true clearable: true - column: Country_Name + column: country_name key: D00hRxPLE label: Country multiple: true searchAllOptions: false - asc: true clearable: true - column: Product_Category + column: product_category key: jJ7x2cuIc label: Vaccine Approach multiple: true searchAllOptions: false - asc: true clearable: true - column: Clinical Stage + column: clinical_stage key: EgGwwAUU6 + label: Clinical Stage multiple: true searchAllOptions: false queryFields: {} diff --git a/superset/examples/configs/charts/First_Time_Developer.yaml b/superset/examples/configs/charts/First_Time_Developer.yaml index 9f08859f628b..d1c0902f0e00 100644 --- a/superset/examples/configs/charts/First_Time_Developer.yaml +++ b/superset/examples/configs/charts/First_Time_Developer.yaml @@ -26,13 +26,13 @@ params: isNew: false operator: == sqlExpression: null - subject: Developer Type + subject: developer_type color_scheme: supersetColors datasource: 42__table donut: true granularity_sqla: time_start groupby: - - First Time Developer + - first_time_developer innerRadius: 43 labels_outside: true metric: count diff --git a/superset/examples/configs/charts/First_Time_Developer__Commute_Time.yaml b/superset/examples/configs/charts/First_Time_Developer__Commute_Time.yaml index bcce0b456d8f..49d7de651bf1 100644 --- a/superset/examples/configs/charts/First_Time_Developer__Commute_Time.yaml +++ b/superset/examples/configs/charts/First_Time_Developer__Commute_Time.yaml @@ -35,7 +35,7 @@ params: isNew: false operator: '!=' sqlExpression: null - subject: First Time Developer + subject: first_time_developer - clause: WHERE comparator: 'NULL' expressionType: SIMPLE @@ -49,7 +49,7 @@ params: datasource: 42__table granularity_sqla: time_start groupby: - - First Time Developer + - first_time_developer - communite_time label_colors: {} metric: count diff --git a/superset/examples/configs/charts/Games.yaml b/superset/examples/configs/charts/Games.yaml index c77c4a853d7a..cfdab3e70b9a 100644 --- a/superset/examples/configs/charts/Games.yaml +++ b/superset/examples/configs/charts/Games.yaml @@ -19,22 +19,22 @@ viz_type: table params: adhoc_filters: [] all_columns: - - Name - - Global_Sales - - Platform - - Genre - - Publisher - - Year + - name + - global_sales + - platform + - genre + - publisher + - year color_pn: false datasource: 21__table - granularity_sqla: Year + granularity_sqla: year groupby: - - Name + - name include_search: true metrics: - aggregate: SUM column: - column_name: Global_Sales + column_name: global_sales description: null expression: null filterable: true @@ -52,7 +52,7 @@ params: optionName: metric_pkpvgdsf70d_pnqv77v0x2p sqlExpression: null order_by_cols: - - '["Global_Sales", false]' + - '["global_sales", false]' order_desc: true page_length: '15' percent_metrics: [] diff --git a/superset/examples/configs/charts/Games_per_Genre.yaml b/superset/examples/configs/charts/Games_per_Genre.yaml index 52398d19e528..2255622bbd6f 100644 --- a/superset/examples/configs/charts/Games_per_Genre.yaml +++ b/superset/examples/configs/charts/Games_per_Genre.yaml @@ -20,9 +20,9 @@ params: adhoc_filters: [] color_scheme: supersetColors datasource: 1559__table - granularity_sqla: Year + granularity_sqla: year groupby: - - Genre + - genre label_colors: '0': '#1FA8C9' '1': '#454E7C' @@ -89,7 +89,7 @@ params: - exclusive treemap_ratio: 1.618033988749895 url_params: - preselect_filters: '{"1389": {"Platform": ["PS", "PS2", "PS3", "PS4"], "Genre": + preselect_filters: '{"1389": {"platform": ["PS", "PS2", "PS3", "PS4"], "genre": null, "__time_range": "No filter"}}' viz_type: treemap cache_timeout: null diff --git a/superset/examples/configs/charts/Games_per_Genre_over_time.yaml b/superset/examples/configs/charts/Games_per_Genre_over_time.yaml index 186f4c9d9685..6d700d4d4236 100644 --- a/superset/examples/configs/charts/Games_per_Genre_over_time.yaml +++ b/superset/examples/configs/charts/Games_per_Genre_over_time.yaml @@ -24,9 +24,9 @@ params: comparison_type: values contribution: false datasource: 21__table - granularity_sqla: Year + granularity_sqla: year groupby: - - Genre + - genre label_colors: '0': '#1FA8C9' '1': '#454E7C' @@ -101,7 +101,7 @@ params: - inclusive - exclusive url_params: - preselect_filters: '{"1389": {"Platform": ["PS", "PS2", "PS3", "PS4"], "Genre": + preselect_filters: '{"1389": {"platform": ["PS", "PS2", "PS3", "PS4"], "genre": null, "__time_range": "No filter"}}' viz_type: line x_axis_format: smart_date diff --git a/superset/examples/configs/charts/Gender.yaml b/superset/examples/configs/charts/Gender.yaml index 9728572651ab..c20d02e7b0ba 100644 --- a/superset/examples/configs/charts/Gender.yaml +++ b/superset/examples/configs/charts/Gender.yaml @@ -23,7 +23,7 @@ params: donut: true granularity_sqla: time_start groupby: - - Gender + - gender innerRadius: 44 label_line: true labels_outside: true diff --git a/superset/examples/configs/charts/How_much_do_you_expect_to_earn_0_-_100k.yaml b/superset/examples/configs/charts/How_much_do_you_expect_to_earn_0_-_100k.yaml index b2490c25ce33..6d88f5aee5ad 100644 --- a/superset/examples/configs/charts/How_much_do_you_expect_to_earn_0_-_100k.yaml +++ b/superset/examples/configs/charts/How_much_do_you_expect_to_earn_0_-_100k.yaml @@ -26,7 +26,7 @@ params: isNew: false operator: == sqlExpression: null - subject: Developer Type + subject: developer_type - clause: WHERE comparator: '200000' expressionType: SIMPLE diff --git a/superset/examples/configs/charts/Last_Year_Income_Distribution.yaml b/superset/examples/configs/charts/Last_Year_Income_Distribution.yaml index c26aeb63d1b8..20ccbb7f051a 100644 --- a/superset/examples/configs/charts/Last_Year_Income_Distribution.yaml +++ b/superset/examples/configs/charts/Last_Year_Income_Distribution.yaml @@ -26,7 +26,7 @@ params: isNew: false operator: == sqlExpression: null - subject: Developer Type + subject: developer_type - clause: WHERE comparator: '100000' expressionType: SIMPLE diff --git a/superset/examples/configs/charts/Most_Dominant_Platforms.yaml b/superset/examples/configs/charts/Most_Dominant_Platforms.yaml index 243f4a6c6243..0ba3c70db263 100644 --- a/superset/examples/configs/charts/Most_Dominant_Platforms.yaml +++ b/superset/examples/configs/charts/Most_Dominant_Platforms.yaml @@ -26,20 +26,20 @@ params: isNew: false operator: <= sqlExpression: null - subject: Rank + subject: rank color_scheme: supersetColors datasource: 21__table donut: true - granularity_sqla: Year + granularity_sqla: year groupby: - - Publisher + - publisher innerRadius: 45 label_line: true labels_outside: true metric: aggregate: SUM column: - column_name: Global_Sales + column_name: global_sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Number_of_Deals_for_each_Combination.yaml b/superset/examples/configs/charts/Number_of_Deals_for_each_Combination.yaml index af9b4e84a7b6..73da10044e30 100644 --- a/superset/examples/configs/charts/Number_of_Deals_for_each_Combination.yaml +++ b/superset/examples/configs/charts/Number_of_Deals_for_each_Combination.yaml @@ -18,12 +18,12 @@ slice_name: Number of Deals (for each Combination) viz_type: heatmap params: adhoc_filters: [] - all_columns_x: DealSize - all_columns_y: ProductLine + all_columns_x: deal_size + all_columns_y: product_line bottom_margin: 100 canvas_image_rendering: pixelated datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date left_margin: 75 linear_color_scheme: schemePuBuGn metric: count diff --git a/superset/examples/configs/charts/Number_of_Games_That_Hit_100k_in_Sales_By_Release_Year.yaml b/superset/examples/configs/charts/Number_of_Games_That_Hit_100k_in_Sales_By_Release_Year.yaml index 448fba37f55b..5b542363f349 100644 --- a/superset/examples/configs/charts/Number_of_Games_That_Hit_100k_in_Sales_By_Release_Year.yaml +++ b/superset/examples/configs/charts/Number_of_Games_That_Hit_100k_in_Sales_By_Release_Year.yaml @@ -20,9 +20,9 @@ params: adhoc_filters: [] color_scheme: supersetColors datasource: 21__table - granularity_sqla: Year + granularity_sqla: year groupby: - - Platform + - platform label_colors: '2600': '#D1C6BC' 3DO: '#A38F79' diff --git a/superset/examples/configs/charts/Overall_Sales_By_Product_Line.yaml b/superset/examples/configs/charts/Overall_Sales_By_Product_Line.yaml index 26b395d47b1a..e7c6797eec0c 100644 --- a/superset/examples/configs/charts/Overall_Sales_By_Product_Line.yaml +++ b/superset/examples/configs/charts/Overall_Sales_By_Product_Line.yaml @@ -21,16 +21,16 @@ params: color_scheme: supersetColors datasource: 23__table donut: true - granularity_sqla: OrderDate + granularity_sqla: order_date groupby: - - ProductLine + - product_line innerRadius: 41 label_line: true labels_outside: true metric: aggregate: SUM column: - column_name: Sales + column_name: sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Popular_Genres_Across_Platforms.yaml b/superset/examples/configs/charts/Popular_Genres_Across_Platforms.yaml index 55264241bafa..a01a18ad00a1 100644 --- a/superset/examples/configs/charts/Popular_Genres_Across_Platforms.yaml +++ b/superset/examples/configs/charts/Popular_Genres_Across_Platforms.yaml @@ -18,12 +18,12 @@ slice_name: Popular Genres Across Platforms viz_type: heatmap params: adhoc_filters: [] - all_columns_x: Platform - all_columns_y: Genre + all_columns_x: platform + all_columns_y: genre bottom_margin: auto canvas_image_rendering: pixelated datasource: 64__table - granularity_sqla: Year + granularity_sqla: year left_margin: auto linear_color_scheme: blue_white_yellow metric: count diff --git a/superset/examples/configs/charts/Proportion_of_Revenue_by_Product_Line.yaml b/superset/examples/configs/charts/Proportion_of_Revenue_by_Product_Line.yaml index bc671e98f0a7..fbdac5ed38c8 100644 --- a/superset/examples/configs/charts/Proportion_of_Revenue_by_Product_Line.yaml +++ b/superset/examples/configs/charts/Proportion_of_Revenue_by_Product_Line.yaml @@ -24,15 +24,15 @@ params: comparison_type: values contribution: true datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date groupby: - - ProductLine + - product_line label_colors: {} line_interpolation: linear metrics: - aggregate: SUM column: - column_name: Sales + column_name: sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Publishers_With_Most_Titles.yaml b/superset/examples/configs/charts/Publishers_With_Most_Titles.yaml index 6f1dcce80bae..aa93dfa7b860 100644 --- a/superset/examples/configs/charts/Publishers_With_Most_Titles.yaml +++ b/superset/examples/configs/charts/Publishers_With_Most_Titles.yaml @@ -19,16 +19,16 @@ viz_type: table params: adhoc_filters: [] all_columns: - - Rank - - Name - - Global_Sales - - Platform - - Genre - - Publisher - - Year + - rank + - name + - global_sales + - platform + - genre + - publisher + - year color_pn: false datasource: 21__table - granularity_sqla: Year + granularity_sqla: year groupby: [] metrics: - count diff --git a/superset/examples/configs/charts/Quarterly_Sales.yaml b/superset/examples/configs/charts/Quarterly_Sales.yaml index acdd26731017..65553d5eff79 100644 --- a/superset/examples/configs/charts/Quarterly_Sales.yaml +++ b/superset/examples/configs/charts/Quarterly_Sales.yaml @@ -23,7 +23,7 @@ params: color_scheme: supersetColors comparison_type: null datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date groupby: [] label_colors: Classic Cars: '#5AC189' @@ -40,7 +40,7 @@ params: metrics: - aggregate: SUM column: - column_name: Sales + column_name: sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Quarterly_Sales_By_Product_Line.yaml b/superset/examples/configs/charts/Quarterly_Sales_By_Product_Line.yaml index 85968bd81eeb..66d8733bf58e 100644 --- a/superset/examples/configs/charts/Quarterly_Sales_By_Product_Line.yaml +++ b/superset/examples/configs/charts/Quarterly_Sales_By_Product_Line.yaml @@ -24,9 +24,9 @@ params: color_scheme: supersetColors comparison_type: null datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date groupby: - - ProductLine + - product_line label_colors: Classic Cars: '#5AC189' Motorcycles: '#666666' @@ -42,7 +42,7 @@ params: metrics: - aggregate: SUM column: - column_name: Sales + column_name: sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Relocation_ability.yaml b/superset/examples/configs/charts/Relocation_ability.yaml index c395fe4849d1..4d5111ce60ac 100644 --- a/superset/examples/configs/charts/Relocation_ability.yaml +++ b/superset/examples/configs/charts/Relocation_ability.yaml @@ -32,7 +32,7 @@ params: donut: true granularity_sqla: time_start groupby: - - Willing To Relocate + - willing_to_relocate innerRadius: 44 labels_outside: true metric: count diff --git a/superset/examples/configs/charts/Revenue_by_Deal_Size.yaml b/superset/examples/configs/charts/Revenue_by_Deal_Size.yaml index e7bb9e160c44..1c57449d1a67 100644 --- a/superset/examples/configs/charts/Revenue_by_Deal_Size.yaml +++ b/superset/examples/configs/charts/Revenue_by_Deal_Size.yaml @@ -25,16 +25,16 @@ params: comparison_type: values contribution: false datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date groupby: - - DealSize + - deal_size label_colors: {} left_margin: auto line_interpolation: linear metrics: - aggregate: SUM column: - column_name: Sales + column_name: sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Rise__Fall_of_Video_Game_Consoles.yaml b/superset/examples/configs/charts/Rise__Fall_of_Video_Game_Consoles.yaml index d0242216a855..8b66280a6825 100644 --- a/superset/examples/configs/charts/Rise__Fall_of_Video_Game_Consoles.yaml +++ b/superset/examples/configs/charts/Rise__Fall_of_Video_Game_Consoles.yaml @@ -24,9 +24,9 @@ params: comparison_type: values contribution: false datasource: 21__table - granularity_sqla: Year + granularity_sqla: year groupby: - - Platform + - platform label_colors: '0': '#1FA8C9' '1': '#454E7C' @@ -84,7 +84,7 @@ params: metrics: - aggregate: SUM column: - column_name: Global_Sales + column_name: global_sales description: null expression: null filterable: true @@ -118,7 +118,7 @@ params: - inclusive - exclusive url_params: - preselect_filters: '{"1389": {"Platform": ["PS", "PS2", "PS3", "PS4"], "Genre": + preselect_filters: '{"1389": {"platform": ["PS", "PS2", "PS3", "PS4"], "genre": null, "__time_range": "No filter"}}' viz_type: area x_axis_format: smart_date diff --git a/superset/examples/configs/charts/Seasonality_of_Revenue_per_Product_Line.yaml b/superset/examples/configs/charts/Seasonality_of_Revenue_per_Product_Line.yaml index 3f9fcaa99f27..b3161f637f87 100644 --- a/superset/examples/configs/charts/Seasonality_of_Revenue_per_Product_Line.yaml +++ b/superset/examples/configs/charts/Seasonality_of_Revenue_per_Product_Line.yaml @@ -19,14 +19,14 @@ viz_type: horizon params: adhoc_filters: [] datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date groupby: - - ProductLine + - product_line horizon_color_scale: series metrics: - aggregate: SUM column: - column_name: Sales + column_name: sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Top_10_Games_Proportion_of_Sales_in_Markets.yaml b/superset/examples/configs/charts/Top_10_Games_Proportion_of_Sales_in_Markets.yaml index 1b40b4bd565a..99aa034e1cd8 100644 --- a/superset/examples/configs/charts/Top_10_Games_Proportion_of_Sales_in_Markets.yaml +++ b/superset/examples/configs/charts/Top_10_Games_Proportion_of_Sales_in_Markets.yaml @@ -26,21 +26,21 @@ params: isNew: false operator: <= sqlExpression: null - subject: Rank + subject: rank bar_stacked: true bottom_margin: auto color_scheme: supersetColors columns: [] contribution: true datasource: 21__table - granularity_sqla: Year + granularity_sqla: year groupby: - - Name + - name label_colors: {} metrics: - aggregate: SUM column: - column_name: NA_Sales + column_name: na_sales description: null expression: null filterable: true @@ -59,7 +59,7 @@ params: sqlExpression: null - aggregate: SUM column: - column_name: EU_Sales + column_name: eu_sales description: null expression: null filterable: true @@ -78,7 +78,7 @@ params: sqlExpression: null - aggregate: SUM column: - column_name: JP_Sales + column_name: jp_sales description: null expression: null filterable: true @@ -97,7 +97,7 @@ params: sqlExpression: null - aggregate: SUM column: - column_name: Other_Sales + column_name: other_sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Total_Items_Sold.yaml b/superset/examples/configs/charts/Total_Items_Sold.yaml index 63bd19a07afc..d02a702c7f68 100644 --- a/superset/examples/configs/charts/Total_Items_Sold.yaml +++ b/superset/examples/configs/charts/Total_Items_Sold.yaml @@ -19,12 +19,12 @@ viz_type: big_number_total params: adhoc_filters: [] datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date header_font_size: 0.4 metric: aggregate: SUM column: - column_name: QuantityOrdered + column_name: quantity_ordered description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Total_Items_Sold_By_Product_Line.yaml b/superset/examples/configs/charts/Total_Items_Sold_By_Product_Line.yaml index 3a4dec63f038..4aae85019de6 100644 --- a/superset/examples/configs/charts/Total_Items_Sold_By_Product_Line.yaml +++ b/superset/examples/configs/charts/Total_Items_Sold_By_Product_Line.yaml @@ -21,13 +21,13 @@ params: all_columns: [] color_pn: true datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date groupby: - - ProductLine + - product_line metrics: - aggregate: SUM column: - column_name: QuantityOrdered + column_name: quantity_ordered description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Total_Revenue.yaml b/superset/examples/configs/charts/Total_Revenue.yaml index c1e5de25630f..a1ae36a49ddc 100644 --- a/superset/examples/configs/charts/Total_Revenue.yaml +++ b/superset/examples/configs/charts/Total_Revenue.yaml @@ -19,12 +19,12 @@ viz_type: big_number_total params: adhoc_filters: [] datasource: 23__table - granularity_sqla: OrderDate + granularity_sqla: order_date header_font_size: 0.4 metric: aggregate: SUM column: - column_name: Sales + column_name: sales description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Total_Sales_per_Market_Grouped_by_Genre.yaml b/superset/examples/configs/charts/Total_Sales_per_Market_Grouped_by_Genre.yaml index db4580cc88c9..366c839f7fde 100644 --- a/superset/examples/configs/charts/Total_Sales_per_Market_Grouped_by_Genre.yaml +++ b/superset/examples/configs/charts/Total_Sales_per_Market_Grouped_by_Genre.yaml @@ -24,9 +24,9 @@ params: columns: [] contribution: false datasource: 21__table - granularity_sqla: Year + granularity_sqla: year groupby: - - Genre + - genre label_colors: '0': '#1FA8C9' '1': '#454E7C' @@ -83,7 +83,7 @@ params: metrics: - aggregate: SUM column: - column_name: NA_Sales + column_name: na_sales description: null expression: null filterable: true @@ -102,7 +102,7 @@ params: sqlExpression: null - aggregate: SUM column: - column_name: EU_Sales + column_name: eu_sales description: null expression: null filterable: true @@ -121,7 +121,7 @@ params: sqlExpression: null - aggregate: SUM column: - column_name: JP_Sales + column_name: jp_sales description: null expression: null filterable: true @@ -140,7 +140,7 @@ params: sqlExpression: null - aggregate: SUM column: - column_name: Other_Sales + column_name: other_sales description: null expression: null filterable: true @@ -172,7 +172,7 @@ params: - inclusive - exclusive url_params: - preselect_filters: '{"1389": {"Platform": ["PS", "PS2", "PS3", "PS4"], "Genre": + preselect_filters: '{"1389": {"platform": ["PS", "PS2", "PS3", "PS4"], "genre": null, "__time_range": "No filter"}}' viz_type: dist_bar x_axis_label: Genre diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Approach__Stage.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Approach__Stage.yaml index 1e505f924cff..330863bbacc8 100644 --- a/superset/examples/configs/charts/Vaccine_Candidates_per_Approach__Stage.yaml +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Approach__Stage.yaml @@ -18,8 +18,8 @@ slice_name: Vaccine Candidates per Approach & Stage viz_type: heatmap params: adhoc_filters: [] - all_columns_x: Clinical Stage - all_columns_y: Product_Category + all_columns_x: clinical_stage + all_columns_y: product_category bottom_margin: auto canvas_image_rendering: pixelated datasource: 69__table diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Country.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Country.yaml index 0bcd3ae4c2ca..bef6ec30555f 100644 --- a/superset/examples/configs/charts/Vaccine_Candidates_per_Country.yaml +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Country.yaml @@ -21,7 +21,7 @@ params: color_scheme: presetColors datasource: 69__table groupby: - - Country_Name + - country_name label_colors: {} metrics: - count diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Country_261.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Country_261.yaml index 20afb8988d39..1218cbb9ec7a 100644 --- a/superset/examples/configs/charts/Vaccine_Candidates_per_Country_261.yaml +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Country_261.yaml @@ -25,7 +25,7 @@ params: r: 0 country_fieldtype: name datasource: 14__table - entity: Country_Name + entity: country_name linear_color_scheme: schemeYlOrBr max_bubble_size: '25' metric: count @@ -33,7 +33,7 @@ params: secondary_metric: aggregate: COUNT column: - column_name: Country_Name + column_name: country_name description: null expression: null filterable: true diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage.yaml index 864363417555..88b9d1759f03 100644 --- a/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage.yaml +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage.yaml @@ -21,8 +21,8 @@ params: color_scheme: supersetColors datasource: 69__table groupby: - - Product_Category - - Clinical Stage + - product_category + - clinical_stage linear_color_scheme: schemeYlOrBr metric: count queryFields: diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage_749.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage_749.yaml index f6305d0fd97f..8fba30fb7048 100644 --- a/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage_749.yaml +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Country__Stage_749.yaml @@ -18,8 +18,8 @@ slice_name: Vaccine Candidates per Country & Stage viz_type: heatmap params: adhoc_filters: [] - all_columns_x: Clinical Stage - all_columns_y: Country_Name + all_columns_x: clinical_stage + all_columns_y: country_name bottom_margin: auto canvas_image_rendering: pixelated datasource: 14__table diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Phase.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Phase.yaml index 0fb0509d7447..180f0b44bc4f 100644 --- a/superset/examples/configs/charts/Vaccine_Candidates_per_Phase.yaml +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Phase.yaml @@ -22,7 +22,7 @@ params: datasource: 69__table donut: true groupby: - - Clinical Stage + - clinical_stage innerRadius: 44 label_line: true labels_outside: true diff --git a/superset/examples/configs/charts/Vaccine_Candidates_per_Phase_587.yaml b/superset/examples/configs/charts/Vaccine_Candidates_per_Phase_587.yaml index 03f9244ec2aa..fc0d624a518c 100644 --- a/superset/examples/configs/charts/Vaccine_Candidates_per_Phase_587.yaml +++ b/superset/examples/configs/charts/Vaccine_Candidates_per_Phase_587.yaml @@ -23,7 +23,7 @@ params: columns: [] datasource: 14__table groupby: - - Clinical Stage + - clinical_stage label_colors: {} metrics: - count diff --git a/superset/examples/configs/charts/Vehicle_Sales_Filter.yaml b/superset/examples/configs/charts/Vehicle_Sales_Filter.yaml index a43a7a883afe..4950dc7d0c73 100644 --- a/superset/examples/configs/charts/Vehicle_Sales_Filter.yaml +++ b/superset/examples/configs/charts/Vehicle_Sales_Filter.yaml @@ -23,17 +23,19 @@ params: filter_configs: - asc: true clearable: true - column: ProductLine + column: product_line key: 7oUjq15eQ + label: Product Line multiple: true searchAllOptions: false - asc: true clearable: true - column: DealSize + column: deal_size key: c3hO6Eub8 + label: Deal Size multiple: true searchAllOptions: false - granularity_sqla: OrderDate + granularity_sqla: order_date queryFields: {} slice_id: 671 time_range: '2003-01-01T00:00:00 : 2005-06-01T00:00:00' diff --git a/superset/examples/configs/charts/Video_Game_Sales_Filter.yaml b/superset/examples/configs/charts/Video_Game_Sales_Filter.yaml index 0e83693c382c..a7f7f4d4310d 100644 --- a/superset/examples/configs/charts/Video_Game_Sales_Filter.yaml +++ b/superset/examples/configs/charts/Video_Game_Sales_Filter.yaml @@ -23,20 +23,23 @@ params: filter_configs: - asc: true clearable: true - column: Platform + column: platform key: s3ItH9vhG + label: Platform multiple: true searchAllOptions: false - asc: true clearable: true - column: Genre + column: genre key: 202hDeMsG + label: Genre multiple: true searchAllOptions: false - asc: true clearable: true - column: Publisher + column: publisher key: 5Os6jsJFK + label: Publisher multiple: true searchAllOptions: false granularity_sqla: Year @@ -46,7 +49,7 @@ params: - inclusive - exclusive url_params: - preselect_filters: '{"1389": {"Platform": ["PS", "PS2", "PS3", "PS4"], "Genre": + preselect_filters: '{"1389": {"platform": ["PS", "PS2", "PS3", "PS4"], "genre": null, "__time_range": "No filter"}}' viz_type: filter_box cache_timeout: null diff --git a/superset/examples/configs/charts/Work_Location_Preference.yaml b/superset/examples/configs/charts/Work_Location_Preference.yaml index bab902f58c8c..bbf08911fb73 100644 --- a/superset/examples/configs/charts/Work_Location_Preference.yaml +++ b/superset/examples/configs/charts/Work_Location_Preference.yaml @@ -32,7 +32,7 @@ params: donut: true granularity_sqla: time_start groupby: - - Job Location Preference + - job_location_preference innerRadius: 44 labels_outside: true metric: count diff --git a/superset/examples/configs/datasets/examples/FCC_2018_Survey.yaml b/superset/examples/configs/datasets/examples/FCC_2018_Survey.yaml index 788e9254a8e1..81505cc2ddce 100644 --- a/superset/examples/configs/datasets/examples/FCC_2018_Survey.yaml +++ b/superset/examples/configs/datasets/examples/FCC_2018_Survey.yaml @@ -38,7 +38,7 @@ metrics: extra: null warning_text: null columns: -- column_name: Highest Degree Earned +- column_name: highest_degree_earned verbose_name: Highest Degree Earned is_dttm: false is_active: null @@ -60,8 +60,8 @@ columns: \ MD, JD, etc.)\"\nEND" description: Highest Degree Earned python_date_format: null -- column_name: Job Location Preference - verbose_name: null +- column_name: job_location_preference + verbose_name: Job Location Preference is_dttm: false is_active: null type: null @@ -73,7 +73,7 @@ columns: \ 'In an Office (with Other Developers)'\nelse job_lctn_pref\nend " description: null python_date_format: null -- column_name: Ethnic Minority +- column_name: ethnic_minority verbose_name: Ethnic Minority is_dttm: null is_active: null @@ -85,7 +85,7 @@ columns: END" description: null python_date_format: null -- column_name: Willing To Relocate +- column_name: willing_to_relocate verbose_name: Willing To Relocate is_dttm: false is_active: null @@ -96,7 +96,7 @@ columns: \ = 1 THEN 'Yes: Willing To'\nELSE 'No Answer'\nEND" description: null python_date_format: null -- column_name: Developer Type +- column_name: developer_type verbose_name: Developer Type is_dttm: false is_active: null @@ -107,8 +107,8 @@ columns: = 1 THEN 'Currently A Developer' END description: null python_date_format: null -- column_name: First Time Developer - verbose_name: null +- column_name: first_time_developer + verbose_name: First Time Developer is_dttm: false is_active: null type: null @@ -118,7 +118,7 @@ columns: \ = 1 THEN 'Yes' \nELSE 'No Answer'\nEND" description: null python_date_format: null -- column_name: Gender +- column_name: gender verbose_name: null is_dttm: null is_active: null diff --git a/superset/examples/configs/datasets/examples/cleaned_sales_data.yaml b/superset/examples/configs/datasets/examples/cleaned_sales_data.yaml index 9138a550fee5..4af19bc90b1e 100644 --- a/superset/examples/configs/datasets/examples/cleaned_sales_data.yaml +++ b/superset/examples/configs/datasets/examples/cleaned_sales_data.yaml @@ -38,7 +38,7 @@ metrics: extra: null warning_text: null columns: -- column_name: OrderDate +- column_name: order_date verbose_name: null is_dttm: true is_active: true @@ -48,7 +48,7 @@ columns: expression: null description: null python_date_format: null -- column_name: PriceEach +- column_name: price_each verbose_name: null is_dttm: false is_active: true @@ -58,7 +58,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Sales +- column_name: sales verbose_name: null is_dttm: false is_active: true @@ -68,7 +68,7 @@ columns: expression: null description: null python_date_format: null -- column_name: AddressLine1 +- column_name: address_line1 verbose_name: null is_dttm: false is_active: true @@ -78,7 +78,7 @@ columns: expression: null description: null python_date_format: null -- column_name: AddressLine2 +- column_name: address_line2 verbose_name: null is_dttm: false is_active: true @@ -88,7 +88,7 @@ columns: expression: null description: null python_date_format: null -- column_name: ContactLastName +- column_name: contact_last_name verbose_name: null is_dttm: false is_active: true @@ -98,7 +98,7 @@ columns: expression: null description: null python_date_format: null -- column_name: ContactFirstName +- column_name: contact_first_name verbose_name: null is_dttm: false is_active: true @@ -108,7 +108,7 @@ columns: expression: null description: null python_date_format: null -- column_name: QuantityOrdered +- column_name: quantity_ordered verbose_name: null is_dttm: false is_active: true @@ -118,7 +118,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Year +- column_name: year verbose_name: null is_dttm: false is_active: true @@ -128,7 +128,7 @@ columns: expression: null description: null python_date_format: null -- column_name: PostalCode +- column_name: postal_code verbose_name: null is_dttm: false is_active: true @@ -138,7 +138,7 @@ columns: expression: null description: null python_date_format: null -- column_name: CustomerName +- column_name: customer_name verbose_name: null is_dttm: false is_active: true @@ -148,7 +148,7 @@ columns: expression: null description: null python_date_format: null -- column_name: DealSize +- column_name: deal_size verbose_name: null is_dttm: false is_active: true @@ -158,7 +158,7 @@ columns: expression: null description: null python_date_format: null -- column_name: State +- column_name: state verbose_name: null is_dttm: false is_active: true @@ -168,7 +168,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Status +- column_name: status verbose_name: null is_dttm: false is_active: true @@ -178,7 +178,7 @@ columns: expression: null description: null python_date_format: null -- column_name: OrderLineNumber +- column_name: order_line_number verbose_name: null is_dttm: false is_active: true @@ -188,7 +188,7 @@ columns: expression: null description: null python_date_format: null -- column_name: OrderNumber +- column_name: order_number verbose_name: null is_dttm: false is_active: true @@ -198,7 +198,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Month +- column_name: month verbose_name: null is_dttm: false is_active: true @@ -208,7 +208,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Quarter +- column_name: quarter verbose_name: null is_dttm: false is_active: true @@ -218,7 +218,7 @@ columns: expression: null description: null python_date_format: null -- column_name: MSRP +- column_name: msrp verbose_name: null is_dttm: false is_active: true @@ -228,7 +228,7 @@ columns: expression: null description: null python_date_format: null -- column_name: ProductCode +- column_name: product_code verbose_name: null is_dttm: false is_active: true @@ -238,7 +238,7 @@ columns: expression: null description: null python_date_format: null -- column_name: ProductLine +- column_name: product_line verbose_name: null is_dttm: false is_active: true @@ -248,7 +248,7 @@ columns: expression: null description: null python_date_format: null -- column_name: City +- column_name: city verbose_name: null is_dttm: false is_active: true @@ -258,7 +258,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Country +- column_name: country verbose_name: null is_dttm: false is_active: true @@ -268,7 +268,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Phone +- column_name: phone verbose_name: null is_dttm: false is_active: true @@ -278,7 +278,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Territory +- column_name: territory verbose_name: null is_dttm: false is_active: true @@ -290,4 +290,4 @@ columns: python_date_format: null version: 1.0.0 database_uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee -data: https://raw.githubusercontent.com/apache-superset/examples-data/master/datasets/examples/sales.csv +data: https://raw.githubusercontent.com/apache-superset/examples-data/lowercase_columns_examples/datasets/examples/sales.csv diff --git a/superset/examples/configs/datasets/examples/covid_vaccines.yaml b/superset/examples/configs/datasets/examples/covid_vaccines.yaml index 954b15979f75..992d4d962e6c 100644 --- a/superset/examples/configs/datasets/examples/covid_vaccines.yaml +++ b/superset/examples/configs/datasets/examples/covid_vaccines.yaml @@ -38,21 +38,21 @@ metrics: extra: null warning_text: null columns: -- column_name: Clinical Stage +- column_name: clinical_stage verbose_name: null is_dttm: null is_active: null type: STRING groupby: true filterable: true - expression: "CASE \nWHEN Stage_of_Development = 'Pre-clinical' THEN '0. Pre-clinical'\n\ - WHEN Stage_of_Development = 'Phase I' THEN '1. Phase I' \nWHEN Stage_of_Development\ - \ = 'Phase I/II' or Stage_of_Development = 'Phase II' THEN '2. Phase II or\ - \ Combined I/II'\nWHEN Stage_of_Development = 'Phase III' THEN '3. Phase III'\n\ - WHEN Stage_of_Development = 'Authorized' THEN '4. Authorized'\nEND" + expression: "CASE \nWHEN stage_of_development = 'Pre-clinical' THEN '0. Pre-clinical'\n\ + WHEN stage_of_development = 'Phase I' THEN '1. Phase I' \nWHEN stage_of_development\ + \ = 'Phase I/II' or stage_of_development = 'Phase II' THEN '2. Phase II or\ + \ Combined I/II'\nWHEN stage_of_development = 'Phase III' THEN '3. Phase III'\n\ + WHEN stage_of_development = 'Authorized' THEN '4. Authorized'\nEND" description: null python_date_format: null -- column_name: FDA_Approved_Indications +- column_name: fda_approved_indications verbose_name: null is_dttm: false is_active: null @@ -62,7 +62,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Anticipated_Next_Steps +- column_name: anticipated_next_steps verbose_name: null is_dttm: false is_active: null @@ -72,7 +72,7 @@ columns: expression: null description: null python_date_format: null -- column_name: IOC_Country_Code +- column_name: ioc_country_code verbose_name: null is_dttm: false is_active: null @@ -82,7 +82,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Clinical_Trials_for_Other_Diseases_or_Related_Use +- column_name: clinical_trials_for_other_diseases_or_related_use verbose_name: null is_dttm: false is_active: null @@ -92,7 +92,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Country_Name +- column_name: country_name verbose_name: null is_dttm: false is_active: null @@ -102,7 +102,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Product_Category +- column_name: product_category verbose_name: null is_dttm: false is_active: null @@ -112,7 +112,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Clinical_Trials +- column_name: clinical_trials verbose_name: null is_dttm: false is_active: null @@ -122,7 +122,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Date_Last_Updated +- column_name: date_last_updated verbose_name: null is_dttm: false is_active: null @@ -132,7 +132,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Product_Description +- column_name: product_description verbose_name: null is_dttm: false is_active: null @@ -142,7 +142,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Developer_or_Researcher +- column_name: developer_or_researcher verbose_name: null is_dttm: false is_active: null @@ -152,7 +152,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Stage_of_Development +- column_name: stage_of_development verbose_name: null is_dttm: false is_active: null @@ -162,7 +162,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Funder +- column_name: funder verbose_name: null is_dttm: false is_active: null @@ -172,7 +172,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Published_Results +- column_name: published_results verbose_name: null is_dttm: false is_active: null @@ -182,7 +182,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Sources +- column_name: sources verbose_name: null is_dttm: false is_active: null @@ -192,7 +192,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Treatment_vs_Vaccine +- column_name: treatment_vs_vaccine verbose_name: null is_dttm: false is_active: null @@ -204,4 +204,4 @@ columns: python_date_format: null version: 1.0.0 database_uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee -data: https://raw.githubusercontent.com/apache-superset/examples-data/master/datasets/examples/covid_vaccines.csv +data: https://raw.githubusercontent.com/apache-superset/examples-data/lowercase_columns_examples/datasets/examples/covid_vaccines.csv diff --git a/superset/examples/configs/datasets/examples/video_game_sales.yaml b/superset/examples/configs/datasets/examples/video_game_sales.yaml index b10d841fc371..cf6f05898679 100644 --- a/superset/examples/configs/datasets/examples/video_game_sales.yaml +++ b/superset/examples/configs/datasets/examples/video_game_sales.yaml @@ -41,7 +41,7 @@ metrics: extra: null warning_text: null columns: -- column_name: Year +- column_name: year verbose_name: null is_dttm: true is_active: null @@ -51,7 +51,7 @@ columns: expression: null description: null python_date_format: '%Y' -- column_name: NA_Sales +- column_name: na_sales verbose_name: null is_dttm: false is_active: null @@ -61,7 +61,7 @@ columns: expression: null description: null python_date_format: null -- column_name: EU_Sales +- column_name: eu_sales verbose_name: null is_dttm: false is_active: null @@ -71,7 +71,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Global_Sales +- column_name: global_sales verbose_name: null is_dttm: false is_active: null @@ -81,7 +81,7 @@ columns: expression: null description: null python_date_format: null -- column_name: JP_Sales +- column_name: jp_sales verbose_name: null is_dttm: false is_active: null @@ -91,7 +91,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Other_Sales +- column_name: other_sales verbose_name: null is_dttm: false is_active: null @@ -101,7 +101,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Rank +- column_name: rank verbose_name: null is_dttm: false is_active: null @@ -111,7 +111,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Genre +- column_name: genre verbose_name: null is_dttm: false is_active: null @@ -121,7 +121,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Name +- column_name: name verbose_name: null is_dttm: false is_active: null @@ -131,7 +131,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Platform +- column_name: platform verbose_name: null is_dttm: false is_active: null @@ -141,7 +141,7 @@ columns: expression: null description: null python_date_format: null -- column_name: Publisher +- column_name: publisher verbose_name: null is_dttm: false is_active: null @@ -153,4 +153,4 @@ columns: python_date_format: null version: 1.0.0 database_uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee -data: https://github.com/apache-superset/examples-data/raw/master/datasets/examples/video_game_sales.csv +data: https://github.com/apache-superset/examples-data/raw/lowercase_columns_examples/datasets/examples/video_game_sales.csv