Skip to content

GH-35084: [Docs][Format] Add how to change format specification#35174

Merged
kou merged 8 commits into
apache:mainfrom
kou:docs-how-to-change-format-spec
Apr 27, 2023
Merged

GH-35084: [Docs][Format] Add how to change format specification#35174
kou merged 8 commits into
apache:mainfrom
kou:docs-how-to-change-format-spec

Conversation

@kou

@kou kou commented Apr 17, 2023

Copy link
Copy Markdown
Member

Rationale for this change

It's for easy to refer.

What changes are included in this PR?

This is based on the discussion:

[DISCUSS] Format changes: process and requirements
https://lists.apache.org/thread/9t0pglrvxjhrt4r4xcsc1zmgmbtr8pxj

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

@kou

kou commented Apr 17, 2023

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit preview-docs

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #35084 has been automatically assigned in GitHub to PR creator.

@github-actions

Copy link
Copy Markdown

Revision: e3f9af0fa3ad7460a6146e506cc0ce8e5732b51c

Submitted crossbow builds: ursacomputing/crossbow @ actions-2656904870

Task Status
preview-docs Github Actions

Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated

@yoshimotoyuk yoshimotoyuk Apr 17, 2023

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
DISCUSS process is a process to discuss the format changes in
DISCUSS process is a process to discuss capability of the format changes in

Discussion is to gather opinion about the new format change suggestion, and see whether if it is capable to be adopted.

Comment thread docs/source/format/Changing.rst Outdated
Comment on lines 47 to 48

@yoshimotoyuk yoshimotoyuk Apr 17, 2023

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
VOTE process is a process to tell whether we have reached
consensus. We can start a vote for the format changes after we reach
VOTE process is a process to poll whether we have decided to adapt changes or not.
We can start a vote for the format changes after we reach

Current text only tells that when the VOTE starts, there are consensus. But it is happening when DISCUSS reach the consensus. And I believe the VOTE process is the action to finalize the adoption. So I tried to text it that way.

@yoshimotoyuk yoshimotoyuk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I have read through the texts.

Few sentence seems missing detail information. So I have added the changes to be more descriptive.

@pitrou

pitrou commented Apr 17, 2023

Copy link
Copy Markdown
Member

cc @wjones127 for wording.

Comment thread docs/source/format/Changing.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this follow the same rule of apache voting? For example, which vote is considered binding?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes.
"[VOTE][Format] Fixed shape tensor Canonical Extension Type" https://lists.apache.org/thread/f303yscj8gq4oggvvcbvf5zpo972l1kk is a recent example.

Comment thread docs/source/format/Changing.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

How do we define a reference implementation is complete? For example, if a new data/array type is proposed, does the IPC, compute functions, and parquet module should be implemented as well?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think we need to lay down hard rules. Below we link to https://arrow.apache.org/docs/status.html, which gives us a grid of implementations and their status. Which parts are relevant will depend on the feature IMO. For most new data types, I suspect what's important is IPC implementation.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's ~up to the voters, effectively. I think it'd be hard to pin this down in text.

That said, this part is discussing whether the implementation is considered a reference Arrow implementation. Which is more about whether the the implementation is self-contained (as opposed to a binding) and ~completeness of the Arrow specification and development activity.

@wjones127 wjones127 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we can call the process just "discussion and voting", and mention the [VOTE] and [DISCUSS] tags where appropriate.

Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think we need to lay down hard rules. Below we link to https://arrow.apache.org/docs/status.html, which gives us a grid of implementations and their status. Which parts are relevant will depend on the feature IMO. For most new data types, I suspect what's important is IPC implementation.

Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated
@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Apr 17, 2023

@westonpace westonpace left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for writing this up.

Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated
@github-actions github-actions Bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Apr 18, 2023
@kou

kou commented Apr 18, 2023

Copy link
Copy Markdown
Member Author

@yoshimotoyuk @wjones127 @westonpace Thanks for your suggestions!
I've merged them.

Comment thread docs/source/format/Changing.rst Outdated
Comment thread docs/source/format/Changing.rst Outdated

@wjones127 wjones127 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Two minor changes. Otherwise this looks good. Thanks for adding this @kou

@github-actions github-actions Bot added awaiting changes Awaiting changes awaiting merge Awaiting merge and removed awaiting change review Awaiting change review awaiting changes Awaiting changes labels Apr 18, 2023
@kou kou force-pushed the docs-how-to-change-format-spec branch from 642f6e5 to 784be05 Compare April 18, 2023 20:22
@kou

