242
func (c *QueryConverter[ExprT]) convertSelectStmt(
243
sel *sqlparser.Select,
245
>
// TODO: Forbid ORDER BY clause. It's currently allowed only with Elasticsearch for backwards
246
>
// compatibility. Support for ORDER BY will be completely removed in a future release.
247
>
// if sel.OrderBy != nil {
248
>
// return nil, NewConverterError("%s: 'ORDER BY' clause", NotSupportedErrMessage)
249
>
// }
250
>
251
>
if sel.Limit != nil {
252
return nil, NewConverterError("%s: 'LIMIT' clause", NotSupportedErrMessage)
253
}