-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SPARK_INDEX_NAME_FORMAT in combine_frames to avoid ambiguity. (#1650
) Use `SPARK_INDEX_NAME_FORMAT` in `utils.combine_frames` to avoid ambiguity. ```py >>> ks.options.compute.ops_on_diff_frames = True >>> kdf = ks.DataFrame({"a": [1, 2, 3], "Koalas": [0, 1, 2]}).set_index("Koalas", drop=False) >>> kdf.index.name = None >>> kdf["NEW"] = ks.Series([100, 200, 300]) >>> kdf Traceback (most recent call last): ... pyspark.sql.utils.AnalysisException: Reference 'Koalas' is ambiguous, could be: Koalas, Koalas.; ``` Related to #1647 as well.
- Loading branch information
Showing
2 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters