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

[CORE] Minor code cleanups against fallback tagging #6320

Merged
merged 9 commits into from
Jul 12, 2024

Conversation

zhztheplayer
Copy link
Member

@zhztheplayer zhztheplayer commented Jul 3, 2024

  1. ValidationResult:
    • Rename ValidationResult.ok to ValidationResult.succeeded
    • Rename ValidationResult.notOk(reason) to ValidationResult.failed(reason)
    • Rename ValidationResult.isValid() to ValidationResult.ok()
  2. Remove tag type FALLBACK_REASON_TAG, reuse FallbackTag instead
  3. Add FallbackTag.Converter to convert from different inputs to FallbackTag instances implicitly

Copy link

github-actions bot commented Jul 3, 2024

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer force-pushed the wip-refactor-validate branch from bab1095 to be562d3 Compare July 3, 2024 04:47
Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

1 similar comment
Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer force-pushed the wip-refactor-validate branch from 756fe12 to 8583e1e Compare July 3, 2024 08:19
Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer force-pushed the wip-refactor-validate branch from 8583e1e to 917653a Compare July 3, 2024 08:37
Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

3 similar comments
Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

Copy link

github-actions bot commented Jul 3, 2024

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer force-pushed the wip-refactor-validate branch from 1ade079 to 79cfdfc Compare July 11, 2024 02:11
Copy link

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer force-pushed the wip-refactor-validate branch from 79cfdfc to 2b8c959 Compare July 11, 2024 02:18
Copy link

Run Gluten Clickhouse CI

5 similar comments
Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer force-pushed the wip-refactor-validate branch from cfe3217 to 2600f06 Compare July 11, 2024 13:18
Copy link

Run Gluten Clickhouse CI

fixup

fixup

fixup

fixup

fixup

fixup

fixup

fixup

fixup
@zhztheplayer zhztheplayer force-pushed the wip-refactor-validate branch from 2600f06 to b847673 Compare July 11, 2024 14:35
Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

@zhztheplayer zhztheplayer marked this pull request as ready for review July 12, 2024 00:35
Copy link
Contributor

@JkSelf JkSelf 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 improvement. LGTM.

@zhztheplayer zhztheplayer merged commit 2f35c63 into apache:main Jul 12, 2024
41 checks passed
yma11 added a commit to yma11/gluten that referenced this pull request Jul 15, 2024
yma11 added a commit to yma11/gluten that referenced this pull request Jul 15, 2024
yma11 added a commit to yma11/gluten that referenced this pull request Jul 15, 2024
yma11 added a commit to yma11/gluten that referenced this pull request Jul 15, 2024
yma11 added a commit to yma11/gluten that referenced this pull request Jul 15, 2024
zhztheplayer added a commit to zhztheplayer/gluten that referenced this pull request Jul 16, 2024
yma11 added a commit to yma11/gluten that referenced this pull request Jul 16, 2024
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