question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Percentile throws NULLPOINTEREXCEPTION when not grouping by a column

See original GitHub issue

Crate 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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kovruscommented, Nov 10, 2016

Hi @bputt, the fix will be released soon in 0.56.4 and 0.57.1.

0reactions
mfusseneggercommented, Nov 23, 2016

Closing this, 0.56.4 and 0.57.1/2 have been released already.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found