# Transforms cannot group by boolean

**URL:** <https://discuss.elastic.co/t/transforms-cannot-group-by-boolean/238752>\
**Category:** Elasticsearch\
**Created:** [June 25, 2020, 7:48pm UTC](https://discuss.elastic.co/t/transforms-cannot-group-by-boolean/238752 "2020-06-25T19:48:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavier\_Marti\_Bofill](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xavier_marti_bofill/32/67923_2.png) [@Xavier\_Marti\_Bofill](https://discuss.elastic.co/u/Xavier_Marti_Bofill)\
**Post date:** [June 25, 2020, 7:48pm UTC](https://discuss.elastic.co/t/transforms-cannot-group-by-boolean/238752/1 "2020-06-25T19:48:10Z")

</div>

When I try to add a boolean field into the group\_by list of a transform, preview returns me an error:  
"type" : "illegal\_argument\_exception",  
"reason" : "Value of type [class java.lang.Boolean] is not supported"

Am I using it the wrong way?

---

<div class="post-metadata">

**Author:** ![Hendrik\_Muhs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hendrik_muhs/32/25802_2.png) [@Hendrik\_Muhs](https://discuss.elastic.co/u/Hendrik_Muhs)\
**Post date:** [June 29, 2020, 7:46pm UTC](https://discuss.elastic.co/t/transforms-cannot-group-by-boolean/238752/2 "2020-06-29T19:46:28Z")

</div>

Thanks for reporting, I created an [issue](https://github.com/elastic/elasticsearch/issues/58697) in the github repository.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 27, 2020, 7:46pm UTC](https://discuss.elastic.co/t/transforms-cannot-group-by-boolean/238752/3 "2020-07-27T19:46:33Z")

</div>

Closed on July 27, 2020, 7:46pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
