Thursday, June 13, 2024
HomeBig DataRockset provides Excel spreadsheet help: Use SQL throughout XLSX recordsdata and be...

Rockset provides Excel spreadsheet help: Use SQL throughout XLSX recordsdata and be a part of with different JSON, CSV or Parquet knowledge

An unimaginable quantity of enterprise knowledge is floating round in Excel spreadsheets – so knowledge scientists usually want to research knowledge throughout a number of worksheets and even a number of spreadsheets utilizing SQL. Moreover, this knowledge might have to be joined with different knowledge units which can be in JSON, CSV or Parquet codecs.

Microsoft Excel at present has some primary SQL help in place:

  1. Use SQL for connecting to an exterior database like Entry or SQL Server, parsing area or desk contents and importing the information.
  2. Use SQL for studying a worksheet (SELECT * FROM [Sheet1$]) or studying a variety (SELECT * FROM MyRange).

Nevertheless it doesn’t help complicated SQL evaluation throughout a number of spreadsheets and different knowledge units.

Utilizing Rockset to research Excel spreadsheets

Rockset’s core superpower is the power to ingest completely different knowledge codecs like JSON, CSV or Parquet from completely different sources like native desktops, knowledge lakes, streaming sources and on-line databases – and instantly energy quick SQL throughout all these knowledge units. We not too long ago added help for Excel spreadsheets (see documentation), which suggests now you can ingest XLSX recordsdata right into a Rockset assortment and immediately question throughout them utilizing full-featured SQL with millisecond latency.


Begin by creating a brand new assortment, say MyCollection, in Rockset and ingesting your Excel spreadsheets. Your XLSX recordsdata might be uploaded out of your native host utilizing Rockset’s file uploader, or bulk ingested from a knowledge lake like AWS S3. Rockset will robotically parse and index the contents of the spreadsheet in order that it is able to question. We make the most of Rockset’s robust dynamic typing in SQL to realize this.



Begin through the use of the DESCRIBE command to record the out there fields in your assortment. Every row in your spreadsheet will correspond to a doc in Rockset. You would possibly need to question the primary a number of rows to see the form of the information:

FROM MyCollection
ORDER BY rownum

In case you have different Rockset collections with different spreadsheets or nested JSON, CSV, Parquet knowledge now you can run commonplace SQL to hitch and analyze your knowledge units. We regularly see examples of fascinating knowledge science on nested JSON.


As soon as you’re performed together with your evaluation you should utilize Rockset because the serving layer for an app or a stay dashboard utilizing a visualization device of your alternative.

For instance, right here is an fascinating evaluation of traits in faculty monetary assist utilizing SQL throughout XLSX and CSV recordsdata.

Screen Shot 2019-01-18 at 3.11.44 PM



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments