Yes
it spit out perfectly working code. The queries werent that complex, but it saved me hours googling a bunch of random spark SQL syntax
ldjkfkdsjnv on Hacker News
In the thread “ChatGPT is now finding bugs in databases”
Helped: Generating working Spark SQL code from natural language queries.
… I needed to do some quick and dirty data analytics on large datasets. Rather than read documentation, I just put the queries i needed in english into chatGPT, and it spit out perfectly working code. The queries werent that complex, but it saved me hours googling a bunch of random spark SQL syntax. The old school way is google sends you links, and through those code examples, you build up all the edge cases you need for your code to work. …