[COMPASS-2632] Selecting individual int32 value after schema analysis generates incorrect query in filter Created: 09/Mar/18  Updated: 29/Oct/23  Resolved: 27/Jan/20

Status: Closed
Project: Compass
Component/s: Compass, Query Bar, Schema
Affects Version/s: 1.12.0, 1.12.1, 1.16.0
Fix Version/s: 1.19.12, 1.20.4

Type: Bug Priority: Major - P3
Reporter: Brian Blevins Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File click_passenger_id_in_coursera-agg.titanic.png     PNG File click_x_value_in_test_billion_another_example.png     PNG File no_output_to_DevTools_console.png    

 Description   

In many cases, the Compass schema analysis will display a bar chart for int32 fields. Clicking on a bar correctly generates the range query for that bar.

Sometimes, the schema analysis shows a selection of individual values for the int32 field. In Compass 1.12.0, clicking one of those individual values generates an incorrect query in the filter bar similar to:

{passenger_id: NumberInt{'[object Object]')}

When this happens, the "Filter" label turns red and "Analyze" button is greyed out and blocked.


Generated at Wed Feb 07 22:30:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.