kou commented Apr 18, 2023

Copy link
Copy Markdown
Member Author

Thanks! I've merged them.
I'll start a vote for this later before we merge this.

@kou

kou commented Apr 18, 2023

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit preview-docs

@github-actions

This comment was marked as outdated.

kou and others added 4 commits April 19, 2023 11:31
Co-authored-by: Will Jones <willjones127@gmail.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
Co-authored-by: Will Jones <willjones127@gmail.com>
@kou kou force-pushed the docs-how-to-change-format-spec branch from 784be05 to 8693dd2 Compare April 19, 2023 02:31
@kou

kou commented Apr 19, 2023

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit preview-docs

@github-actions

This comment was marked as outdated.

@kou

kou commented Apr 19, 2023

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit preview-docs

@github-actions

Copy link
Copy Markdown

Revision: a21b227

Submitted crossbow builds: ursacomputing/crossbow @ actions-ad4f16d624

Task Status
preview-docs Github Actions

@kou

kou commented Apr 19, 2023

Copy link
Copy Markdown
Member Author

@kou

kou commented Apr 24, 2023

Copy link
Copy Markdown
Member Author

@pitrou

pitrou commented Apr 24, 2023

Copy link
Copy Markdown
Member

Should something be added about documentation as well? Or is it implicit?

@kou

kou commented Apr 24, 2023

Copy link
Copy Markdown
Member Author

I'm sorry but I can't understand what you intent.
What documentation are you referring?
Design documentation like https://docs.google.com/document/d/1jhPyPZSOo2iy0LqIJVUs9KWPyFULVFJXTILDfkadx2g/edit?usp=sharing for https://lists.apache.org/thread/247z3t06mf132nocngc1jkp3oqglz7jp ?

@pitrou

pitrou commented Apr 24, 2023

Copy link
Copy Markdown
Member

What documentation are you referring?

Everything under https://arrow.apache.org/docs/format/

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me. I agree it might be nice to explicitly add something about updating the documentation as part of the format change, I can also see the argument for that being implicit.

@kou

kou commented Apr 26, 2023

Copy link
Copy Markdown
Member Author

Ah, I understand.
(Thanks for your comment @alamb!)

OK. I've add a note for it:

.. note::

   We must update the corresponding documentation (files in
   `<https://github.com/apache/arrow/tree/main/docs/source/format>`_)
   too.

If anyone has a suggestion for wording, I appreciate it. (I'm not a native English speaker.)

@kou

kou commented Apr 26, 2023

Copy link
Copy Markdown
Member Author

@github-actions crossbow submit preview-docs

@github-actions

Copy link
Copy Markdown

Revision: dbd2c20

Submitted crossbow builds: ursacomputing/crossbow @ actions-026a10f6d6

Task Status
preview-docs Github Actions

@kou

kou commented Apr 27, 2023

Copy link
Copy Markdown
Member Author

The vote result: https://lists.apache.org/thread/ophn3b58gb4rmjow00d3zovox7vnhod2

I'll merge this.

@kou kou merged commit 07d02d6 into apache:main Apr 27, 2023
@kou kou deleted the docs-how-to-change-format-spec branch April 27, 2023 07:01
liujiacheng777 pushed a commit to LoongArch-Python/arrow that referenced this pull request May 11, 2023
…apache#35174)

### Rationale for this change

It's for easy to refer.

### What changes are included in this PR?

This is based on the discussion:

[DISCUSS] Format changes: process and requirements
https://lists.apache.org/thread/9t0pglrvxjhrt4r4xcsc1zmgmbtr8pxj

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: apache#35084

Lead-authored-by: Sutou Kouhei <kou@clear-code.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Co-authored-by: Will Jones <willjones127@gmail.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
ArgusLi pushed a commit to Bit-Quill/arrow that referenced this pull request May 15, 2023
…apache#35174)

### Rationale for this change

It's for easy to refer.

### What changes are included in this PR?

This is based on the discussion:

[DISCUSS] Format changes: process and requirements
https://lists.apache.org/thread/9t0pglrvxjhrt4r4xcsc1zmgmbtr8pxj

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: apache#35084

Lead-authored-by: Sutou Kouhei <kou@clear-code.com>
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
Co-authored-by: Will Jones <willjones127@gmail.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs][Format] Add how to change format specification

8 participants