v1.3.2
Release date: November 30, 2026
GreptimeDB v1.3.2 fixes DELETE and query correctness issues, numeric precision loss during imports, and COPY authorization checks. It also adds remote storage access controls and bundles Dashboard v0.14.7.
👍 Highlights
Security
query.remote_allowed_hostsrestricts the hosts that SQL object-storage operations can reach, andquery.allow_server_credentialscontrols whether those operations can use the server's credentials. The host list is empty (unrestricted) and server credentials are allowed by default; explicit connection credentials now undergo stricter validation. (#10627, GHSA-qrqc-44gj-v7qr)- With
user_providerconfigured, frontend and standalone/debug/*endpoints require authentication. COPY exports require read permission in addition to write permission, and database COPY checks the tables it actually reads or writes. (#10592, #10375) - Prometheus remote write no longer constructs unchecked UTF-8 strings in
uncheckedmode, preventing unreadable WAL records. Vector accessors now check bounds before reading array values. (#10593, #10594, GHSA-2mvg-fq4p-v48x)
Query and DELETE correctness
Fixes these incorrect results:
- With
merge_mode = 'last_non_null', deleted rows reappear when a field filter is applied, and deleted field values reappear after a row is reinserted with NULL fields. (#10707, #10717, #10726) DELETEon a table partitioned by a non-primary-key column reports success but leaves the row in place. (#10710)- On file engine tables, filters on primary key and time index columns can be dropped, and
ORDER BY ... LIMITcan return the wrong rows. (#10547) - A time index
INlist that mixes literals and other expressions prunes matching rows. (#10357) - SSTs with a different dense primary key order are merged without deduplication, so
COUNTandSUMcan overcount. (#10326)
Large string and binary fields
Flush and compaction use smaller row groups for wide rows to reduce memory use and avoid Parquet byte-array decoding failures. Sizing targets 128 MiB per row group using estimated row widths; unevenly sized rows can exceed that target. (#10528, #10585)
Numeric precision in COPY FROM
COPY FROM preserves numeric precision when importing DECIMAL columns from CSV or JSON and BIGINT UNSIGNED columns from JSON. DECIMAL values still round to the column's scale; out-of-range values now return an error instead of becoming NULL. (#10560)
Dashboard v0.14.7
Table views allocate enough width for formatted timestamps, and the Flow list keeps action columns at their declared width when fitting the table to its container. PromQL completion and hover tooltips no longer get clipped by the editor or covered by the results pane. (Dashboard #678, Dashboard #680, Dashboard #677)
Upgrade notes
- SSTs written by v1.3.2 can contain index segments that span row groups and require v1.2.0 or later readers. Do not mix v1.3.2 with v1.1.x or earlier readers, or downgrade to those versions. (#10528, #10585)
- For tables whose primary key order changed after an earlier
ADD COLUMN, runADMIN reconcile_tableonly when the regions have consistent metadata. Reconciliation restores table metadata; it does not repair SSTs written with a different key order. (#10591, #10251) - Before merging partitions, compact regions whose SST partition expressions differ from the region's expression, including old SSTs with no recorded expression. If repartition has entered staging, abort it before compaction; enterprise shared SSTs require table compaction. (#10646)
- Complete datanode upgrades before running merge repartitions with v1.3.2 metasrv: older datanodes reject the new ownership precheck. Splits and one-to-one repartitions do not run this check. (#10646)
- To restrict SQL access to remote object storage, configure
query.remote_allowed_hostsandquery.allow_server_credentialson frontend and datanode services, or standalone. By default, the host list is empty (unrestricted) and server credentials are allowed. (#10627) - A nonempty
query.remote_allowed_hostslist disables HTTP redirects and checks credential requests too; include required credential-service hosts, such asoauth2.googleapis.com, but do not allow instance-metadata or internal management services. Withquery.allow_server_credentials = false, supply credentials in connection options or use OSS anonymous access. (#10627) - In earlier versions,
ALTER TABLE ADD COLUMNdropped column comments. Check previously added columns for missing comments after upgrading. (#10556)
Breaking changes
- With
user_providerconfigured, frontend and standalone/debug/*requests require credentials. Update profiling and diagnostic scripts accordingly. (#10592) - COPY exports require read permission through
copy.toin addition to write permission, and database COPY checks the actual source or destination tables. Custom permission checkers for experimental metric exports must replacedatabase.exportgrants withcopy.to;continue_on_errordoes not bypass permission failures. (#10375) - Prometheus
prom_validation_mode = "unchecked"now decodes likelossy, replacing invalid UTF-8 with U+FFFD to prevent unreadable WAL records. Existing configurations remain accepted. (#10593) - SST reads with mismatched dense primary key order fail with
primary key has different prefixinstead of returning incorrect results. This check does not apply to sparse primary keys. (#10326) - Numeric
COPY FROMimports reject DECIMAL overflow instead of converting it to NULL. (#10560) - Explicit S3 and signed OSS connections require both access-key fields; an S3 session token also requires both fields. Azure account keys require an account name, supplied explicitly or derived from the endpoint. (#10627)
- Explicit GCS
credentialvalues must be base64-encoded service-account keys withprivate_keyandclient_email; other credential types are rejected. Existing external tables with rejected connection options must have those options corrected or be recreated before they can be scanned. (#10627)
🚀 Features
- feat: update dashboard to v0.14.7 by @sunchanglong in #10551