Skip to content

v0.18.0

Compare
Choose a tag to compare
@ajnavarro ajnavarro released this 17 Dec 12:23
c533882

Bugfixing

  • Replace one regex by pool of regex matchers to avoid panics on machines with a lot of cores.
  • *: fix query cancellation
  • Fix uast_extract panic.
  • Add explicit error when ON clause is missed on JOIN
  • Add error for subqueries as expressions (not supported)
  • Fix on filtered lookups using pilosa in
  • server: make gitbase the current database (#593)
  • sql/(plan, parse): fix show table status behavior
  • SQL: process list now shows client addres

New features

  • Show pushed down properties to tables in explain
  • Initialize global open tracing
  • multi-stage docker file
  • add warns to session on uast functions
  • function: implement NOW function
  • Follow symlinks on repository loading phase
  • IFNULL function
  • NULLIF function
  • MID and SUBSTR functions
  • TRIM, LTRIM, RTRIM functions
  • REVERSE, REPEAT, REPLACE functions
  • Upgrade MySQL + tableau support + auth interface.
  • function: make max bblfsh blob size configurable
  • *: make UAST functions fail on connection errors
  • function: log bblfsh errors on UAST instead of returning them
  • add information_schema db.
  • cli/server: use new auth interface
  • Add Trim, Ltrim, Rtrim
  • sql: add information_schema.schemata table
  • RPAD, LPAD
  • Add WarningCount to sql.Session interface
  • Add support for information_schema.columns
  • sql, function: add weekday and dayofweek
  • Implement DATABASE() function.
  • sql, function: add concat_ws
  • Add support for DEFAULT
  • sql: collect warnings and errors in the session
  • sql: function, added soundex
  • Add ln, log, log2, log10
  • sql/(parse,expression): implement unary minus
  • sql: support more timestamp formats
  • Implement group by index
  • feature: Power and Sqrt
  • modify uast functions and session to make use of bblfsh/client-go.v3
  • sql/(parse,expression): implement unary minus
  • sql: support more timestamp formats
  • sql: implement SHOW CREATE DATABASE statement
  • *: implement LOCK and UNLOCK of tables
  • *: add information_schema db with files and column_statistics tables
  • function: add CONNECTION_ID UDF
  • function: implement JSON_EXTRACT UDF
  • sql: expression: function: Add CEIL, CEILING, FLOOR
  • sql: expression: function: Add ROUND()
  • sql: plan: Add SHOW CREATE TABLE
  • Implementation of COALESCE function.
  • sql: implement SHOW FIELDS statement
  • sql: implement LIKE expression
  • sql: expression: function: Add LOWER, UPPER
  • sql/parse: strip comments from queries

Performance improvements

  • Remove duplicate filters in squashed ref_commits
  • Do not iterate all references in squashed ref_commits
  • Update go-git version to 4.8.1
  • analyzer: add rule to prune unnecessary columns
  • Update Dockerfile to reduce image size
  • sql/analyzer: add rule to avoid unnecessary casts
  • update to [email protected]
  • sql: add timing info to span traces

Documentation

  • Upgrade bblfshd version in docs.
  • docs: add explanation about using explain to assess performance issues
  • docs: add example of how to use show processlist
  • examples: added repository_ids in non-natural joins
  • docs: add missing supported expressions
  • docs: reflect changes introduced by UAST v2 in the documentation
  • docs: add supported clients