fix: throw exception while analyzing if non-indexed or analyzed column is used within grouping, aggregations or sorting

add IndexType property to ReferenceInfo