|
| 1 | +--- |
| 2 | +date: 2025-04-15 |
| 3 | +title: 'Spice v1.1.2 (Apr 14, 2025)' |
| 4 | +type: blog |
| 5 | +authors: [phillipleblanc] |
| 6 | +tags: [release, delta, tableau, snowflake, sql, nsql] |
| 7 | +--- |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | +Announcing the release of Spice v1.1.2! 🔗 |
| 12 | + |
| 13 | +Spice v1.1.2 improves Delta Lake Data Connector performance, introduces new Accept headers for the `/v1/sql` and `/v1/nsql` endpoints to include query metadata with results, and resolves an issue with the Snowflake Data Connector when handling wide tables (>600 columns). |
| 14 | + |
| 15 | +The official Tableau Connector for Spice.ai v0.1 has been released, making it easy to connect to both self-hosted Spice.ai and Spice Cloud instances using Tableau. |
| 16 | + |
| 17 | +## What's New in v1.1.2 |
| 18 | + |
| 19 | +- **Tableau Connector for Spice.ai**: Released the initial version (v0.1) of the official Tableau Taco Connector (fully open-source), enabling data visualization and analytics in Tableau with self-hosted Spice.ai and Spice Cloud deployments. |
| 20 | + |
| 21 | + - Official Release: [github.com/spicehq/tableau-connector/releases/tag/v0.1.0](https://github.com/spicehq/tableau-connector/releases/tag/v0.1.0) |
| 22 | + - Docs: [spiceai.org/docs/clients/tableau](https://spiceai.org/docs/clients/tableau) |
| 23 | + - Open Source Repository: [github.com/spiceai/tableau-connector](https://github.com/spiceai/tableau-connector) |
| 24 | + |
| 25 | +- **Delta Lake Data Connector**: Upgraded `delta_kernel` to v0.9, and optimized scan operations, reducing query execution time by up to 20% on large datasets. |
| 26 | + |
| 27 | +- **Snowflake Data Connector**: Fixed a bug that caused failures when loading tables with more than 600 columns. |
| 28 | + |
| 29 | +- **Query Metadata (SQL and NSQL)**: Added support for the `application/vnd.spiceai.sql.v1+json` Accept header on the `/v1/sql` endpoint, and the `application/vnd.spiceai.nsql.v1+json` Accept header on the `/v1/nsql` endpoint, enabling responses to include metadata such as the executed SQL query and schema alongside results. |
| 30 | + |
| 31 | +Example: |
| 32 | + |
| 33 | +```bash |
| 34 | +curl -XPOST "http://localhost:8090/v1/nsql" \ |
| 35 | + -H "Content-Type: application/json" \ |
| 36 | + -H "Accept: application/vnd.spiceai.nsql.v1+json" \ |
| 37 | + -d '{ |
| 38 | + "query": "What’s the highest tip any passenger gave?" |
| 39 | + }' | jq |
| 40 | +``` |
| 41 | + |
| 42 | +Example response: |
| 43 | + |
| 44 | +```json |
| 45 | +{ |
| 46 | + "row_count": 1, |
| 47 | + "schema": { |
| 48 | + "fields": [ |
| 49 | + { |
| 50 | + "name": "highest_tip", |
| 51 | + "data_type": "Float64", |
| 52 | + "nullable": true, |
| 53 | + "dict_id": 0, |
| 54 | + "dict_is_ordered": false, |
| 55 | + "metadata": {} |
| 56 | + } |
| 57 | + ], |
| 58 | + "metadata": {} |
| 59 | + }, |
| 60 | + "data": [ |
| 61 | + { |
| 62 | + "highest_tip": 428.0 |
| 63 | + } |
| 64 | + ], |
| 65 | + "sql": "SELECT MAX(\"tip_amount\") AS \"highest_tip\"\nFROM \"spice\".\"public\".\"taxi_trips\"" |
| 66 | +} |
| 67 | +``` |
| 68 | + |
| 69 | +For details, see the [SQL Query API](https://spiceai.org/docs/api/HTTP/post-sql) and [NSQL API](https://spiceai.org/docs/api/HTTP/post-nsql) documentation. |
| 70 | + |
| 71 | +## Contributors |
| 72 | + |
| 73 | +- [@ewgenius](https://github.com/ewgenius) |
| 74 | +- [@peasee](https://github.com/peasee) |
| 75 | +- [@lukekim](https://github.com/lukekim) |
| 76 | +- [@phillipleblanc](https://github.com/phillipleblanc) |
| 77 | +- [@Sevenannn](https://github.com/Sevenannn) |
| 78 | +- [@sgrebnov](https://github.com/sgrebnov) |
| 79 | +- [@kczimm](https://github.com/kczimm) |
| 80 | + |
| 81 | +## Breaking Changes |
| 82 | + |
| 83 | +No breaking changes in this release. |
| 84 | + |
| 85 | +## Cookbook Updates |
| 86 | + |
| 87 | +No major cookbook additions. |
| 88 | + |
| 89 | +The [Spice Cookbook](https://spiceai.org/cookbook) now includes 65 recipes to help you get started with Spice quickly and easily. |
| 90 | + |
| 91 | +## Upgrading |
| 92 | + |
| 93 | +To upgrade to v1.1.2, use one of the following methods: |
| 94 | + |
| 95 | +**CLI**: |
| 96 | + |
| 97 | +```console |
| 98 | +spice upgrade |
| 99 | +``` |
| 100 | + |
| 101 | +**Homebrew**: |
| 102 | + |
| 103 | +```console |
| 104 | +brew upgrade spiceai/spiceai/spice |
| 105 | +``` |
| 106 | + |
| 107 | +**Docker**: |
| 108 | + |
| 109 | +Pull the `spiceai/spiceai:1.1.2` image: |
| 110 | + |
| 111 | +```console |
| 112 | +docker pull spiceai/spiceai:1.1.2 |
| 113 | +``` |
| 114 | + |
| 115 | +For available tags, see [DockerHub](https://hub.docker.com/r/spiceai/spiceai/tags). |
| 116 | + |
| 117 | +**Helm**: |
| 118 | + |
| 119 | +```console |
| 120 | +helm repo update |
| 121 | +helm upgrade spiceai spiceai/spiceai |
| 122 | +``` |
| 123 | + |
| 124 | +## What's Changed |
| 125 | + |
| 126 | +### Dependencies |
| 127 | + |
| 128 | +- **[delta_kernel](https://crates.io/crates/delta_kernel/0.9.0):** updated to v0.9.0. |
| 129 | + |
| 130 | +### Changelog |
| 131 | + |
| 132 | +- Backport - Fix schema inference for Snowflake tables with large number of columns #5348 by [@ewgenius](https://github.com/ewgenius) in [#5350](https://github.com/spiceai/spiceai/pull/5350) |
| 133 | +- Upgrade `delta_kernel` to 0.9 (#5343) by [@phillipleblanc](https://github.com/phillipleblanc) in [#5356](https://github.com/spiceai/spiceai/pull/5356) |
| 134 | +- Add basic support for `application/vnd.spiceai.sql.v1+json` format (#5333) by [@sgrebnov](https://github.com/sgrebnov) in [#5333](https://github.com/spiceai/spiceai/pull/5333) |
| 135 | +- Convert DataFusion filters to Delta Kernel predicates by [@phillipleblanc](https://github.com/phillipleblanc) in [#5362](https://github.com/spiceai/spiceai/pull/5362) |
| 136 | +- revert to previous pdf-extract; remove test for encrypted pdf support by [@kczimm](https://github.com/kczimm) in [#5355](https://github.com/spiceai/spiceai/pull/5355) |
| 137 | +- Turn off `delta_kernel::log_segment` logging and refactor log filtering by [@phillipleblanc](https://github.com/phillipleblanc) in [#5367](https://github.com/spiceai/spiceai/pull/5367) |
| 138 | +- Extend `application/vnd.spiceai.sql.v1+json` with `schema` and `row_count` fields by [@sgrebnov](https://github.com/sgrebnov) in [#5365](https://github.com/spiceai/spiceai/pull/5365) |
| 139 | +- Make separate `vnd.spiceai.sql.v1+json` and `vnd.spiceai.nsql.v1+json` MIME types by [@sgrebnov](https://github.com/sgrebnov) in [#5382](https://github.com/spiceai/spiceai/pull/5382) |
| 140 | + |
| 141 | +**Full Changelog**: [v1.1.1...v1.1.2](https://github.com/spiceai/spiceai/compare/v1.1.1...v1.1.2) |
0 commit comments