Commit d749c06
[SPARK-19130][SPARKR] Support setting literal value as column implicitly
## What changes were proposed in this pull request?
```
df$foo <- 1
```
instead of
```
df$foo <- lit(1)
```
## How was this patch tested?
unit tests
Author: Felix Cheung <[email protected]>
Closes #16510 from felixcheung/rlitcol.1 parent 4239a10 commit d749c06
File tree
3 files changed
+39
-5
lines changed- R/pkg
- R
- inst/tests/testthat
3 files changed
+39
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1727 | 1727 | | |
1728 | 1728 | | |
1729 | 1729 | | |
1730 | | - | |
| 1730 | + | |
| 1731 | + | |
1731 | 1732 | | |
1732 | 1733 | | |
1733 | 1734 | | |
1734 | 1735 | | |
1735 | 1736 | | |
1736 | 1737 | | |
1737 | | - | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
1738 | 1745 | | |
1739 | 1746 | | |
1740 | 1747 | | |
| |||
1947 | 1954 | | |
1948 | 1955 | | |
1949 | 1956 | | |
1950 | | - | |
| 1957 | + | |
1951 | 1958 | | |
1952 | 1959 | | |
1953 | | - | |
| 1960 | + | |
1954 | 1961 | | |
1955 | 1962 | | |
1956 | 1963 | | |
| |||
1963 | 1970 | | |
1964 | 1971 | | |
1965 | 1972 | | |
| 1973 | + | |
1966 | 1974 | | |
1967 | 1975 | | |
1968 | 1976 | | |
1969 | | - | |
| 1977 | + | |
1970 | 1978 | | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
1971 | 1983 | | |
1972 | 1984 | | |
1973 | 1985 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
1004 | 1015 | | |
1005 | 1016 | | |
1006 | 1017 | | |
| |||
1778 | 1789 | | |
1779 | 1790 | | |
1780 | 1791 | | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
1781 | 1799 | | |
1782 | 1800 | | |
1783 | 1801 | | |
| |||
0 commit comments