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

LightPipeline annotate method returns unusable object #4

Open
dkincaid opened this issue Oct 25, 2019 · 1 comment
Open

LightPipeline annotate method returns unusable object #4

dkincaid opened this issue Oct 25, 2019 · 1 comment

Comments

@dkincaid
Copy link
Collaborator

dkincaid commented Oct 25, 2019

LightPipeline annotate method is currently returning an R list of spark_jobj objects. Somehow we should be able to convert these into lists themselves.

This is holding up completion of the ner_dl.Rmd example.

@dkincaid
Copy link
Collaborator Author

Feedback from Kevin:

A couple ways I can think of are 1) call mkString() with a separator and reconstruct a vector from it and 2) call .toArray in compiled code. The "better" way is probably adding the appropriate serde in the invoke() mechanism, and we can spend some time thinking about how that would work. In the mean time though I think you can pick one of the hacks and we can always refactor later.

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

1 participant