DBeaver / ProgreSQL – Array Datatype

Background

In our last post spoke of a little issue we experienced issuing a query against a PostgreSQL Instance.

Issue

The Issue is that our result set included an array column.

array_agg

Documentation

Link

array_agg.doc.png

SQL

select 

          tblUSR.name
            as "region"

        , array_agg
            (
                tblUSS.name
            )
                as "stateAsArray"

from   us.state tblUSS

inner join us.region tblUSR

        on tblUSS.region = tblUSR.name

group by
    tblUSR.name

order by
    tblUSR.name

Output

state.region.array.01.20190809.0915AM.PNG

Troubleshooting

Dbeaver

Support

Visited dbeaver support website @ Github.

Here is the URL ( https://github.com/dbeaver/dbeaver/issues ) [ Link ]

Issued a query matching on PostgreSQL ( Link).

Matched

Here are the matches :-

Image

issue.array.01.20190809.0407PM.PNG

Textual

  1. Web Link :- https://github.com/dbeaver/dbeaver/issues/6437 ( Link )
  2. Opened
    • Opened By :- pyrocks
    • Opened On :- Commented 5 days ago ( 2019-08-04 )
  3. Fixed
    • Confirm fixed in 6.1.4

 

Remediation

Check your current version.

If prior to v6.1.4, please download and apply new version.

Here is what our version number looked like prior to upgrade.

issue.v6.1.3.PNG

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s