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.

Column alias with same name as column causes pinot to hang

See original GitHub issue

If you have a function on a column and then alias that to the same column name pinot hangs. To reproduce start the quick start batch and run the following query:

select cast(runs as long) as runs from baseballStats limit 10

This query works:

select cast(runs as long) as runs2 from baseballStats limit 10

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
xiangfu0commented, Oct 8, 2021

Thanks for reporting this. I think this is a bug inside the alias check. Will fix it.

0reactions
Jackie-Jiangcommented, Nov 1, 2021

@xiangfu0 @elonazoulay Can you please verify the fix and close the issue if the issue is fixed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a valid reason to alias a column to the exact same ...
The alias could be there because the column name used to be different and has been renamed, with the references to it being...
Read more >
sql - Why do alias names the same as the column names get ...
I want to alias the names in the stored view using the original names to maintain some consistency, but if the underlying table...
Read more >
Request to support aliases in PQL. · Issue #3471 · apache/pinot
Currently PQL does not support aliasing for selection/aggregation column names. For example in the query below: select sum(metric) from ...
Read more >
Apache Pinot Daily Email Digest (2021-07-07) - The Mail Archive
We see ~6-8 billion records a month and expect that number to continue to grow. ... @kulbir.nijjer: AFAIK Pinot only supports column alias,...
Read more >
Create Aliases to Rename Members in the View - Tableau Help
When you add the field to the view, the alias names appear as labels in the ... If you have a field in...
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