beanquery icon indicating copy to clipboard operation
beanquery copied to clipboard

A customizable light-weight SQL query tool that works on tabular data, including Beancount.

Results 57 beanquery issues
Sort by recently updated
recently updated
newest added
trafficstars

**[Original report](https://bitbucket.org/blais/beancount/issue/351) by Martin Michlmayr (Bitbucket: [tbm13](https://bitbucket.org/tbm13), GitHub: [tbm](https://github.com/tbm)).** ---------------------------------------- I [posted this to the beancount list](https://groups.google.com/forum/#!topic/beancount/SGDBejEtd0I) and Martin said this isn't supported at the moment. Opening a ticket. I...

enhancement

It seems like `print` only supports `from`. What do you think of adding `where` to `print` and how hard would it be? Ledger allows this and this is a great...

enhancement
feature

The CSV table renderer goes the same column values formatting code used by the display renderer. Most of the work done by the renderers is not required for exporting to...

enhancement
shell

According to the documentation for the `query` directive https://beancount.github.io/docs/beancount_language_syntax.html#query: > Also, the date of the query is intended to be the date at which the query is intended to be...

proposal

Make the division operator handle division by zero returning `NULL` as in SQL and eventually remove the `SAFE_DIV()` function.

enhancement

**[Original report](https://bitbucket.org/blais/beancount/issue/344) by Martin Michlmayr (Bitbucket: [tbm13](https://bitbucket.org/tbm13), GitHub: [tbm](https://github.com/tbm)).** ---------------------------------------- I specify a column name via "AS foo" but then "WHERE foo" says that "foo" is an invalid column. It...

enhancement

Currently BQL uses single `'` and double `"` quotes interchangeably as string delimiters and does not have the concept of quoted identifiers. This make is impossible to have column names...

enhancement
parser
proposal
feature

Working toward the goal on making beanquery a general purpose SQL-like query language for arbitrary data and make the BQL language more regular, we need to decide what to do...

proposal

SELECT YEAR, SUM(position) WHERE account ~ '^Income' GROUP BY YEAR ORDER BY YEAR Unfortunately, the financial year is not the calendar year. It would be nice for BQL to somehow...

enhancement

This should work: beancount> select account, sum(position) where currency = 'IRAUSD' group by account order by type; ERROR: All non-aggregates must be covered by GROUP-BY clause in aggregate query.

enhancement
question