mirror of
https://github.com/minio/minio.git
synced 2025-11-10 22:10:12 -05:00
Select: Support Square Bracket Lists (#8457)
Allows for S3 compatible `SELECT * from s3object s WHERE id IN [3,2]` Fixes #8422
This commit is contained in:
committed by
Nitish Tiwari
parent
1f481c0967
commit
51456e6adc
@@ -149,7 +149,7 @@ type Expression struct {
|
||||
|
||||
// ListExpr represents a literal list with elements as expressions.
|
||||
type ListExpr struct {
|
||||
Elements []*Expression `parser:"\"(\" @@ ( \",\" @@ )* \")\""`
|
||||
Elements []*Expression `parser:"\"(\" @@ ( \",\" @@ )* \")\" | \"[\" @@ ( \",\" @@ )* \"]\""`
|
||||
}
|
||||
|
||||
// AndCondition represents logical conjunction of clauses
|
||||
|
||||
Reference in New Issue
Block a user