spark-instrumented-optimizer/R/pkg
Liang-Chi Hsieh 53561d27c4 [SPARK-23291][SQL][R] R's substr should not reduce starting position by 1 when calling Scala API
## What changes were proposed in this pull request?

Seems R's substr API treats Scala substr API as zero based and so subtracts the given starting position by 1.

Because Scala's substr API also accepts zero-based starting position (treated as the first element), so the current R's substr test results are correct as they all use 1 as starting positions.

## How was this patch tested?

Modified tests.

Author: Liang-Chi Hsieh <viirya@gmail.com>

Closes #20464 from viirya/SPARK-23291.
2018-03-07 09:37:42 -08:00
..
inst [SPARK-22344][SPARKR] Set java.io.tmpdir for SparkR tests 2017-10-29 18:53:47 -07:00
R [SPARK-23291][SQL][R] R's substr should not reduce starting position by 1 when calling Scala API 2018-03-07 09:37:42 -08:00
src-native [SPARK-6811] Copy SparkR lib in make-distribution.sh 2015-05-23 00:04:01 -07:00
tests [SPARK-23291][SQL][R] R's substr should not reduce starting position by 1 when calling Scala API 2018-03-07 09:37:42 -08:00
vignettes [SPARKR][DOC] fix link in vignettes 2018-03-02 09:23:39 -08:00
.lintr [SPARK-22063][R] Fixes lint check failures in R by latest commit sha1 ID of lint-r 2017-10-01 18:42:45 +09:00
.Rbuildignore [SPARK-20877][SPARKR][FOLLOWUP] clean up after test move 2017-06-11 03:00:44 -07:00
DESCRIPTION [SPARK-23028] Bump master branch version to 2.4.0-SNAPSHOT 2018-01-13 00:37:59 +08:00
NAMESPACE [SPARK-22933][SPARKR] R Structured Streaming API for withWatermark, trigger, partitionBy 2018-01-03 21:43:14 -08:00