LucaCappelletti94 opened a new pull request, #2687: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2687
Support SQLite’s `INDEXED BY index_name` and `NOT INDEXED` clauses in `SELECT`, `UPDATE` and `DELETE`, including `SELECT * FROM t AS x INDEXED BY i`. These clauses impose index-selection requirements, with `INDEXED BY` requiring the named index to be usable. See https://www.sqlite.org/lang_indexedby.html SQLite enables parsing through `Dialect::supports_indexed_by()`. `TableFactor::Table::index_directives` holds a `Vec<TableIndexDirective>` covering MySQL’s index hints and SQLite’s index-selection requirements. This is a breaking API change for consumers of `index_hints`, and MySQL hints are wrapped in `TableIndexDirective::MySql(TableIndexHints { .. })`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
