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

Deeply nested package structure #101

Open
MrPowers opened this issue Jun 9, 2019 · 1 comment
Open

Deeply nested package structure #101

MrPowers opened this issue Jun 9, 2019 · 1 comment

Comments

@MrPowers
Copy link
Collaborator

MrPowers commented Jun 9, 2019

spark-daria follows the standard Scala / Java deep nesting package convention that's annoying when importing code.

Users currently need to import code like this: import com.github.mrpowers.spark.daria.sql.ColumnExt._

I noticed that some libraries are deviating from these Scala conventions and offering imports like this: import utest._.

Maybe we can change the package structure so users can import code like import mrpowers.daria.sql.ColumnExt._? Thoughts @nvander1 / @manuzhang...?

@manuzhang
Copy link
Collaborator

Yes, the package name is too long although I don't have a good idea for a shorter one. Maybe daria._ is enough ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants