Category: 2-SPL-Application-Development

How to operate large CSV files with esProc SPL

esProc SPL provides cursor operations, which can operate large CSV files with very simple code. With slight modifications, it can be converted into parallel computing. It also has a graphical interface, which is much more convenient than Python.First, go here to download esProc SPL: https://www.esproc.com/download-esproc/If you don’t want to bother with the source code, the standard edition can be used., download and install it.Prepare a large CSV file: Open the esProc IDE, create a new script, write SPL code in cell A1, and read the first 100 entries: The function cursor represents opening the text file with a cursor, and

...

How to execute SQL on CSV files with esProc SPL

esProc SPL supports simple SQL and can directly execute SQL statements on structured text files such as CSV, allowing for SQL calculations without the need for a database.Download esProc SPL first: https://www.esproc.com/download-esproc/If you don’t want to deal with the source code, you can simply download and install the standard edition.Prepare a CSV file of standard format. Start esProc IDE, create a new script, and write SQL in cell A1: Note that the preceding $ indicates that this statement is SQL, otherwise it is assumed to be a native SPL statement by default.Press Ctrl-F9 to execute, and on the right side,

...