Skip to content

Commit

Permalink
Doc: Fix format of Hive (#11892)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr authored Jan 3, 2025
1 parent ab6365d commit 3b00043
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/docs/hive.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ The result is:
| i | BUCKET\[2\] | NULL

The supported transformations for Hive are the same as for Spark:

* years(ts): partition by year
* months(ts): partition by month
* days(ts) or date(ts): equivalent to dateint partitioning
Expand Down Expand Up @@ -841,8 +842,6 @@ ALTER TABLE ice_t EXECUTE ROLLBACK(1111);
### Compaction

Hive 4 supports full table compaction of Iceberg tables using the following commands:
* Using the `ALTER TABLE ... COMPACT` syntax
* Using the `OPTIMIZE TABLE ... REWRITE DATA` syntax
```sql
-- Using the ALTER TABLE ... COMPACT syntax
ALTER TABLE t COMPACT 'major';
Expand Down

0 comments on commit 3b00043

Please sign in to comment.