Details
-
Type:
Bug
-
Status: Confirmed (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 10.3.17, 10.3, 10.4, 10.5
-
Component/s: Data types, Storage Engine - InnoDB
-
Labels:
-
Environment:CentOS 8
Description
I have a simple query listed below which correctly returns 20 rows of data. If I add DISTINCT to the clause, it still returns 20 rows but the "purchase_token" field is empty for all rows. This field, "purchase_token" is a compressed field, the only one returned in this query.
Working query:
select uid, order_id, purchase_token from ud_registration where is_consumable = 1;
Failing query:
select DISTINCT uid, order_id, purchase_token from ud_registration where is_consumable = 1;