You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Herman van Hövell (Jira)" <ji...@apache.org> on 2023/06/28 01:39:00 UTC

[jira] [Assigned] (SPARK-44039) Improve for PlanGenerationTestSuite & ProtoToParsedPlanTestSuite

     [ https://issues.apache.org/jira/browse/SPARK-44039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herman van Hövell reassigned SPARK-44039:
-----------------------------------------

    Assignee: BingKun Pan

> Improve for PlanGenerationTestSuite & ProtoToParsedPlanTestSuite
> ----------------------------------------------------------------
>
>                 Key: SPARK-44039
>                 URL: https://issues.apache.org/jira/browse/SPARK-44039
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect, Tests
>    Affects Versions: 3.5.0
>            Reporter: BingKun Pan
>            Assignee: BingKun Pan
>            Priority: Minor
>
> Improve for PlanGenerationTestSuite & ProtoToParsedPlanTestSuite, include:
> - When generating `GOLDEN` files, we should first delete the corresponding directories and generate new ones to avoid submitting some redundant files during the review process. eg:
> When we write a test named `make_timestamp_ltz` for the overloaded method, and during the review process, the reviewer wishes to add more tests for the method. The name of this method has changed during the next submission process, such as `make_timestamp_ltz without timezone`.At this point, if the `queries/function_make_timestamp_ltz.json`, `queries/function_make_timestamp_ltz.proto.bin` and `explain-results/function_make_timestamp_ltz.explain` files of `function_make_timestamp_ltz` are already in the commit, and there are many of these files, we generally do not notice the above problem, which leads to the incorrect submission of `queries/function_make_timestamp_ltz.json`, `queries/function_make_timestamp_ltz.proto.bin` and `explain-results/function_make_timestamp_ltz.explain` files without any impact on UT. These files are redundant.
> - Clear and update some redundant files submitted incorrectly



--
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