swap set description col (#232)

* swap set description col

* cast str
This commit is contained in:
Jack Forgash 2023-11-20 16:39:47 -07:00 committed by GitHub
parent c82c04ad5d
commit b33dc89a39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 3 deletions

View File

@ -0,0 +1,5 @@
{% docs set_description %}
Description for a set.
{% enddocs %}

View File

@ -15,6 +15,7 @@ SELECT
serial_number,
listing_id,
set_name,
set_description,
metadata,
inserted_timestamp,
modified_timestamp

View File

@ -24,8 +24,9 @@ models:
- name: SET_NAME
description: "{{ doc('set_name')}}"
tests:
- not_null
- name: set_description
description: "{{ doc('set_description')}}"
- name: METADATA
description: "{{ doc('metadata')}}"

View File

@ -38,7 +38,8 @@ SELECT
edition AS serial_number,
owner,
listing_id,
set_name,
metadata :SET :: STRING AS set_name,
set_name AS set_description,
metadata,
_inserted_timestamp,
_filename,

View File

@ -29,6 +29,9 @@ models:
- name: SET_NAME
description: "{{ doc('set_name')}}"
- name: SET_DESCRIPTION
description: "{{ doc('set_description')}}"
tests:
- not_null