-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ESQL: Fix mv_expand inconsistent column order
#129745
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
Changes from 4 commits
834b2b7
9cd191e
478062a
0cb21e0
09af1ed
dad35c7
0906f11
f2a0bbf
a49bf29
531559b
9ff4935
1ec5ac1
66ed7d8
c39cc44
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| pr: 129745 | ||
| summary: "ESQL: Fix `mv_expand` inconsistent column order" | ||
| area: ES|QL | ||
| type: bug | ||
| issues: | ||
| - 129000 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -419,3 +419,37 @@ emp_no:integer | job_positions:keyword | |
| 10001 | Accountant | ||
| 10001 | Senior Python Developer | ||
| ; | ||
|
|
||
| testMvExpandInconsistentColumnOrder1 | ||
| required_capability: fix_mv_expand_inconsistent_column_order | ||
| from languages | ||
| | eval foo_1 = 1, foo_2 = 1 | ||
alex-spies marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | sort language_code | ||
| | mv_expand foo_1 | ||
| ; | ||
|
|
||
| language_code:integer | language_name:keyword | foo_1:integer | foo_2:integer | ||
| 1 | English | 1 | 1 | ||
| 2 | French | 1 | 1 | ||
| 3 | Spanish | 1 | 1 | ||
| 4 | German | 1 | 1 | ||
| ; | ||
|
|
||
| testMvExpandInconsistentColumnOrder2 | ||
| required_capability: fix_mv_expand_inconsistent_column_order | ||
| from message_types,languages_lookup_non_unique_key | ||
|
||
| | sort type | ||
| | eval language_code = 1, `language_name` = false, message = true, foo_3 = 1, foo_2 = null | ||
| | eval foo_3 = "1", `foo_3` = -1, foo_1 = 1, `language_code` = null, `foo_2` = "1" | ||
| | mv_expand foo_1 | ||
| | limit 5 | ||
| ; | ||
|
|
||
| country:text | country.keyword:keyword | type:keyword | language_name:boolean | message:boolean | foo_3:integer | foo_1:integer | language_code:null | foo_2:keyword | ||
| null | null | Development | false | true | -1 | 1 | null | 1 | ||
| null | null | Disconnected | false | true | -1 | 1 | null | 1 | ||
| null | null | Error | false | true | -1 | 1 | null | 1 | ||
| null | null | Production | false | true | -1 | 1 | null | 1 | ||
| null | null | Success | false | true | -1 | 1 | null | 1 | ||
| ; | ||
|
|
||
alex-spies marked this conversation as resolved.
Show resolved
Hide resolved
|
Uh oh!
There was an error while loading. Please reload this page.