Skip to content

Comments

[SPARK-55597][INFRA] Add initial issue templates for spark#54374

Open
gaogaotiantian wants to merge 8 commits intoapache:masterfrom
gaogaotiantian:add-issue-templates
Open

[SPARK-55597][INFRA] Add initial issue templates for spark#54374
gaogaotiantian wants to merge 8 commits intoapache:masterfrom
gaogaotiantian:add-issue-templates

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

Add issue templates for spark.

Why are the changes needed?

We should provide a template for community about what we need from them. This is not a comprehensive format but it's a start. We can incrementally make it better while working with it.

The labels for bug and enhancement are already created. The reason I did not separate "improvement" and "feature" is because they are very similar concepts. A new feature can be an improvement to spark. The template would be very similar and a bit confusing to community. If we do need to distinguish them in the future, we can add a drop down menu in the template so it matches JIRA perfectly.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Not code.

Was this patch authored or co-authored using generative AI tooling?

No.

@gaogaotiantian
Copy link
Contributor Author

@dongjoon-hyun and @HyukjinKwon , let me know if you have other ideas about the templates. I think we should have something simple as a start then gradually make it better from feedbacks. There's also a chance that github issues is not used a lot and we shouldn't put too much effort into it. Let's prepare it in a state that users feel comfortable using it and see if we can improve it in the future.

- "Spark Submit"
- "SparkR"
- "SQL"
- "SS"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SS is Structured Streaming so could be removed

- "Pandas API on Spark"
- "Project Infra"
- "Protobuf"
- "PS"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PS is Pandas API on Spark

- "Block Manager"
- "Build"
- "Connect"
- "Connect Contrib"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just have one "Connect" and remove this

- "Input/Output"
- "Java API"
- "Kubernetes"
- "Mesos"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mesos is officially deprecated and removed.

- "Optimizer"
- "Pandas API on Spark"
- "Project Infra"
- "Protobuf"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove this. I think it refers to protobuf functions we added but it's not really worthwhile as a separate component

- "Protobuf"
- "PS"
- "PySpark"
- "R"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R is SparkR

@gaogaotiantian
Copy link
Contributor Author

The comments are incredibly useful because I'm not that familiar with all the components in spark. I just copied the list from JIRA. It would be nice if we can have a concise list of important components. Just removed all the duplicated ones.

@@ -0,0 +1,51 @@
name: Enhancement
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use Improvement like Apache Spark JIRA Issue Type instead of breaking the convention.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I named this intentionally so it includes both "improvement" and "new feature". Do we want two templates for "improvement" and "new feature"? The reason I ask is because these two templates might be very similar as the nature of "improvement" and "new feature" is pretty close.

I did a quick search before I started working on this template, both inside and outside of apache. I did not find any project that has both "improvement" and "new feature" in their templates.

An alternative way to make this a 1 on 1 match with JIRA is to have a template named "new feature or improvement". Then we have a required drop down for user to select whether they want a new feature or improvement. The rest of the template would be the same between those two. In the future if we need to create a JIRA based on github issue, we can refer to this option.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to start with Improvement only because this is an experimental channel. Please don't invent a new one here, @gaogaotiantian .

I named this intentionally

Copy link
Member

@dongjoon-hyun dongjoon-hyun Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to our discussion, new GitHub Issues feature is supposed to work harmoniously with the existing convention instead of creating new confusion without a community consensus. Please don't make a new concept here based on your personal idea.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, then we need to rename the label Type: Enhancement to Type: Improvement so it can be linked correctly. I will update this issue template.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@gaogaotiantian
Copy link
Contributor Author

@dongjoon-hyun I updated both the spark version for bug report and the naming of improvement template. The only thing I can't do is to rename the label - https://github.com/apache/spark/labels?q=type this requires access to the repository. After we rename Type: Enhancement to Type: Improvement, it should be auto-linked when the user creates an improvement request.

Added licensing information to the bug report template.
Added licensing information and updated template details.
@dongjoon-hyun
Copy link
Member

Thank you for informing that. I updated it to help your activity.

After we rename Type: Enhancement to Type: Improvement, it should be auto-linked when the user creates an improvement request.

Screenshot 2026-02-19 at 07 51 31

@Yicong-Huang
Copy link
Contributor

Yicong-Huang commented Feb 19, 2026

shall we consider using the builtin "issue type" instead of labels?

Screenshot 2026-02-19 at 9 31 05 AM Screenshot 2026-02-19 at 9 31 14 AM

@gaogaotiantian
Copy link
Contributor Author

I think issue type is an organizational level configuration which means asf needs to come up with a set of types for us to use. That might be too much an overhead.

@gaogaotiantian
Copy link
Contributor Author

This PR should be ready to merge. Then we can test if it works properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants