Skip to content

branch-4.2: [fix](fe) Reject complex types as map keys #69101 - #69272

Merged
yiguolei merged 1 commit into
apache:branch-4.2from
csun5285:pick-4.2/pr-69101
Oct 20, 2026
Merged

yiguolei merged 1 commit into
apache:branch-4.2from
csun5285:pick-4.2/pr-69101

Conversation

@csun5285

@csun5285 csun5285 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Backport #69101 to branch-4.2.

```
sql "select map(named_struct('a', 1), 'v')"
        exception "MAP key type must be a primitive type"
```

(cherry picked from commit 183d73e)
@csun5285
csun5285 requested a review from yiguolei as a code owner October 19, 2026 08:33
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@csun5285

Copy link
Copy Markdown
Contributor Author

run buildall

@yiguolei

Copy link
Copy Markdown
Contributor

skip buildall

@yiguolei
yiguolei merged commit 690a4b6 into apache:branch-4.2 Oct 20, 2026
37 of 38 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Oct 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants