I get "Undefined column family. familyName=f" whenever I run the following query,it works without the ORDER BY and works with the ORDER BY if its not a union and just one select statement
SELECT
p.name
FROM
person p
JOIN
friends f
ON
f.person = p.id
WHERE
567 != ANY(f.persons)
UNION ALL
SELECT
p.name
FROM
person p
JOIN
friends f
ON
f.person = p.id
WHERE
123 != ANY(f.persons)
ORDER BY f.date_time LIMIT 20
Regards,
Cheyenne O. Forbes
