dbeaver / dbeaver/dbeaver

CSV: Wrong filter applied on boolean columns

Open
#14,239 1 comment 0 reactions 1 assignee Claimed by @Destrolaric View on GitHub
xf:data
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 8h
Merged PRs (30d)
188

Description

#### System information:
- Operating system (distribution) and version Win10
- DBeaver version 21.2.3

#### Connection specification:
- Database name and version CSV

#### Describe the problem you're observing:
When filter is applied by column header or context menu on boolean column, value is not quoted in the query. This leads to an error.

#### Steps to reproduce, if exist:
1. Open a CSV file with a boolean column
2. Apply a filter to this column through header or context menu

**Expected:** Filter is applied
**Actual:** Value is not quoted which leads to an error

![dbeaver_BPmYWuV8d4](https://user-images.githubusercontent.com/82543000/137275183-a9377510-16d2-4215-ac89-3b3015427642.png)

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.