Closed roger-mahler closed 3 months ago
SQL statement:
SELECT category, count(value) AS count
FROM (
SELECT tbl_locations.location_id AS category, tbl_analysis_entities.analysis_entity_id AS value
FROM tbl_analysis_entities
INNER JOIN tbl_datasets ON tbl_datasets."dataset_id" = tbl_analysis_entities."dataset_id"
INNER JOIN tbl_physical_samples ON tbl_physical_samples."physical_sample_id" = tbl_analysis_entities."physical_sample_id"
INNER JOIN tbl_sample_groups ON tbl_sample_groups."sample_group_id" = tbl_physical_samples."sample_group_id"
INNER JOIN tbl_sites ON tbl_sites."site_id" = tbl_sample_groups."site_id"
INNER JOIN tbl_site_locations ON tbl_site_locations."site_id" = tbl_sites."site_id"
INNER JOIN tbl_locations AS null ON null."location_id" = tbl_site_locations."location_id"
WHERE 1 = 1
GROUP BY tbl_locations.location_id , tbl_analysis_entities.analysis_entity_id
) AS x
GROUP BY category
The query engine adds null
as alias on tbl_locations
.
Fixed by 20200429_DML_FACET_UPDATES.
This facet now behaves like a range filter??
Closing since the problem is fixed.
This facet was not part of the humlab-sead/sead_query_api#13.
Error log says: