You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround, you can create inline @query and add DISTINCT clause and empty __id and __cas values:
@Query("SELECT DISTINCT ' ' as `__id`, 0 as `__cas`, name from #{#n1ql.bucket} WHERE #{#n1ql.filter} AND `creator` = $1 ")
List<Component> findDistinctNameByCreator(String creator);
The expectation is to receive the same output as CouchbaseTemplate does: