Skip to content

Name the MobilityDuck version functions in camelCase - #495

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:sql/version-functions-camelcase
Oct 24, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:sql/version-functions-camelcase

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

mobilityduckVersion, mobilityduckFullVersion and
mobilityduckOpenSSLVersion are the SQL names of MobilityDuck's version
functions, after MobilityDB's mobilitydbVersion and
mobilitydbFullVersion; OpenSSL keeps its spelling, as the function's C
executor MobilityduckOpenSSLVersionScalarFun spells it and as
clusterDBSCAN and asMVTGeom keep their acronyms. The C entry point
mobilityduck_version, which the DuckDB loader looks up by the
extension's name, keeps its name. The parity documents name the new
SQL names, and their table pairs them with MobilityDB's
mobilitydbVersion and mobilitydbFullVersion.

Witness: on main 3da720b the three are registered as
mobilityduck_version, mobilityduck_full_version and
mobilityduck_openssl_version, the only SQL names of the extension
spelled with an underscore beside the camelCase surface MobilityDB
declares.

Measured: the native build of the branch runs the whole suite green,
4886 assertions in 121 test cases; 022_temporal reads
mobilityduckVersion, mobilityduckFullVersion, which starts with it and
names the linked MEOS, and mobilityduckOpenSSLVersion('x').

Why: a SQL name of the MobilityDB ecosystem is camelCase, with no
underscore.

mobilityduckVersion, mobilityduckFullVersion and
mobilityduckOpenSSLVersion are the SQL names of MobilityDuck's version
functions, after MobilityDB's mobilitydbVersion and
mobilitydbFullVersion; OpenSSL keeps its spelling, as the function's C
executor MobilityduckOpenSSLVersionScalarFun spells it and as
clusterDBSCAN and asMVTGeom keep their acronyms. The C entry point
mobilityduck_version, which the DuckDB loader looks up by the
extension's name, keeps its name. The parity documents name the new
SQL names, and their table pairs them with MobilityDB's
mobilitydbVersion and mobilitydbFullVersion.

Witness: on main 3da720b the three are registered as
mobilityduck_version, mobilityduck_full_version and
mobilityduck_openssl_version, the only SQL names of the extension
spelled with an underscore beside the camelCase surface MobilityDB
declares.

Measured: the native build of the branch runs the whole suite green,
4886 assertions in 121 test cases; 022_temporal reads
mobilityduckVersion, mobilityduckFullVersion, which starts with it and
names the linked MEOS, and mobilityduckOpenSSLVersion('x').

Why: a SQL name of the MobilityDB ecosystem is camelCase, with no
underscore.
@estebanzimanyi
estebanzimanyi merged commit 4a43da8 into MobilityDB:main Oct 24, 2026
9 checks passed
@estebanzimanyi
estebanzimanyi deleted the sql/version-functions-camelcase branch October 24, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant