# Bag or no?

**URL:** <https://discuss.elastic.co/t/bag-or-no/144362>\
**Category:** Logstash\
**Created:** [August 14, 2018, 3:09pm UTC](https://discuss.elastic.co/t/bag-or-no/144362 "2018-08-14T15:09:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olha1](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Olha1](https://discuss.elastic.co/u/Olha1)\
**Post date:** [August 14, 2018, 3:09pm UTC](https://discuss.elastic.co/t/bag-or-no/144362/1 "2018-08-14T15:09:28Z")

</div>

Exception when executing JDBC query {:exception=\>#\<Sequel::DatabaseError: Java::OrgLogstash::MissingConverterException: Missing Converter handling for full class name=org.postgresql.util.PGobject, simple name=PGobject\>}  
I have this warn, when I want to output more then 1 value.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 14, 2018, 5:12pm UTC](https://discuss.elastic.co/t/bag-or-no/144362/2 "2018-08-14T17:12:31Z")

</div>

> [@Olha1](#):
>
> PGobject

Does [this](https://discuss.elastic.co/t/logstash-filter-to-extract-string-from-json-in-postgresql-table/141252/6) thread help? My guess is you need to CAST one of the columns to set its type.

---

<div class="post-metadata">

**Author:** ![Olha1](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Olha1](https://discuss.elastic.co/u/Olha1)\
**Post date:** [August 15, 2018, 10:28am UTC](https://discuss.elastic.co/t/bag-or-no/144362/3 "2018-08-15T10:28:17Z")

</div>

I solved this problem. I added CAST in date fields. Thanks @Badger for your advice.

---

<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:** [September 12, 2018, 10:28am UTC](https://discuss.elastic.co/t/bag-or-no/144362/4 "2018-09-12T10:28:18Z")

</div>

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