Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 15, 2025

Why I'm doing:

What I'm doing:

Minimal length is 1024, which should be allowed.

Fixes #https://github.com/StarRocks/StarRocksTest/issues/10673

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 4.0
    • 3.5
    • 3.4
    • 3.3

Note

Permits schema change from JSON to CHAR/VARCHAR when target length equals the JSON minimum (e.g., 1024).

  • Catalog
    • In Column.checkSchemaChangeAllowed, relax JSON length check: change <= to < so converting JSON to CHAR/VARCHAR is allowed when target strLen equals PrimitiveType.JSON.getTypeSize().

Written by Cursor Bugbot for commit b81f3cd. This will update automatically on new commits. Configure here.


This is an automatic backport of pull request #66628 done by [Mergify](https://mergify.com).

Note

Relax JSON length validation to allow JSON → CHAR/VARCHAR when target length equals the JSON minimum size.

  • Catalog
    • fe/fe-core/src/main/java/com/starrocks/catalog/Column.checkSchemaChangeAllowed:
      • Relax JSON-to-CHAR/VARCHAR length check by changing <= to <, allowing target strLen equal to PrimitiveType.JSON.getTypeSize().

Written by Cursor Bugbot for commit 658424c. This will update automatically on new commits. Configure here.

@mergify mergify bot mentioned this pull request Dec 15, 2025
23 tasks
@wanpengfei-git wanpengfei-git enabled auto-merge (squash) December 15, 2025 02:29
@mergify
Copy link
Contributor Author

mergify bot commented Dec 15, 2025

🧪 CI Insights

Here's what we observed from your CI run for 658424c.

❌ Job Failures

Pipeline Job Health on branch-4.0 Retries 🔍 CI Insights 📄 Logs
CI PIPELINE - BRANCH FE UT Unknown 0 View View

@murphyatwork
Copy link
Contributor

@Mergifyio rebase

@mergify
Copy link
Contributor Author

mergify bot commented Dec 15, 2025

rebase

✅ Branch has been successfully rebased

@murphyatwork murphyatwork force-pushed the mergify/bp/branch-4.0/pr-66628 branch from c6c7f43 to 658424c Compare December 15, 2025 15:32
@alvin-celerdata
Copy link
Contributor

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no bugs!


@murphyatwork
Copy link
Contributor

@Mergifyio rebase

@mergify
Copy link
Contributor Author

mergify bot commented Dec 16, 2025

rebase

☑️ Nothing to do, the required conditions are not met

Details
  • any of:
    • #commits > 1 [📌 rebase requirement]
    • #commits-behind > 0 [📌 rebase requirement]
    • -linear-history [📌 rebase requirement]
  • -closed [📌 rebase requirement]
  • -conflict [📌 rebase requirement]
  • queue-position = -1 [📌 rebase requirement]

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.

3 participants