Skip to content

Commit 487b62e

Browse files
committed
Change ordering of output rows to match spec
1 parent ebbe69f commit 487b62e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/tpch/q03_shipping_priority.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777

7878
df = df.limit(100)
7979

80+
# Change the order that the columns are reported in just to match the spec
81+
82+
df = df.select_columns("l_orderkey", "revenue", "o_orderdate", "o_shippriority")
83+
8084
# Show result
8185

8286
df.show()

0 commit comments

Comments
 (0)