Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support filtering NUMERIC type #286

Open
mkaruza opened this issue Oct 15, 2024 · 1 comment
Open

Support filtering NUMERIC type #286

mkaruza opened this issue Oct 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mkaruza
Copy link
Collaborator

mkaruza commented Oct 15, 2024

No description provided.

@JelteF JelteF added the enhancement New feature or request label Oct 15, 2024
@Leo-XM-Zeng
Copy link
Contributor

Should be this time #477 commit, incidentally fix this issue. So this problem can theoretically be turned off

postgres=# create table numeric_test2(empno numeric(4,0), sal numeric(7,2)); 
CREATE TABLE
postgres=# insert into numeric_test2 values(7369,800.00);
INSERT 0 1
postgres=# select * from numeric_test2;
 empno |  sal   
-------+--------
  7369 | 800.00
(1 row)

postgres=# select count(*) from numeric_test2 where empno >= 0.25;
 count 
-------
     1
(1 row)

postgres=# select count(*) from numeric_test2 where sal >= 0.25;   
 count 
-------
     1
(1 row)

postgres=# select * from numeric_test2 where sal >= 0.25;   
 empno |  sal   
-------+--------
  7369 | 800.00
(1 row)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants