How to return a single object for an array type

In some case, the schema defines an array type. but the predicate effectively return a single object。

here is an examples:
columns is an one to many type, so ~columns is an many to one type。

<columns>: [uid] @reverse .

{
  root(func: eq(name, "id"), first:2) {
    table:~columns{
    	dgraph.type
    	name
  	}
  }
}

{
  "data": {
    "root": [
      {
        "table": [
          {
            "dgraph.type": [
              "MySQLTable"
            ],
            "name": "abroad_bill_info"
          }
        ]
      },
      {
        "table": [
          {
            "dgraph.type": [
              "MySQLTable"
            ],
            "name": "abroad_bill_log"
          }
        ]
      }
    ]
  }
  }
}

I except a single table(~columns),and a single dgraph.type。how can I aggregate the array to one?

This isn’t possible. I think there is a Github issue for this. But it is recommended that you do it in your business logic.