[
https://issues.apache.org/jira/browse/SPARK-52878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-52878:
-----------------------------------
Labels: pull-request-available (was: )
> Checkpointing a dataframe fails when it's based on another checkpoint that
> used a case-insentitive operation
> ------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-52878
> URL: https://issues.apache.org/jira/browse/SPARK-52878
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.5.6, 4.0.0
> Reporter: Alexey Marin
> Priority: Minor
> Labels: pull-request-available
>
> The following code in spark-shell fails when the last checkpoint() is called:
> {{spark.sql("set spark.sql.caseSensitive=false")}}
> {{sc.setCheckpointDir("/tmp/foo") }}
> {{val df_1 = spark.range(1).toDF("foo").checkpoint()}}
> {{val df_2 = df_1.where("Foo == 0").checkpoint()}}
> {{val df_union = df_1.unionByName(df_2).checkpoint()}}
> {{df_union.show()}}
>
> Removing any of the checkpoints, not basing df_2 on df_1, or fixing the
> casing in the filter all avoid triggering this error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]