I am connected to a postgresql table on a server which has dates. There are about 72M rows in this table. I would like to cut that number down to manageable one by extracting all the rows with year 2022. The date column is in the following format β2018-02-02 14:11:32.180β. I have looked at Extract date & field node which is:
I can not connect this node to a the database nodes like:
My question, is there a different date extraction node that I can use in this instance when I am connected to a postgresql data base table?
Thanks izaychik63. There are about 72M rows in the original table, reading it into knime table will be time consuming and it will take lot of memory space as well. This is why I wanted to filter the rows by just looking at the data for 2022. But I need to perform this as a row filer using date hence I was looking at the extract data & time fields node
Let me ask another question, if I wanted to run group by on the data column to see how many rows are there for every year where I donβt know what the earliest and latest years are, how would I do that?
My solution was to extract some how the year from the data and then run group by on the new date column. My challenge is that I donβt have a year extractor node for a database table. The one below works for non-database tables.