Skip to content

Commit

Permalink
fix: add missing query context for last_visit dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Sep 20, 2024
1 parent 7fcb1d5 commit a3da2d5
Showing 1 changed file with 151 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ params:
adhoc_filters: []
annotation_layers: []
color_scheme: supersetColors
comparison_type: values
extra_form_data: {}
forecastInterval: 0.8
forecastPeriods: 10
groupby: []
legendOrientation: top
legendType: scroll
Expand Down Expand Up @@ -41,23 +38,18 @@ params:
optionName: metric_orthejcnotd_6ealxq45fqk
sqlExpression: null
only_total: true
order_desc: true
orientation: vertical
rich_tooltip: true
row_limit: 10000
show_empty_columns: true
show_legend: true
sort_series_type: sum
time_grain_sqla: P1D
tooltipTimeFormat: smart_date
truncateXAxis: true
truncate_metric: true
viz_type: echarts_timeseries_bar
xAxisLabelRotation: 45
x_axis: last_visited
x_axis_sort_asc: true
x_axis_sort_series: name
x_axis_sort_series_ascending: true
x_axis_time_format: '%Y-%m-%d'
x_axis_title: Date Visited
x_axis_title_margin: 100
Expand All @@ -67,7 +59,157 @@ params:
y_axis_format: SMART_NUMBER
y_axis_title_margin: 15
y_axis_title_position: Left
query_context: null
query_context:
datasource:
id: 33
type: table
force: false
form_data:
adhoc_filters: []
annotation_layers: []
color_scheme: supersetColors
dashboards:
- 364
datasource: 33__table
extra_form_data: {}
force: false
groupby: []
legendOrientation: top
legendType: scroll
metrics:
- aggregate: COUNT
column:
advanced_data_type: null
certification_details: null
certified_by: null
column_name: actor_id
description: null
expression: null
filterable: true
groupby: true
id: 13538
is_certified: false
is_dttm: false
python_date_format: null
type: String
type_generic: 1
verbose_name: Actor ID
warning_markdown: null
datasourceWarning: false
expressionType: SIMPLE
hasCustomLabel: true
label: Number of Learners
optionName: metric_orthejcnotd_6ealxq45fqk
sqlExpression: null
only_total: true
orientation: vertical
result_format: json
result_type: full
rich_tooltip: true
row_limit: 10000
show_empty_columns: true
show_legend: true
slice_id: 52
sort_series_type: sum
tooltipTimeFormat: smart_date
truncateXAxis: true
truncate_metric: true
viz_type: echarts_timeseries_bar
xAxisLabelRotation: 45
x_axis: last_visited
x_axis_time_format: '%Y-%m-%d'
x_axis_title: Date Visited
x_axis_title_margin: 100
y_axis_bounds:
- null
- null
y_axis_format: SMART_NUMBER
y_axis_title_margin: 15
y_axis_title_position: Left
queries:
- annotation_layers: []
applied_time_extras: {}
columns:
- columnType: BASE_AXIS
expressionType: SQL
label: last_visited
sqlExpression: last_visited
custom_form_data: {}
custom_params: {}
extras:
having: ''
where: ''
filters: []
metrics:
- aggregate: COUNT
column:
advanced_data_type: null
certification_details: null
certified_by: null
column_name: actor_id
description: null
expression: null
filterable: true
groupby: true
id: 13538
is_certified: false
is_dttm: false
python_date_format: null
type: String
type_generic: 1
verbose_name: Actor ID
warning_markdown: null
datasourceWarning: false
expressionType: SIMPLE
hasCustomLabel: true
label: Number of Learners
optionName: metric_orthejcnotd_6ealxq45fqk
sqlExpression: null
order_desc: true
orderby:
- - aggregate: COUNT
column:
advanced_data_type: null
certification_details: null
certified_by: null
column_name: actor_id
description: null
expression: null
filterable: true
groupby: true
id: 13538
is_certified: false
is_dttm: false
python_date_format: null
type: String
type_generic: 1
verbose_name: Actor ID
warning_markdown: null
datasourceWarning: false
expressionType: SIMPLE
hasCustomLabel: true
label: Number of Learners
optionName: metric_orthejcnotd_6ealxq45fqk
sqlExpression: null
- false
post_processing:
- operation: pivot
options:
aggregates:
Number of Learners:
operator: mean
columns: []
drop_missing_columns: false
index:
- last_visited
- operation: flatten
row_limit: 10000
series_columns: []
series_limit: 0
time_offsets: []
url_params: {}
result_format: json
result_type: full
slice_name: Last Visit Date
uuid: 6c2b1008-96c9-426d-b2fe-68aa1de7b10d
version: 1.0.0
Expand Down

0 comments on commit a3da2d5

Please sign in to comment.