You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll mark this as bug for now. We are currently replacing the current macro implementation with a cleaner one using Scala meta. So hopefully this bug should vanish soon.
Thanks @tabdulradi! What about the .map(_ => true) is breaking it? It's not the permanent solution for me, so what to avoid when shifting will help avoid the problem until the meta stuff is available.
In general avoid writing arbitrary code inside withSchema block. We only tested for specific cases, like setConsistencyLevel, the current Tree transformation code is not robust.
For the specific case of .map with a lambda, even if the transformation got fixed, still won't work due to a bug in Macros.
You can have a peek on the new scala.meta based implementation here
Making some basic calls, I'm getting exceptions when I compile:
Here's my schema:
Here's my calling code that's "breaking"
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: