Skip to content

Commit 92fb3b3

Browse files
committed
Update PARTITION BY example to Spark syntax
1 parent b5babf6 commit 92fb3b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/sql-programming-guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,8 +640,9 @@ while partitioning can be used with both `save` and `saveAsTable`:
640640

641641
CREATE TABLE users_by_favorite_color(
642642
name STRING,
643+
favorite_color STRING,
643644
favorite_NUMBERS array<integer>
644-
) PARTITIONED BY(favorite_color STRING);
645+
) USING csv PARTITIONED BY(favorite_color);
645646

646647
{% endhighlight %}
647648

0 commit comments

Comments
 (0)