Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Fix format of Hive #11892

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:

pvary marked this conversation as resolved.
Show resolved Hide resolved
* 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just a removal?

Copy link
Contributor Author

@ebyhr ebyhr Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I removed this comment because the following SQL example contains the same comment.

* Using the `OPTIMIZE TABLE ... REWRITE DATA` syntax
```sql
-- Using the ALTER TABLE ... COMPACT syntax
ALTER TABLE t COMPACT 'major';
Expand Down