fix: throw exception while analyzing if non-indexed or analyzed column is used within GROUP BY or ORDER BY

add IndexType property to ReferenceInfo