jihun-ddock opened a new issue, #33174:
URL: https://github.com/apache/superset/issues/33174

   ### Bug description
   
   First of all, I apologize that it is not reproduced with sample data.
   Related: https://github.com/apache/superset/issues/24355
   
   Version: 4.1.1
   Chart: Pie Chart
   Query:
   ```sql
   SELECT "국내/해외" AS "국내/해외", SUM(CASE WHEN 거래구분 = '투자' THEN 거래금액 ELSE 0 END) 
AS "투자금액" 
   FROM demo."전체_거래내역_뷰" GROUP BY "국내/해외" ORDER BY "투자금액" DESC 
    LIMIT 100;
   ```
   Query Results:
   ```
   국내/해외        투자금액
   국내   817280006121
   해외   118777753521
        20596314924
   ```
   
   Expected Result
   All values of "신주", "구주", and "NULL" should be displayed in the pie chart.
   
   Actual Result
   Only the NULL value is displayed in the pie chart, and the data for "신주" and 
"구주" are not shown.
   
   After applying Coalesce to leave only "신주" and "구주", the chart does not 
render at all.
   
   Screenshot:
   
![Image](https://github.com/user-attachments/assets/97774c10-eec9-46bc-9937-8c38c4887b02)
   
![Image](https://github.com/user-attachments/assets/f3fa05f2-e8be-4d25-bafb-ce575e3f0126)
   
   
   Another type of issue also occurred: in the following case, none of the 
sections were rendered.
   In another case, although there should be a total of 7 sections displayed in 
the pie chart, only 5 sections were rendered.
   This occurs regardless of whether "Sort by Metric" is enabled, and the same 
issue persists even when Row Limit is set to 50,000.
   
   Query Results:
   ```
   벤처유형            투자금액
   <NULL>             466859622530
   벤처캐피탈투자기업    337138509760
   기술평가기업         85042661648
   연구개발투자기업      38018558364
   기술혁신형중소기업    24474113510
   신기술개발기업       4319809998
   경영혁신형중소기업    800798756
   ```
   
   However, if you look at the rendered below, Null and the "벤처캐피탈투자기업" section 
are not rendered.
   
   Screenshot:
   
![Image](https://github.com/user-attachments/assets/28daf70f-9011-40b1-8cb7-0caf3adf10d2)
   
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.1.2
   
   ### Python version
   
   3.11
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to