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

IntelliJ: Cannot resolve symbol transformations #146

Open
labbedaine opened this issue Jun 10, 2021 · 3 comments
Open

IntelliJ: Cannot resolve symbol transformations #146

labbedaine opened this issue Jun 10, 2021 · 3 comments

Comments

@labbedaine
Copy link

Hi!

I recently upgraded my project to Spark 3 (Scala 2.12.0) and therefore I am now using spark-daria v1.0.0 I am a big fan of the "Optimize Imports" functionality in IntelliJ but since the update it now sees the com.github.mrpowers.spark.daria.sql.transformations.camelCaseToSnakeCaseColumns imports as unused. It's only a problem in the IDE since the code compiles on the command line.

Have you ever experienced something similar?

image

image

Thanks for the support!

@MrPowers
Copy link
Collaborator

@labbedaine - I think you can click the "Reload all SBT projects" refresh button (the symbols is two arrows that form a circle) to get the latest code synced with your IDE. Let me know if that works for you!

@labbedaine
Copy link
Author

labbedaine commented Jun 10, 2021

Hey @MrPowers, thanks for the reply!

I am using Maven and I clicked that Reload button several times already, no luck!! :)

image

I will dig a little bit more.

@labbedaine
Copy link
Author

labbedaine commented Jun 10, 2021

I looked at your unit tests and I see you are using transformations as well (https://github.com/MrPowers/spark-daria/blob/main/src/test/scala/com/github/mrpowers/spark/daria/sql/TransformationsTest.scala), so I changed it to match your style and I now get a different error.

image

Stay tuned! :)

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