code: func createDistinctChecker(sc *stmtctx.StatementContext) *distinctChecker {
  	return &distinctChecker{
  		existingKeys: mvmap.NewMVMap(),
  		sc:           sc,
  	}
  }
docs: // createDistinctChecker creates a new distinct checker.