You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alexey Marin (Jira)" <ji...@apache.org> on 2025/07/19 09:49:00 UTC
[jira] [Updated] (SPARK-52878) Checkpointing a dataframe fails when it's based on another checkpoint that used a case-insentitive operation
[ https://issues.apache.org/jira/browse/SPARK-52878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Marin updated SPARK-52878:
---------------------------------
Affects Version/s: 3.5.6
> 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
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org