Hey
@ash, thanks! At present the tables are pretty limited, in your hosted version it's limited to 1500 records:
https://community.activepieces.com/t/tables-limits-importing-csvs/9442
The reason for this from my initial glance is likely related to performance which is mentioned there - a lot of the work is done in-memory on the server itself using an EAV pattern instead of the database itself. The great benefit of that is it means that the underlying database schema doesn't need changing, but from performance/scaling it opens a lot of challenges and means can't use the database engine for what it's good for.
I'll put together something properly in the next couple of days and share as there are a few different implementation options with different sets of trade-offs: But I can see a fairly easy way to create much more powerful but still easy-to-use operations available in terms of filtering/sorting etc.
A couple of things to check from my side:
- It would need to support both Postgres and SQLite I assume?
- Depending upon whether permissions were present to create tables in Postgres for this and amend schemas - could leverage built-in features more. However, from a security perspective this is likely to be more nuanced - so was wondering if the current implementation was intentional because of this?
Just quickly wrote the above informally whilst sat on a call, apologies for any mistakes!