generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Labels
PPLPiped processing languagePiped processing languagebugSomething isn't workingSomething isn't working
Description
What is the bug?
The current top rare command return null which cannot be pushed to DSL (null bucket is unsupported in terms agg).
For example:
| ID | Type |
|---|---|
| 1 | "200" |
| 2 | "404" |
| 3 | null |
| 4 | "200" |
| 5 | null |
| 6 | null |
| 7 | "200" |
| 8 | "404" |
| 9 | null |
| 10 | "200" |
source = t | top Type
Returns
| Type | count |
|---|---|
| "200" | 4 |
| null | 4 |
| "404" | 2 |
What is the expected behavior?
source = t | top Type
Returns
| Type | count |
|---|---|
| "200" | 4 |
| "404" | 2 |
SPL has the similar behavior (no null outputs) on top and rare.
What is the solution your purpose?
- add a new argument
usenull=true(no breaking) - just correct the current behavior (treat as a bug)
Do you have any additional context?
#4671
Metadata
Metadata
Assignees
Labels
PPLPiped processing languagePiped processing languagebugSomething isn't workingSomething isn't working
Type
Projects
Status
Done