# How would I go about partitioning an Iceberg table on Month and Year From a Single Column

**URL:** <https://www.starburst.io/community/forum/t/how-would-i-go-about-partitioning-an-iceberg-table-on-month-and-year-from-a-single-column/346>\
**Category:** SQL\
**Created:** [July 24, 2023, 4:32pm UTC](https://www.starburst.io/community/forum/t/how-would-i-go-about-partitioning-an-iceberg-table-on-month-and-year-from-a-single-column/346 "2023-07-24T16:32:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ycat](https://www.starburst.io/community/forum/user_avatar/www.starburst.io/ycat/32/143_2.png) [@ycat](https://www.starburst.io/community/forum/u/ycat)\
**Post date:** [July 24, 2023, 4:32pm UTC](https://www.starburst.io/community/forum/t/how-would-i-go-about-partitioning-an-iceberg-table-on-month-and-year-from-a-single-column/346/1 "2023-07-24T16:32:04Z")

</div>

Is this possible within Starburst Galaxy?

---

<div class="post-metadata">

**Author:** ![ycat](https://www.starburst.io/community/forum/user_avatar/www.starburst.io/ycat/32/143_2.png) [@ycat](https://www.starburst.io/community/forum/u/ycat)\
**Post date:** [July 24, 2023, 4:33pm UTC](https://www.starburst.io/community/forum/t/how-would-i-go-about-partitioning-an-iceberg-table-on-month-and-year-from-a-single-column/346/2 "2023-07-24T16:33:27Z")

</div>

Provided you are trying to partition on a column of type date, you would just specify the “month” in the partitioning field instead of having to specify both the “month” and “year”.

```auto
 partitioning = ARRAY['month(cc_open_date)']

```

This will result in the following partitions being generated within the object storage bucket:

 ![image](https://www.starburst.io/community/forum/uploads/default/original/1X/f01218bbfeee70122b90d3bc0e6f6b2b2f33802f.png)

---

<div class="post-metadata">

**Author:** ![simpligility](https://www.starburst.io/community/forum/user_avatar/www.starburst.io/simpligility/32/190_2.png) [@simpligility](https://www.starburst.io/community/forum/u/simpligility)\
**Post date:** [July 24, 2023, 4:55pm UTC](https://www.starburst.io/community/forum/t/how-would-i-go-about-partitioning-an-iceberg-table-on-month-and-year-from-a-single-column/346/3 "2023-07-24T16:55:40Z")

</div>

Yes, partitioning your table with Starburst Galaxy is support. Further details can be found in the [Great Lakes connectivity documentation](https://docs.starburst.io/starburst-galaxy/sql/great-lakes.html) and the format specific pages like the [Iceberg table format page](https://docs.starburst.io/starburst-galaxy/sql/gl-iceberg.html).
