Skip to content

v0.7.0

Pre-release
Pre-release

Choose a tag to compare

@kennytm kennytm released this 23 Jan 10:10
8b16ee3
  • Support arrays
    • Construct an array with ARRAY[1, 2, 3]
    • Extract an element with @array[1]
  • Support global expressions: evaluating some expressions before generating the data file, used in initialize some shared constants.
  • New syntax:
    • CASE WHEN expression without the "case" value.
    • current_timestamp
    • Statements a; b; c, which evaluates all 3 expressions but only keep the last result
    • Bitwise operators a & b | c ^ ~d
  • New functions:
    • substring
    • char_length, octet_length
    • overlay
    • div
    • mod
    • coalesce
    • generate_series
    • rand.shuffle
    • rand.uuid
  • New CLI flags:
    • --no-schemas (do not dump schemas)
    • --now (override the value of current_timestamp)
    • -D, --initialize (specify global expressions from command line)
  • Added step (mock) RNG