Files
superset2/superset/examples/configs/datasets/examples/messages_channels.yaml
2021-08-12 13:59:44 -07:00

74 lines
1.9 KiB
YAML

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
table_name: messages_channels
main_dttm_col: null
description: null
default_endpoint: null
offset: 0
cache_timeout: null
schema: null
sql: SELECT m.ts, c.name, m.text FROM messages m JOIN channels c ON m.channel_id =
c.id
params: null
template_params: null
filter_select_enabled: true
fetch_values_predicate: null
extra: null
uuid: 6e533506-fce6-4f6a-b116-d139df6dbdea
metrics:
- metric_name: count
verbose_name: null
metric_type: null
expression: count(*)
description: null
d3format: null
extra: null
warning_text: null
columns:
- column_name: ts
verbose_name: null
is_dttm: true
is_active: true
type: DATETIME
groupby: true
filterable: true
expression: null
description: null
python_date_format: null
- column_name: name
verbose_name: null
is_dttm: false
is_active: true
type: VAR_STRING
groupby: true
filterable: true
expression: null
description: null
python_date_format: null
- column_name: text
verbose_name: null
is_dttm: false
is_active: true
type: BLOB
groupby: true
filterable: true
expression: null
description: null
python_date_format: null
version: 1.0.0
database_uuid: a2dc77af-e654-49bb-b321-40f6b559a1ee