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

Read() format="ArrayOfArrays/ArrayOfStructs" #361

Open
Daemach opened this issue Feb 16, 2024 · 1 comment
Open

Read() format="ArrayOfArrays/ArrayOfStructs" #361

Daemach opened this issue Feb 16, 2024 · 1 comment

Comments

@Daemach
Copy link

Daemach commented Feb 16, 2024

I like the speed of the readLargeFile() method, and returning a Java array of arrays is a workable format. It would be great to add this as an alternative format for spreadsheet.read(), as well as the array type that Lucee produces, which is an array of structs. These are much more efficient to process because of parallelization, and I need to produce an array of structs to insert/upsert using QB (https://qb.ortusbooks.com/), which I use extensively.

@cfsimplicity
Copy link
Owner

I think you're talking about readCsv() rather than readLargeFile().

I have thought about back-porting some of the benefits of readCsv() to read() but it's not straightforward I'm afraid because there are features that rely on query processing, plus some cross-engine issues.

Definitely on my wish list though if I can work it out.

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

No branches or pull requests

2 participants