qpl icon indicating copy to clipboard operation
qpl copied to clipboard

How to perform filter operations on a CSV/Parquet file

Open Johnnyjax opened this issue 1 year ago • 1 comments

Hello, I can't seem to find an example that reads from a CSV file to perform a filter operation like scan or extract. Does QPL support this? I know IAA works with in-memory databases, so does one have to convert to some format first supported by IAA?

Thanks.

Johnnyjax avatar Apr 01 '24 21:04 Johnnyjax

Hi @Johnnyjax , QPL doesn't support reading specific input formats, but rather reading a raw output, you'll need some sort of a wrapper function to parse CSV or any other format and input this into QPL. You can check out our current examples for scan to see how to use QPL APIs at https://github.com/intel/qpl/blob/develop/examples/low-level-api/scan_for_specific_value_example.cpp.

mzhukova avatar Apr 30 '24 20:04 mzhukova

Closing as no reply in a long time, please feel free to re-open if still relevant.

mzhukova avatar Aug 12 '24 20:08 mzhukova