Skip to content

[SPARK-2179][SQL] A minor refactoring Java data type APIs (2179 follow-up). - #1712

Closed
yhuai wants to merge 2 commits into
apache:masterfrom
yhuai:javaDataType
Closed

yhuai wants to merge 2 commits into
apache:masterfrom
yhuai:javaDataType

Conversation

@yhuai

@yhuai yhuai commented Aug 1, 2014

Copy link
Copy Markdown
Contributor

It is a follow-up PR of SPARK-2179 (https://issues.apache.org/jira/browse/SPARK-2179). It makes package names of data type APIs more consistent across languages (Scala: org.apache.spark.sql, Java: org.apache.spark.sql.api.java, Python: pyspark.sql).

yhuai added 2 commits July 31, 2014 21:32
…es by moving all Java data type classes to package sql.api.java.
@yhuai

yhuai commented Aug 1, 2014

Copy link
Copy Markdown
Contributor Author

Jenkins, test this please.

@SparkQA

SparkQA commented Aug 1, 2014

Copy link
Copy Markdown

QA tests have started for PR 1712. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17643/consoleFull

@SparkQA

SparkQA commented Aug 1, 2014

Copy link
Copy Markdown

QA results for PR 1712:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/17643/consoleFull

@marmbrus

marmbrus commented Aug 1, 2014

Copy link
Copy Markdown
Contributor

Thanks for cleaning this up! Merged to master.

@asfgit asfgit closed this in c41fdf0 Aug 1, 2014
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
…w-up).

It is a follow-up PR of SPARK-2179 (https://issues.apache.org/jira/browse/SPARK-2179). It makes package names of data type APIs more consistent across languages (Scala: `org.apache.spark.sql`, Java: `org.apache.spark.sql.api.java`, Python: `pyspark.sql`).

Author: Yin Huai <huai@cse.ohio-state.edu>

Closes apache#1712 from yhuai/javaDataType and squashes the following commits:

62eb705 [Yin Huai] Move package-info.
add4bcb [Yin Huai] Make the package names of data type classes consistent across languages by moving all Java data type classes to package sql.api.java.
sunchao pushed a commit to sunchao/spark that referenced this pull request Jun 2, 2023
MaxGekk added a commit to MaxGekk/spark that referenced this pull request Nov 25, 2026
…ows (apache#1715)

### What changes were proposed in this pull request?

This pull request changes `dev/varka_issues.py`, the script that mirrors the task tables of the milestone plans as GitHub issues. The first two changes are the purpose, and the other two came from the review.

- The rows of the plan before the newest plan now open issues too, while that milestone still runs: while one of its open rows has an issue. Until now, only the rows of the newest plan opened issues.
- A row that starts with **Filed** now takes the title of its task. Until now, the title of its issue was "Filed". After a status, a bold dated note is skipped, and the text of a bold label such as "What to do:" names the task.
- The warning for a stale good-first list is for rows that are not open rows of a table that opens issues.
- A newest plan that has no task row yet no longer stops the script.

### Why are the changes needed?

The plan of the next milestone is opened while the current milestone still runs and adds rows. Milestone 9's plan (apache#1712) is the first such case. After it merges, the script takes milestone 9 as the newest plan, and a new row of milestone 8 gets no issue.

Fifteen rows of milestone 8 start with **Filed**, and twelve of them have an open issue. Each of those issues has the title "[VARKA-n] Filed", which does not name the task.

### Does this PR introduce _any_ user-facing change?

No. The script serves the project's own issues.

### How was this patch tested?

- The script's doctests pass: `python3 -m doctest dev/varka_issues.py`. There are new cases for a row of the plan before the newest, for `opening_milestones`, and for the three title rules.
- A dry run on master gives 12 issues their task's title. It opens, closes and reopens no issue. Milestone 7, which is finished, opens none.
- The titles of all rows were compared before and after the change. Exactly 15 titles change, all from "Filed" to the task.
- A dry run against the tables of apache#1712's branch opens issues for milestones 8 and 9. A new open row of milestone 8 is created there. Under the old rule the same row is skipped.
- Earlier plans still open no issue. The four unmirrored rows of milestone 4 are skipped as before.
- Size: 105 counted lines.

**Review.** One `/code-review high` round found 5 points, 1 of them important, and all are fixed. The important one: row 628 has no bold title, so the first fix gave its issue a diagnostic note as the title. The others: a finished milestone could start to open issues when it is the plan before the newest; a title that begins with the word "Filed" was taken for a status; the warning for a stale good-first list no longer fired; and a newest plan with no task row stopped the script.

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

Generated-by: Claude Code (Claude Fable 5.2)
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.

3 participants