Open zhuwenxing opened 2 weeks ago
I think we'd better banned all the keywords
@xiaocai2333 could you help on improving it?
/assign @xiaocai2333 /unassign
Should we also prohibit these keywords as dynamic field?
Should we also prohibit these keywords as dynamic field?
it's gonna to be hard to check with, are we gonna to parse json on every insertion?
Should we also prohibit these keywords as dynamic field?
it's gonna to be hard to check with, are we gonna to parse json on every insertion?
milvus will parse the dynamic json now to determine if the dynamic field name is $meta
. So we can prohibit these keywords for display field name and dynamic field name? But this will be an incompatible change.
I think we should go forward to do the check
after discussion, the dynamic field names can be bypassed through $meta["XXX"], so there is no restriction on dynamic field name. Keep the flexibility of dynamic fields.
Is there an existing issue for this?
Environment
Current Behavior
schema
expr
error
If field name array_length change to array_length_field, expr
"array_length(array_length_field) == 10"
can successExpected Behavior
"array_length(array_length) == 10", the second array_length can be treat as field name.
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response