Borehole · Project · free tier
heavyai/heavydb
Free reading: not for reliance
8c15222 · 10,902 commits · 3,886 files
Read 2026-11-03

heavyai/heavydb: technical due diligence, read from its repository

What Borehole read in heavyai/heavydb's code and history at 8c15222: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturitystrong
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

What the repository says

  • Releases are cut from another branch than the one surveyed
  • LICENSE.md: Relicensed: EULA → Apache-2.0 (2017-05-06)
  • CONTRIBUTING.md:16: names Linux Foundation

Architecture & Codebase — including AI provenance

strong
01.6

java/calcite/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java is 8,343 lines, 79× this codebase's median file

adequate

The median source file here is 105 lines. 92 files exceed 1,050 lines, the largest being 8,343. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.

Evidence
java/calcite/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:1 — 8,343 lines (79× median)
ThriftHandler/DBHandler.cpp:1 — 7,946 lines (75× median)
Catalog/Catalog.cpp:1 — 7,650 lines (72× median)
Parser/ParserNode.cpp:1 — 7,389 lines (70× median)
java/calcite/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java:1 — 6,820 lines (64× median)

Engineering Process & SDLC Maturity

strong

No finding.

Product & Engineering Maturity

strong
04.62

Releases are cut from another branch than the one surveyed

adequate

The newest release, v10.0.0, is not on the branch this survey read; the newest release on it is v9.0.0. The shipped product may differ from what this report describes. Survey the release branch too.

Evidence
tag v10.0.0

Security & Reliability Posture

adequate
05.6

2 Dockerfiles run the application as root

adequate

No USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.

05.20

1 SQL statement built from strings

adequate

1 places in product code build SQL by formatting or joining strings rather than passing parameters. In each, what the code shows going in is a table or column name, a constant, or something the line does not show, not a request's value. Ask whether any value reaches these strings, rather than a parameter.

05.9

5 vendored components with no licence

adequate

Third-party code is committed into this repository without any statement of the terms it arrived under. Unknown terms are harder to deal with than inconvenient ones: an awkward licence can be complied with, an absent one cannot. Each of these needs its origin established before the code changes hands.

Evidence
ThirdParty/LruCache — 1 tracked files, no licence file
ThirdParty/earcut — 1 tracked files, no licence file
ThirdParty/geo_samples — 2 tracked files, no licence file
ThirdParty/linenoise — 7 tracked files, no licence file
ThirdParty/vulkan — 1 tracked files, no licence file
05.60

Relicensed: EULA → Apache-2.0 (2017-05-06)

adequate

The root licence changed 1 time(s). Code taken under earlier terms stays under them; check which terms any fork or customer relied on.

Evidence
LICENSE.md — EULA from 2016-09-29
LICENSE.md — Apache-2.0 from 2017-05-06

Observability & Operations

adequate
06.1

No telemetry or error reporting is wired in anywhere

adequate

None of 2,935 readable files references an instrumentation, metrics or error-reporting library. If this system is in production, nobody learns that it broke from the system itself — they learn it from a customer. That is a reliability finding before it is an observability one.

Evidence
searched 2,935 tracked text files for 16 known instrumentation libraries; manifests for metrics, tracing and error-reporting families; locked dependencies for the packages that emit; 0 matched
06.2

No structured logging library is in use

adequate

Nothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.

Evidence
C source is not searched: C programs log through printf-style calls unless they take a library, and none of the 10 searched for is referenced
06.9

No error reporter is wired in

adequate

Nothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.

Evidence
no error reporter initialised
06.18

3 of 3 deployed images carry no version, or `latest`

adequate

3 images in the deployment configuration are named without a version or as `latest`. A redeploy can change the software without a commit, a rollback has nothing to roll back to, and nobody can say from the repository what is running.

Evidence
dev-tools/docker-compose.yml:7 — image without a version
docker/internal/odbc-fsi-dev/docker-compose.yml:26 — image without a version
docker/internal/odbc-fsi-dev/docker-compose.yml:34 — image without a version

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on heavyai/heavydb: every dimension, the questions for the room, and the audit log.

Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.