Spark SQL
How Atracode compiles Spark SQL, what it is verified against, and what it refuses.
- Kind
- Query and data languages
- Verified against
- Apache Spark
- Published results
- Per release, in the changelog
What is supported
Spark SQL queries over structured data, with no cluster: the same rows in the same order every time.
Atracode stands in for the engine itself, so queries run with no database server or cluster.
How it is verified
Spark SQL isn't only compiled: Atracode stands in for the engine or library that would normally run it, and every result is checked against Apache Spark. Outputs must match exactly, and the result gets a behavior hash like any other program.
$ atracode compile main.src
verified raven:3f1c… (illustrative)What gets refused
Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.