added support for FIRST collection expr and parsing CREATE INDEX