Skip to content

YOJ 2.6.19 (Query statistics)

Compare
Choose a tag to compare
@nvamelichev nvamelichev released this 19 Jun 21:29
· 19 commits to main since this release

❌ Please do not use this release as it can cause NPE in YdbRepositoryTransaction.trace(), use 2.6.21 instead.

  • Add query statistics collection and improve query traces
    • Query traces are now easier to read by humans, and also include more information. For maximum verbosity, enable the following Java system properties:
      • tech.ydb.yoj.repository.ydb.trace.dumpYdbParams: Additionally log converted query parameter values, as represented by YDB Java SDK Value
      • tech.ydb.yoj.repository.ydb.trace.verboseObjParams: Log all statement parameters, not just the first few
      • tech.ydb.yoj.repository.ydb.trace.verboseObjResults: Log all statement results, not just the first few
  • #148: Remove --!syntax_v1 directive from YQL queries generated by YOJ