When i write a comparion operator use the Max aggregate function,like this:
select * from A where A.fieldX >= (select max(fieldX) from A)
but dremio response a errror:
Dremio doesn't currently support non-scalar sub-queries used in an expression
And,when i add the limit condition,it is normal.
select * from A where A.fieldX >= (select max(fieldX) from A limit 1)
WHY???