确实是版本差异,试试这个:upsert vertex on player "Yao Ming" set name=head(split(name," "))
upsert vertex on player "Yao Ming" set name=head(split(name," "))