Skip to content

Commit b09e857

Browse files
authored
Merge pull request #52 from gabledata/pyspark_cicd_contract
Publish PySpark contract
2 parents 047630a + 588f4c3 commit b09e857

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
id: dbc5b4b8-3e0f-4b8a-94d0-601a7033d16c
2+
dataAssetResourceName: pyspark://git@github.com:gabledata/tutorial:/home/runner/work/tutorial/tutorial/pyspark:job.py:pnw_bookings_30_days
3+
doc: "Bookings in the Pacific Northwest over the last 30 days."
4+
name: pnw_bookings_30_days
5+
namespace: "bookings"
6+
owner: "engineers@gable.ai"
7+
schema:
8+
- name: booking_date
9+
type: string
10+
logical: org.iso.8601.DateTime
11+
doc: "Date of the booking"
12+
- name: commission_rate
13+
type: float
14+
bits: 64
15+
doc: "Commission rate for the booking"
16+
- name: payment_type
17+
type: string
18+
doc: "Payment type for the booking"
19+
- name: reward_id
20+
type: int
21+
bits: 64
22+
doc: "Reward ID for the booking"
23+
- name: city_id
24+
type: string
25+
doc: "City ID for the booking"
26+
- name: city_name
27+
type: string
28+
doc: "City name for the booking"
29+
- name: city_code
30+
type: string
31+
doc: "City code for the booking"
32+
- name: country_id
33+
type: string
34+
doc: "Country ID for the booking"
35+
- name: region
36+
type: string
37+
doc: "Region for the booking"
38+
- name: created_at
39+
type: string
40+
logical: org.iso.8601.DateTime
41+
doc: "Creation date of the booking in our system"
42+
- name: enable_tip
43+
type: bool
44+
doc: "Whether tip is enabled for the booking"

0 commit comments

Comments
 (0)