Skip to content

Commit

Permalink
[DOCS] add releases page and modify README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vinishjail97 committed Aug 22, 2024
1 parent 3bd1ff5 commit 7f95b12
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 0 deletions.
26 changes: 26 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,27 @@ npm run serve
> [!NOTE]
> If you make changes to the contents inside `docs` directory, you can verify the changes locally by visiting https://localhost:3000/docs/setup after running `npm run serve`.
## Creating new pages with navbar access
1. Create a new folder i.e. `releases` inside the `website` directory
2. Create a new file i.e. `downloads.mdx` inside the `releases` directory
3. Add necessary content to the markdown file
4. Include the reference to the new folder in the `docusaurus.config.js` file as follows:
* Add the new folder to the `plugins` array under `config` key, like
```javascript
[
'@docusaurus/plugin-content-docs',
{
id: 'releases',
path: 'releases',
routeBasePath: 'releases',
},
]
```
* Add the new folder to the `items` array under `navbar` key, like
```javascript
{to: 'releases/downloads', label: 'Downloads', position: 'left'}
```

## Docs
### Creating new docs
1. Place the new file into the `docs` folder.
Expand All @@ -79,6 +100,11 @@ npm run serve
> [!NOTE]
> You may see broken thumbnails for the blogs during `npm start` or `npm serve` because the images needs to be rendered from the main repo. This can only be tested after being merged to the main branch.
## Releases
### Adding new release
1. Create a `.mdx` file similar to `website/releases/release-0.1.0-incubating.mdx`
2. Update the [downloads](releases/downloads.mdx) file to include the new release similar to the existing releases


## Maintainers
[Apache XTable™ (Incubating) Community](https://incubator.apache.org/projects/xtable.html)
13 changes: 13 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ const config = {
locales: ['en'],
},

// add new pages here
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'releases',
path: 'releases',
routeBasePath: 'releases',
},
],
],

presets: [
[
'classic',
Expand Down Expand Up @@ -65,6 +77,7 @@ const config = {
position: 'right',
},
{to: 'blog', label: 'Blogs', position: 'left'},
{to: 'releases/downloads', label: 'Downloads', position: 'left'},
],
},
prism: {
Expand Down
9 changes: 9 additions & 0 deletions website/releases/downloads.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Downloads
sidebar_position: 1
---

### Release 0.1.0-incubating
* Source Release: [Apache XTable 0.1.0-incubating Source Release](https://dist.apache.org/repos/dist/release/incubator/xtable/0.1.0-incubating/apache-xtable-0.1.0-incubating.src.tgz) ([asc](https://dist.apache.org/repos/dist/release/incubator/xtable/0.1.0-incubating/apache-xtable-0.1.0-incubating.src.tgz.asc), [sha512](https://dist.apache.org/repos/dist/release/incubator/xtable/0.1.0-incubating/apache-xtable-0.1.0-incubating.src.tgz.sha512))
* Release Notes: [Release Notes 0.1.0-incubating](release-0.1.0-incubating.mdx)
* Maven Search: [Apache XTable 0.1.0-incubating](https://central.sonatype.com/search?q=g:org.apache.xtable%20v:0.1.0-incubating&smo=true)
33 changes: 33 additions & 0 deletions website/releases/release-0.1.0-incubating.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "Release 0.1.0-incubating"
sidebar_position: 1
---

## [Release 0.1.0-incubating](https://github.com/apache/incubator-xtable/releases/tag/0.1.0-incubating) ([docs](https://xtable.apache.org/docs/how-to))
This is the first official Apache release for Apache XTable (Incubating), an incubating project under the Apache Software Foundation.
Apache XTable™ (Incubating) facilitates omni-directional interoperability across data processing systems and query engines by allowing users to convert between open table formats without the need to rewrite any data files.
Currently, Apache XTable™ (Incubating) supports the open-source table formats for Apache Hudi, Apache Iceberg, and Delta Lake.

## Features
Apache XTable™ (Incubating) provides users with the ability to translate metadata from one table format to another.

Apache XTable™ (Incubating) provides two sync modes, "incremental" and "full." The incremental mode is more lightweight and has better performance, especially on large tables. If there is anything that prevents the incremental mode from working properly, the tool will fall back to the full sync mode.

This sync provides users with the following:

1. Syncing of data files along with their column level statistics and partition metadata
2. Schema updates in the source are reflected in the target table metadata
3. Metadata maintenance for the target table formats.
* For Hudi, unreferenced files will be marked as [cleaned](https://hudi.apache.org/docs/hoodie_cleaner/) to control the size of the metadata table.
* For Iceberg, snapshots will be [expired](https://iceberg.apache.org/docs/latest/maintenance/#expire-snapshots) after a configured amount of time.
* For Delta, the transaction log will be [retained](https://docs.databricks.com/en/sql/language-manual/delta-vacuum.html) for a configured amount of time.


## Improvements
1. Added apache release guide and infra components to be compliant with ASF release process.
2. Fix bugs related to dependency conflicts, few edge cases related to column stats etc.
3. Improved README, docker demo and website docs based on feedback provided by users.
4. Refactored the codebase to follow apache naming practices.

## GH Release Notes
https://github.com/apache/incubator-xtable/releases/tag/0.1.0-incubating

0 comments on commit 7f95b12

Please sign in to comment.