penberg / limbo

Limbo is a work-in-progress, in-process OLTP database management system, compatible with SQLite.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistent Behavior with Aggregate Functions on Text Fields

JeanArhancet opened this issue · comments

Description:
There is a discrepancy in the behavior of aggregate functions when applied to text fields between Limbo and SQLite3.

Steps to Reproduce:

  1. Refer to the users database described in readme.md with username fields "bob" and "Alice".
  2. Execute the following aggregate functions on the username field:
Function Limbo SQLite3
max(username) panic bob
min(username) panic Alice
avg(username) panic 0.0
sum(username) bobalice 0.0
total(username) bob 0.0bobalice