Distinct去重 - drjsite/elasticsearch-sql GitHub Wiki 1. Distinct 对应elasticsearch中的collapse字段折叠,只能有一个字段设置为distinct select distinct name from student;