apache / incubator-xtable

Apache XTable (incubating) is a cross-table converter for lakehouse table formats that facilitates interoperability across data processing systems and query engines.
https://xtable.apache.org/
Apache License 2.0
762 stars 116 forks source link

Optimize the module structure of the xtable #435

Closed daragu closed 1 month ago

daragu commented 1 month ago

Feature Request / Improvement

Optimize the module structure of the xtable

Changes

图片

Are you willing to submit PR?

Code of Conduct

daragu commented 1 month ago

hi @the-other-tim-brown @sagarlakshmipathy @vinishjail97, what do you think?

https://github.com/daragu/incubator-xtable/tree/module

the-other-tim-brown commented 1 month ago

What is the enhancement that comes with this? It feels a bit arbitrary.

daragu commented 1 month ago

What is the enhancement that comes with this? It feels a bit arbitrary.

Hi @the-other-tim-brown, well, I think I& a couple of points.

  1. For mvn projects, add same prefix to sub modules is friendly for developers.


  1. For Xtable project users

From the official docs, user will use utilities/target/utilities-0.1.0-SNAPSHOT-bundled.jar to convert data lake formats

java -jar utilities/target/utilities-0.1.0-SNAPSHOT-bundled.jar --datasetConfig my_config.yaml

The name utilities-0.1.0-SNAPSHOT-bundled.jar does not have recognizability. The new name xtable-utilities-0.1.0-SNAPSHOT-bundled.jar is more recognizable.

the-other-tim-brown commented 1 month ago

@daragu thanks for the references and explanation. The changes sound good to me. The only thing is that the website directory is not maven module. Should that just stay as website for now? It may be moved in the future when we rethink how to manage the docs.

daragu commented 1 month ago

OK, the website directory will stay as website in the pullrequest.