dbeaver / dbeaver/dbeaver

`Hide columns with no data` doesn't work for `composite types from table alias`

Open
#36,099 1 comment 0 reactions 0 assignees View on GitHub
xf:data
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 13h
Merged PRs (30d)
183

Description

### Description

use code:
```
--add empty table to any existing table
alter table actor add column some_column int null;

--select alias as a composite type
select a
from actor as a;
```
- click "Hide columns with no data"

Actual: the column "some_column" remains visible
Expected: the column "some_column" is hidden

https://github.com/user-attachments/assets/59536dee-8828-4eb0-b125-bfcddd18c82d

### DBeaver Version

Enterprise Edition 24.2.4-202410262322

### Operating System

Windows 10

### Database and driver

PostgreSQL 16
PostgreSQL JDBC Driver 42.7.4

### Steps to reproduce

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.