-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add rf_local_is_in function #388
Conversation
Signed-off-by: Jason T. Brown <jason@astraea.earth>
checkDocs("rf_local_is_in") | ||
|
||
// tile is 3 by 3 with values, 1 to 9 | ||
val df = Seq((byteArrayTile, lit(1), lit(5), lit(10))).toDF("t", "one", "five", "ten") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vpipkt Change Seq((byteArrayTile, lit(1), lit(5), lit(10)))
to Seq((byteArrayTile, 1, 5, 10))
and the java.lang.UnsupportedOperationException: No Encoder found for org.apache.spark.sql.Column
error should go away. You only want to use lit
after the Dataframe is created.
examples = """ | ||
Examples: | ||
> SELECT _FUNC_(tile, array); | ||
...""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a case where I'd be helped by an example... I'm pretty sure I understand the use case/behavior now, but, but it took a bit of brow furrowing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course reference.md
too, when you get the implementation done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And release-notes.md
Signed-off-by: Jason T. Brown <jason@astraea.earth>
Signed-off-by: Jason T. Brown <jason@astraea.earth>
…l_is_in Signed-off-by: Jason T. Brown <jason@astraea.earth>
Signed-off-by: Jason T. Brown <jason@astraea.earth>
Local docs build was successful. |
Signed-off-by: Jason T. Brown <jason@astraea.earth>
See #400 which triggers circle CI docs build so we can see the final docs. |
To dos: