https://github.com/apache/spark
Revision dea607fc6040fc9f252632b6c73d5948ada02a98 authored by Hyukjin Kwon on 06 April 2022, 08:26:17 UTC, committed by Hyukjin Kwon on 06 April 2022, 08:26:56 UTC
### What changes were proposed in this pull request? This PR proposes two minor changes: - Fixes the example at `Dataset.observe(String, ...)` - Adds `varargs` to be consistent with another overloaded version: `Dataset.observe(Observation, ..)` ### Why are the changes needed? To provide a correct example, support Java APIs properly with `varargs` and API consistency. ### Does this PR introduce _any_ user-facing change? Yes, the example is fixed in the documentation. Additionally Java users should be able to use `Dataset.observe(String, ..)` per `varargs`. ### How was this patch tested? Manually tested. CI should verify the changes too. Closes #36084 from HyukjinKwon/minor-docs. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org> (cherry picked from commit fb3f380b3834ca24947a82cb8d87efeae6487664) Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent 1a7b3a4
Tip revision: dea607fc6040fc9f252632b6c73d5948ada02a98 authored by Hyukjin Kwon on 06 April 2022, 08:26:17 UTC
[MINOR][SQL][SS][DOCS] Add varargs to Dataset.observe(String, ..) with a documentation fix
[MINOR][SQL][SS][DOCS] Add varargs to Dataset.observe(String, ..) with a documentation fix
Tip revision: dea607f
File | Mode | Size |
---|---|---|
benchmarks | ||
src | ||
pom.xml | -rw-r--r-- | 20.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...