Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-23028][docs] Improve documentation for pages of SQL. #16070

Merged
merged 5 commits into from
Jun 25, 2021

Conversation

RocMarshal
Copy link
Contributor

@RocMarshal RocMarshal commented Jun 3, 2021

What is the purpose of the change

Improve documentation for pages of SQL.

Brief change log

Correct wrong style in https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/table/sql/create/#create-function section.

Correct wrong style in https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/table/sql/drop/#drop-function section.

Correct wrong style in https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/table/sql/alter/#alter-function section.

Add the description about drop catalog in the page of https://ci.apache.org/projects/flink/flink-docs-master/docs/dev/table/sql/drop/ .

Correct 'catloag' of https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/table/sql/use/#use-catloag

A pure documentation work.

Verifying this change

Correct wrong style in https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/table/sql/create/#create-function section.

Correct wrong style in https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/table/sql/drop/#drop-function section.

Correct wrong style in https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/table/sql/alter/#alter-function section.

Add the description about drop catalog in the page of https://ci.apache.org/projects/flink/flink-docs-master/docs/dev/table/sql/drop/ .

Correct 'catloag' of https://ci.apache.org/projects/flink/flink-docs-master/zh/docs/dev/table/sql/use/#use-catloag

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
  • The serializers: (yes / no / don't know)
  • The runtime per-record code paths (performance sensitive): (yes / no / don't know)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
  • The S3 file system connector: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot
Copy link
Collaborator

flinkbot commented Jun 3, 2021

Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
to review your pull request. We will use this comment to track the progress of the review.

Automated Checks

Last check on commit 9fef89f (Thu Jun 03 12:23:45 UTC 2021)

Warnings:

  • Invalid pull request title: No valid Jira ID provided

Mention the bot in a comment to re-run the automated checks.

Review Progress

  • ❓ 1. The [description] looks good.
  • ❓ 2. There is [consensus] that the contribution should go into to Flink.
  • ❓ 3. Needs [attention] from.
  • ❓ 4. The change fits into the overall [architecture].
  • ❓ 5. Overall code [quality] is good.

Please see the Pull Request Review Guide for a full explanation of the review process.


The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commands
The @flinkbot bot supports the following commands:

  • @flinkbot approve description to approve one or more aspects (aspects: description, consensus, architecture and quality)
  • @flinkbot approve all to approve all aspects
  • @flinkbot approve-until architecture to approve everything until architecture
  • @flinkbot attention @username1 [@username2 ..] to require somebody's attention
  • @flinkbot disapprove architecture to remove an approval you gave earlier

@flinkbot
Copy link
Collaborator

flinkbot commented Jun 3, 2021

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run travis re-run the last Travis build
  • @flinkbot run azure re-run the last Azure build

@RocMarshal
Copy link
Contributor Author

@alpinegizmo @dianfu Could you help me to review this PR? Thank you.

Copy link
Contributor

@alpinegizmo alpinegizmo left a comment

Choose a reason for hiding this comment

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

I've left one suggestion for improving the English.

@RocMarshal RocMarshal requested a review from alpinegizmo June 11, 2021 09:37
@RocMarshal RocMarshal changed the title [HOTFIX][docs] Fix typos. [Hotfix][docs] Fix typos. Jun 17, 2021
@RocMarshal RocMarshal changed the title [Hotfix][docs] Fix typos. [FLINK-23028][docs] Improve documentation for pages of SQL. Jun 18, 2021
@RocMarshal
Copy link
Contributor Author

@flinkbot run azure

Copy link
Contributor

@Airblader Airblader left a comment

Choose a reason for hiding this comment

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

Thanks for your PR! Could you please double-check all of these also in both the Chinese and English versions of those pages and fix it in both? Thank you!

@RocMarshal
Copy link
Contributor Author

@Airblader Thank you for your suggestions. I did some checking based on your comments, but it seems that the problem described in JIRA has been fixed now.

@RocMarshal
Copy link
Contributor Author

@gaoyunhaii Could you help me to review this PR? Thank you.

DROP CATALOG [IF EXISTS] catalog_name
```

删除给定的 catalog name 的 catalog。
Copy link
Contributor

Choose a reason for hiding this comment

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

删除给定名子的 Catalog ?


**IF EXISTS**

如果目标 catalog 不存在,则不会生效。
Copy link
Contributor

Choose a reason for hiding this comment

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

则不会生效 => 不会执行任何操作?

@gaoyunhaii
Copy link
Contributor

Hi @RocMarshal Very thanks for the contribution ! I checked the style fix and it should indeed works. I left two small comments regarding the Chinese description. The other part LGTM.

@RocMarshal
Copy link
Contributor Author

@gaoyunhaii Thank you for your review. I made some changes based on your comments.
PTAL.

@gaoyunhaii
Copy link
Contributor

Thanks @RocMarshal for the update and LGTM now, and we would still need a committer to finally confirm and merge the PR~

@RocMarshal
Copy link
Contributor Author

Hi, @alpinegizmo @wuchong ,Could you help me to confirm and merge the PR ? Thank you so much for your help.

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

Thanks @RocMarshal ! The PR looks good to me!

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

And thanks @alpinegizmo and @gaoyunhaii for the review. I will merge this PR~

@JingsongLi JingsongLi merged commit b116a4e into apache:master Jun 25, 2021
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.

7 participants