mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-28 08:49:38 +02:00
Initial open-source release
This commit is contained in:
commit
1a42152e6f
1199 changed files with 257054 additions and 0 deletions
27
python/klo-sl/sources/tpch/customer.yaml
Normal file
27
python/klo-sl/sources/tpch/customer.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: customer
|
||||
table: public.customer
|
||||
grain: [c_custkey]
|
||||
columns:
|
||||
- name: c_custkey
|
||||
type: number
|
||||
- name: c_name
|
||||
type: string
|
||||
- name: c_address
|
||||
type: string
|
||||
- name: c_nationkey
|
||||
type: number
|
||||
- name: c_phone
|
||||
type: string
|
||||
- name: c_acctbal
|
||||
type: number
|
||||
- name: c_mktsegment
|
||||
type: string
|
||||
- name: c_comment
|
||||
type: string
|
||||
joins:
|
||||
- to: nation
|
||||
"on": c_nationkey = nation.n_nationkey
|
||||
relationship: many_to_one
|
||||
measures:
|
||||
- name: customer_count
|
||||
expr: count(c_custkey)
|
||||
Loading…
Add table
Add a link
Reference in a new issue