Skip to main content

v0.7.2

· 7 min read

Release date: April 08, 2024

This is a patch release, containing a critial bug fix to avoid wrongly delete data files (#3635).

It's highly recommended to upgrade to this version if you're using v0.7.

Breaking changes

  • refactor!: Renames the new memtable to PartitionTreeMemtable by @evenyag in #3547
  • fix!: columns table in information_schema misses some columns by @killme2008 in #3639

🚀 Features

  • feat: Partition memtables by time if compaction window is provided by @evenyag in #3501
  • feat: acquire all locks in procedure by @WenyXu in #3514
  • feat: implement the drop database parser by @WenyXu in #3521
  • feat(mito): Checks whether a region should flush periodically by @evenyag in #3459
  • feat(metasrv): implement maintenance by @tisonkun in #3527
  • feat: update dashboard to v0.4.9 by @ZonaHex in #3531
  • feat: support per table memtable options by @evenyag in #3524
  • feat(flow): shared in-memory state for dataflow operator by @discord9 in #3508
  • feat: update pgwire to 0.20 for improved performance by @sunng87 in #3538
  • feat: support multi params in promql range function macro by @Taylor-lagrange in #3464
  • feat: support append-only mode in time-series memtable by @v0y4g3r in #3540
  • feat: Able to pretty print sql query result in http output by @YCCDSZXH in #3539
  • feat: return new added columns in region server's extension response by @waynexia in #3533
  • feat: update physical table's schema on creating logical table by @waynexia in #3570
  • feat: implement the drop database procedure by @WenyXu in #3541
  • feat: batch alter logical tables by @fengjiachun in #3569
  • feat: support time range in copy table by @v0y4g3r in #3583
  • feat: update physical table schema on alter logical tables by @fengjiachun in #3585
  • feat(auth): watch file user provider by @tisonkun in #3566
  • feat: Support printing postgresql's bytea data type in its "hex" and "escape" format by @J0HN50N133 in #3567
  • feat: Implement append mode for a region by @evenyag in #3558
  • feat: create regions persist true by @fengjiachun in #3590
  • feat: remove support for logical tables in the create table procedure by @fengjiachun in #3592
  • feat: adds metric engine to information_schema engines table by @killme2008 in #3599
  • feat: support 2+2 and /status/buildinfo by @waynexia in #3604
  • feat(tql): add initial support for start,stop,step as sql functions by @etolbakov in #3507
  • feat: Implement an unordered scanner for append mode by @evenyag in #3598
  • feat: allow cross-schema query in promql by @sunng87 in #3545
  • feat: let alter table procedure can only alter physical table by @fengjiachun in #3613
  • feat(function): add timestamp epoch integer support for to_timezone by @etolbakov in #3620
  • feat: impl show index and show columns by @killme2008 in #3577
  • feat: group requests by peer by @fengjiachun in #3619
  • feat: Support outputting various date styles for postgresql by @J0HN50N133 in #3602
  • feat: reject invalid timestamp ranges in copy statement by @v0y4g3r in #3623
  • feat(procedure): auto split large value to multiple values by @WenyXu in #3605
  • feat(procedure): enable auto split large value by @WenyXu in #3628
  • feat: introduce wal benchmarker by @niebayes in #3446
  • feat: adding victoriametrics remote write by @sunng87 in #3641
  • feat: Add timers to more mito methods by @evenyag in #3659
  • feat: cluster information by @fengjiachun in #3631
  • feat: update dashboard to v0.4.10 by @ZonaHex in #3663

🐛 Bug Fixes

  • fix: clone data instead of moving it - homemade future is dangerous by @waynexia in #3542
  • fix: performance degradation caused by config change by @v0y4g3r in #3556
  • fix(flow): Arrange get range with batch unaligned by @discord9 in #3552
  • fix: set http response chartset to utf-8 when using table format by @xxxuuu in #3571
  • fix: update pk_cache in compat reader by @waynexia in #3576
  • fix: incorrect version info in by @waynexia in #3586
  • fix: canonicalize catalog and schema names by @killme2008 in #3600
  • fix: adjust status code to http error code map by @waynexia in #3601
  • fix: run purge jobs in another scheduler by @evenyag in #3621
  • fix: mistakely removes compaction inputs on failure by @v0y4g3r in #3635
  • fix: move object store read/write timer into inner by @dimbtp in #3627
  • fix: construct correct pk list with pre-existing pk by @waynexia in #3614

🚜 Refactor

📚 Documentation

🧪 Testing

  • test: add a parameter type mismatch test case to sql integration test by @xxxuuu in #3568
  • test: add tests for drop databases by @WenyXu in #3594
  • test: add more integration test for kafka wal by @niebayes in #3190
  • test(sqlness): release databases after tests by @WenyXu in #3648

⚙️ Miscellaneous Tasks

Build

New Contributors

All Contributors

We would like to thank the following contributors from the GreptimeDB community:

@CookiePieWw, @J0HN50N133, @MichaelScofield, @Taylor-lagrange, @WenyXu, @YCCDSZXH, @ZonaHex, @dimbtp, @discord9, @etolbakov, @evenyag, @fengjiachun, @killme2008, @niebayes, @shuiyisong, @sunng87, @tisonkun, @v0y4g3r, @waynexia, @xxxuuu, @zhongzc