{"name":"@math.gl/sql","version":"0.0.0-stage","_id":"@math.gl/sql@0.0.0-stage","stub":true,"maintainers":[{"name":"ibgreen","email":"ib@unfolded.ai"}],"dist":{"shasum":"cb458ca37982138bee0cbf3db1f011db27795520","tarball":"http://registry-npm.ywwl.com/@math.gl/sql/download/@math.gl/sql-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-SHceGOAo6leJIiYPyBIIks4sugR5ZrU2a8YZPrHqyZR5v2aysBazkhs4yTe1t2+VWlZFjSALASDP6nNf9bwCsQ==","signatures":[{"sig":"MEUCIErHwFPSg7ePdI5oEDhU+2qKk4H1l/TG2VsQh7HMShxfAiEAwfiW0t0Bpzitb8HfEOE8bJiCg1GL+mhxePx8pyjUWTc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":334,"size":366,"noattachment":false,"key":"/@math.gl/sql/-/@math.gl/sql-0.0.0-stage.tgz"},"_npmUser":{"name":"ibgreen","email":"ib@unfolded.ai"},"description":"Temporary package placeholder for staged publishing","directories":{},"readme":"# @math.gl/sql\n\nA lightweight SQL query engine for Apache Arrow tables.\n\n```bash\nnpm install @math.gl/sql apache-arrow\n```\n\n```ts\nimport {tableFromArrays} from 'apache-arrow';\nimport {queryArrowSQL} from '@math.gl/sql';\n\nconst orders = tableFromArrays({quantity: new Int32Array([2, 1, 3])});\nconst result = queryArrowSQL(\n  'SELECT SUM(quantity) AS units FROM orders',\n  new Map([['orders', orders]])\n);\nconsole.log(result.getChild('units')?.get(0)); // 6n\n```\n\nQuery native Arrow tables, compute columns, aggregate record batches, or run structured queries\nin workers. Apache Arrow 17 or later is required for execution. The `/parser` and `/expressions`\nentry points work without Arrow. Optional `/math-functions` and `/color-functions` entries\nprovide typed query functions.\n\nSee the [SQL documentation](https://math.gl/docs/modules/sql) for the supported SQL subset,\nstreaming APIs, worker execution, and examples.\n","publish_time":1794855857770,"_cnpm_publish_time":1794855857770,"dist-tags":{"beta":"5.0.0-beta.12","latest":"5.0.0-beta.11"}}