How do you create a compound GSI Index?

I was digging through the docs and found no mention of this.
With views I can just emit performance sensitive data on keys and have them ready without additional lookups but with GSI index I can’t find the way to emit additional data to the index.

Is there a way or it is still unsupported?

CREATE INDEX idx ON mybucket(expr1, expr2, expr3 …);

This creates a compound index.

1 Like