sql: support inverted indexes with more than one inverted column #91460
Labels
A-sql-execution
Relating to SQL execution.
A-sql-optimizer
SQL logical planning and optimizations.
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-queries
SQL Queries Team
Currently, it's not possible to create a multi-column inverted index where more than one column is inverted:
However, this is possible in Postgres:
Having more than one inverted column would improve the selectivity of the index in some cases, such as a situation with two trigram indexes on two separate text columns in the same table.
For example, see this comment #41285 (comment)
Jira issue: CRDB-21271
The text was updated successfully, but these errors were encountered: