Percentile throws NULLPOINTEREXCEPTION when not grouping by a column
See original GitHub issueCrate version: 0.56.3
This query throws a NULLPOINTEREXCEPTION
select percentile(field, 0.95) from table
This query does not
select percentile(field, 0.95), someOtherField from table group by someOtherField
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38859161-percentile-throws-nullpointerexception-when-not-grouping-by-a-column?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github).
</bountysource-plugin>Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Migration Guide: SQL, Datasets and DataFrame - Spark 3.1.3 ...
In Spark 3.1, the Parquet, ORC, Avro and JSON datasources throw the exception org.apache.spark.sql.AnalysisException: Found duplicate column(s) in the data ...
Read more >Error while loading the grid -null pointer exception [duplicate]
case 1 : try to get the data belongs to a column/field which is not present in table/a result set.
Read more >How do you group data by percentile in Tableau ignoring nulls
You can group the column data into null and not null and then perform percent of total on the fields in the table....
Read more >Fixed Issues - TechDocs - Broadcom Inc.
With this fix, The OI Connector was making a REST request to retrieve a specific group related to a specific export profile. This...
Read more >Looker FAQs | Comparably
Find answers to frequently asked questions on Looker's FAQ page on Comparably.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @bputt, the fix will be released soon in
0.56.4
and0.57.1
.Closing this, 0.56.4 and 0.57.1/2 have been released already.