
test_files.runtime-spark.LocalClauses.OrderClauseLocal4.jq Maven / Gradle / Ivy
(:JIQS: ShouldRun; Output="({ "product" : "toaster", "store number" : 2 }, { "product" : "toaster2", "store number2" : 2 }, { "product" : "broiler", "store number" : 1, "quantity" : 20 }, { "product" : "broiler", "store number" : 1, "quantity" : 30 })":)
for $i in (
{ "product" : "broiler", "store number" : 1, "quantity" : 20 },
{ "product" : "broiler", "store number" : 1, "quantity" : 30 },
{ "product" : "toaster", "store number" : 2 },
{ "product" : "toaster2", "store number2" : 2 })
order by $i."quantity" empty least
return $i
(: single field ordering - ascending - empty least :)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy