Skip to content

Commit 89ad3db

Browse files
committed
Addresses @rxin's comments
1 parent 7eb6955 commit 89ad3db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/sql-programming-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -914,22 +914,22 @@ table, data are usually stored in different directories, with partitioning colum
914914
the path of each partition directory. The Parquet data source is now able to discover and infer
915915
partitioning information automatically. For exmaple, we can store all our previously used
916916
population data into a partitioned table using the following directory structure, with two extra
917-
columns, `sex` and `country` as partitioning columns:
917+
columns, `gender` and `country` as partitioning columns:
918918

919919
{% highlight text %}
920920

921921
path
922922
└── to
923923
└── table
924-
├── sex=0
924+
├── gender=male
925925
│   ├── ...
926926
│   │
927927
│   ├── country=US
928928
│   │   └── data.parquet
929929
│   ├── country=CN
930930
│   │   └── data.parquet
931931
│   └── ...
932-
└── sex=1
932+
└── gender=female
933933
   ├── ...
934934
   │
935935
   ├── country=US
@@ -949,7 +949,7 @@ DataFrame becomes:
949949
root
950950
|-- name: string (nullable = true)
951951
|-- age: long (nullable = true)
952-
|-- sex: string (nullable = true)
952+
|-- gender: string (nullable = true)
953953
|-- country: string (nullable = true)
954954

955955
{% endhighlight %}

0 commit comments

Comments
 (0)