Run SQL on JSON files without any data loads
citusdata.com
Run SQL on JSON files without any data loads
1–10 of 37 posts
Re: Run SQL on JSON files without any data loads
#2Re: Run SQL on JSON files without any data loads
#3You can run SQL queries on individual JSON files... but you have to have PostgreSQL installed already.
And you can't run it against multiple JSON files, only one, with a single JSON object at the root.
Re: Run SQL on JSON files without any data loads
#4Re: Run SQL on JSON files without any data loads
#5Re: Run SQL on JSON files without any data loads
#6Re: Run SQL on JSON files without any data loads
#7I am mystified as to when this tool would be useful (can anybody else think of a practical use case?). You can run SQL queries on individual JSON files... but you have to have PostgreSQL installed already. And you can't run it against multiple JSON files, only one, with a single JSON object at the root.
Re: Run SQL on JSON files without any data loads
#8The reality is it is one of the most amazing open source projects I know - enough to rival Linux itself for me.
These little snippets of PostgreSQL features and facilities which keep being posted give just a tiny hint of the truly enterprise grade features and facilities it has - I just wish I still had as much time to keep on top of it as I once did but I still keep it as my go-to database for project development. I've even dropped it in to replace full blown Oracle systems for serious cost savings.
The developers should be receiving far more kudos than they do.
Re: Run SQL on JSON files without any data loads
#9I am mystified as to when this tool would be useful (can anybody else think of a practical use case?). You can run SQL queries on individual JSON files... but you have to have PostgreSQL installed already. And you can't run it against multiple JSON files, only one, with a single JSON object at the root.
A good use case is exploring external APIs, many of which come back as JSON. This might be a faster awy to figure out what you're dealing with: how large, how many, unique values, mins, maxes, etc. It could be especially useful if you need to match it to existing keys or metadata that you already have in the same database. To solve this same problem before, I've written lots of one-off scripts that convert the JSON into a CSV so that I can view it in Excel. This may or may not help me there, but good to see another tool.
Re: Run SQL on JSON files without any data loads
#10Admittedly, it's aimed at novice users so if you're comfortable with SQL it may feel limiting.