-
Notifications
You must be signed in to change notification settings - Fork 138
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
Support java.sql.Date and java.sql.Timestamp so they work just as in plain Spark datasets. #205
Comments
I managed to define a TypedEncoder[java.sql.Date] as:
together with adding to
I can now do:
I should look in doing a PR... |
@ireactsam Interestingly, this only fails on the REPL. If you run it outside the REPL (say in a unit test), everything works. |
…only in the REPL).
Showing that #205 is not a bug in the current code
New to frameless (and shapeless and so on). Why do we need to write out the |
@tejasmanohar Did you see this page? One typical use case would be that your entire application is based around joda-time, so you naturally also want to manipulate them in your Spark tables. |
Given the following snippet:
in plain Dataset you can use:
but in TypedDataset this results in an AnalysisException
The text was updated successfully, but these errors were encountered: