apache / apache/pinot

Wrong error message for incorrect column name during lookup

Open
#10,753 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

Hi team, we believe that the error message could be more informative when sendin a query using the lookup on a dimension table.

If we have an incorrect column name on the metric table in the look up query, it gives us an invalid segment/s error and returns no result. If we have an incorrect column name on the dimension table in the look up query, it gives us a QueryExecutionError.

I think that if there is an incorrect column name on the metric table, it should give a QueryExecutionError instead of invalid segment/s error.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the lookup query with an incorrect column name on the metric table and compare its response with the dimension-table case. Trace the lookup query handling and error classification to determine where the invalid segment error is produced; done means the metric-table case returns QueryExecutionError instead of no results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.